Automation Rules

Automation Rules in Memento Database are powerful tools that allow you to perform various actions with your data automatically. They help streamline your work by executing predefined tasks based on specific conditions, saving you time and reducing manual effort.

Think of Automation Rules as your personal assistant that works behind the scenes to keep your database organized and efficient.

Automation Rules function similarly to scripts, but their creation doesn’t require any programming skills—they’re essentially a no code tool. You can build sophisticated automations through an intuitive interface. For advanced users, Memento also offers the ability to convert rules into scripts, which you can further customize and extend according to your specific needs.

Benefits of Using Automation Rules

  • Save time by automating repetitive tasks
  • Reduce errors that might occur with manual data entry
  • Enhance functionality of your database beyond basic storage
  • Maintain consistency across your entries
  • Create sophisticated workflows without programming knowledge

How to Create Automation Rules

Creating triggers and actions with rules is straightforward:

  1. Open the library where you want to add automation
  2. Tap the menu button and select Automations
  3. Go to the Rules tab
  4. Tap the + button to add a new rule
  5. From here, you can configure your triggers or actions and add specific rules to them
  1. Open the library where you want to add automation.
  2. From the Menu, go to Edit > Automation.
  3. Click the Rule button.
  4. Select a trigger or an action.
  5. Configure the event for the trigger or the execution settings for the action.

 

Types and Functions of Automation Rules

Automation Rules in Memento Database come in two main types:

  1. Triggers – These rules activate automatically when specific events occur (like creating a new entry)
  2. Actions – These rules are executed manually when a user taps a button or a menu item.

Each trigger or action can contain multiple rules, giving you flexibility to create complex automation sequences.

Basic Structure of a Rule

Every Automation Rule consists of:

  • Name – A descriptive title for the rule
  • Condition – Criteria that must be met for the rule to execute
  • Execution mode – How the rule processes entries (once, in a loop for each entry, or on demand)
  • Tasks – Specific actions that will be performed when conditions are met

Examples of tasks include writing values to fields, creating new entries, deleting entries, displaying messages, sending emails, and more.

How to Use Automation Rules in Practice

Understanding Automation Rules might seem complex at first, but they’re quite intuitive once you start using them. Here are some practical examples:

Example 1: Automatic Due Date Reminder

Imagine you have a library (table) of tasks. You could create a trigger rule that activates whenever a due date is approaching. The rule checks if the due date is within 2 days of the current date, and if true, it automatically sets a “Priority” field to “High” and sends you an email reminder.

Example 2: Categorizing Entries

For a financial tracker, you could create a rule that automatically categorizes expenses. When a new expense entry is created, the rule could examine the description field for keywords like “grocery,” “restaurant,” or “utility,” and automatically assign the appropriate category without manual input.

Example 3: Inventory Management

In a product inventory library, you could create a trigger rule that monitors stock levels. When an item’s quantity drops below 10, the rule automatically sends an email to reorder more supplies. Additionally, you could set up another rule that displays a warning message to users whenever they access a product that’s completely out of stock, helping prevent sales of unavailable items.

Summary

Automation Rules transform Memento Database from a simple data storage tool into a dynamic system that can respond to changes, perform calculations, and assist with data management. They eliminate repetitive tasks and help ensure data consistency across your entries.

Start with simple rules to understand how they work, then gradually build more complex automations as you become comfortable with the feature. Don’t be afraid to experiment—you can always modify or delete rules that don’t work as expected.

By mastering Automation Rules, you’ll unlock the full potential of Memento Database and create a system that works exactly the way you need it to.

Was this article helpful?

Related Articles