Action steps
Actions are the core of automations. Actions can carry out updates on a table, send Slack notifications, call an external service, send emails, and much more.
Actions are the core of automations. Actions can carry out updates on a table, call to an external service, send emails, and so on. We have built our action system to be easily extensible so actions can be added to the system at any time! Your automation can have many actions, allowing you to perform many different tasks as part of a single trigger.
Below is a few examples of actions that exist today however there may be many more when you look in the builder. To get a full list install the builder and check it out!
- Create row - this will create a new row in a specified table
- Update row - can be used to update a row that was triggered upon
- Delete row - delete a specified row from a table, like something that was triggered upon
- Send email - as it suggests, send an email based on the specified inputs
- Send Discord notification - send a notification to Discord
- Slack - send a notification to Slack
- Connect to Integromat - connect to Integromat
- Connect to Zapier - connect to Zapier
- JS scripting - add JS scripts to an automation
- Query rows - query rows / records
The real power in actions is the ability to make use of outputs from previous steps; how to do this will be covered in the Contextual bindings section.
Adding logic
Sometimes it is necessary for your automation to make decisions as part of the process, for example, if you wanted to send an email to a customer when their order enters the shipped state then you would need a logical step to handle this. An automation can have as many logical steps as you require, if you wish to filter against multiple different outputs from previous steps then this can be done with multiple filters.
Currently, there are two actions that allow you to add logic to an automation
- Filter - Filtering against a specified field, with a particular operator and value to compare against
- Delay - waiting a period of milliseconds before continuing
Naming automation steps
When you have many steps in an automation, it can be difficult to keep track of the step numbers, particularly in your Bindings.
To make your automations easier to manage, you can give your steps a name, which will automatically update any bindings as well!
For example, consider this example automation:
- Step 1: Create Row
- Step 2: Log the response of step 1
The binding {{ steps.Create row.response }}
isn't very informative. We can however change the name of Step 1 to 'Add Expense' which will automatically update the binding to something more useful:
Updated 14 days ago