Skip to main content
RelayHub has two ways to do work again without a new request from you: a routine of a bot and an automation. Both can start on a schedule or on an event in one of your apps. The difference is what does the work. A bot does the work of a routine with its AI model. An automation runs a fixed flow of steps.

Routines

A routine is work that a bot does on a schedule or when an event arrives in one of your apps. For example: “Every weekday at 9 AM, read the new invoices and tell me what is late.” Each run of a routine is a task of the bot. The bot reads the instruction of the routine and decides the steps itself. It uses its AI model, its tools, its computer, its connections and its memory. When the situation changes, the bot changes its steps. You add a routine on the bot page: click Details, then Routines. You can also ask the bot in the chat, for example “make this a routine every weekday at 8”. The bot can also propose a routine on a card. To use Bots, you need the Agents permission. See Routines, groups and helpers.

Automations

An automation is a flow of fixed steps. In the sidebar, open the Automate group and click Automations. A flow starts with a trigger, for example a webhook, a schedule or a request from the chat. Then it runs its steps in order, for example a Slack message, a Salesforce update or a RelayHub skill. Each run of a flow does the same steps. A step can use AI, but the flow does not choose its own steps. You build a flow in the visual editor, or you describe it in plain words to the Automation Wizard. Access to Automations is on by default. An administrator can turn it off for one user. See Automations.

Differences between routines and automations

In RelayHub, a bot does the work of a routine, and a flow does the work of an automation. This table shows the differences.

When to use a routine

Use a routine when the work needs judgment. Examples:
  • The bot must read, compare or summarize, and tell you only what is important.
  • The steps can be different from one run to the next.
  • The work uses websites or desktop apps on the computer of the bot.
  • You want the report in the chat of the bot, with its memory of earlier runs.

When to use an automation

Use an automation when the steps are always the same. Examples:
  • You move data from one app to another app, for example from a form to a CRM.
  • Another system calls a webhook, and the flow must do the same steps each time.
  • You want the same result on each run, with no decision by an AI model.
When you ask a bot for recurring work, the bot makes a routine. It builds an automation only when you ask for an automation by name.

Routines and automations together

An automation can send a task to a bot. Open the settings of the bot, then Connections, then Give it tasks from another app. Copy the link and the key into the flow. The flow then starts the work, and the bot does the part that needs judgment. See Connections and saved logins.