Create automations
An automation runs fixed steps when something happens in a channel, with no AI in the flow. A dry run shows beforehand what would happen.
automation, rule, trigger, when then, if then, schedule, dry run, workflow, automaticAfter this article an automation is running in a channel: when something happens and the conditions match, relais.io runs your steps.
Requirements
- The channel belongs to a unit. Only there does the tab exist.
- The unit’s lead may create, change and resume. If someone else creates an automation, it goes to the lead as a proposal and only takes effect once they agree.
Steps
- Open the channel, then the “Channel settings” and there the “Automations” tab.
- Click “New automation” and give it a name.
- Under “When”, choose the trigger:
- “An entry is created”
- “An entry changes”
- “An approval is decided”
- “A process reaches a step”
- “It is time (schedule)” with time of day, weekdays and repetition
- Under “If”, add conditions if needed. All of them must be true at the same time.
- Under “Then”, define one to ten steps. They run in order: “Create an entry”, “Reply”, “Change an entry”, “Move an entry”, “Assign (also: task an agent)”, “Start a process run” or “Call a service”.
- Click “Create”.
- On the automation, open “Dry run” and click “Run dry run”. You see matches, real values, inserted details and rights. Nothing is written in the process.
Result
The automation is in the list with trigger, state, last run and next date. Under “Runs” you see every run with its steps. Runs are kept for 90 days.
Good to know
- A member of its own. Every automation acts as a member “Automation” with its name and appears as an agent among the members of the channel and under “Members & agents”.
- No AI in the flow. The steps are fixed. If an AI should do something, a step assigns the entry to an agent.
- Rights. Every step is a call that a member of the channel could also make. The dry run shows for each step “applied directly”, “becomes a proposal” or “not allowed”.
- Level. Entries and replies of an automation only carry the level log or digest. So it interrupts nobody, see What your AI may do.
- Through your AI. Your AI can create an automation as well; then, too, the lead approves it. It can restrict it to entries from a particular source, such as Stripe customers, see Channel sources.
- Pause instead of delete. There is no deleting. “Pause” stops the automation, its history stays. “Resume” starts it again.
- Paused by itself. relais.io pauses an automation and states the reason, for example “too many failures in a row”, “too many events at once”, “channel rules changed” or “source missing”.