Automations
Rules that act on tickets when they are created, updated or replied to, with conditions on team, brand, widget and the address written to.
An automation is a rule: when something happens to a ticket and every condition matches, its actions run in order. Use automations to route, label, prioritize and acknowledge tickets without anyone touching them. Managing automations needs the admin role; open Settings, Automations, in the Inbox group.
- New automation: create a rule.
- A rule: its name, and a summary of its trigger, conditions and actions. Click it to edit.
- Runs and switch: how many times it has run, and whether it is on.
- Paused: a rule that is switched off. It keeps its settings and does not run.
Automations run in order, top to bottom. Drag a rule to move it.
Build an automation
Section titled “Build an automation”Click New automation and name it
A name that says what the rule does, like “Escalate SSO outages”, makes the list easy to read.
Choose when it runs
Under When, pick the trigger.
Trigger Runs when A ticket is created A new ticket arrives on any channel. The customer replies The customer sends a new message on a ticket. An agent replies An agent sends a reply. A ticket is updated A ticket’s fields change, such as its status, priority or team. A call ends A phone call on the ticket ended, with conditions on the call’s outcome, direction, time, line and labels. See Phone calls with Aircall and with Voys. Add conditions
Under If all of these match, click Add condition, pick a field, how to compare it, and a value. Every condition must match. A rule with no conditions runs every time its trigger fires.
Besides the ticket’s text and sender, a condition can check where a ticket came from and who owns it: the Address written to, the Team, the Brand and the Chat widget.
Add actions
Under Then, click Add action for each thing the rule should do. They run in the order listed.
Save and switch it on
Save the rule. The switch at the top turns it on or off; the count under its name shows how many times it has run.
Conditions
Section titled “Conditions”| Field | What it checks |
|---|---|
| Subject, Message text | The ticket’s subject, or the text of the message. |
| Sender email | The sender’s address. |
| Channel | Email, chat, API or portal. |
| Mailbox | The mailbox the ticket arrived on. |
| Address written to | The exact address the first email was sent to, such as an alias like refunds@. is, is not, contains, contains any of or contains none of, ignoring case. |
| Team | The ticket’s team, or no team. |
| Brand | The ticket’s brand. |
| Chat widget | The chat widget the conversation started on, or none. |
| Priority, Severity, Status | Current values. Severity can be “No severity”. |
| Tag | A label on the ticket. |
| Sentiment | What triage recorded: positive, neutral, negative or frustrated. |
| Ask Ollie a yes/no question | A question Ollie answers about the ticket. See below. |
| Ticket and contact fields | A custom field of the ticket or of its contact. |
Text fields compare with contains, doesn’t contain, contains any of, contains none of, is and is not. Contains any of and contains none of take a list of phrases, one per line (up to 100), and match when the text holds at least one of them, or none of them. Custom fields use the comparisons of their type, like is at least for a number, is any of for a select, and is set or is empty.
Actions
Section titled “Actions”| Action | What it does |
|---|---|
| Set status to, Set priority to, Set severity to | Changes the value. Severity can be cleared. |
| Assign to | Assigns a member. |
| Assign to the agent who replied | Assigns the agent whose reply started the run, on An agent replies. With the condition Assignee is Unassigned, whoever answers a ticket first takes it. Skipped when no agent wrote the message: a customer’s message, an automation’s, the API’s or the AI agent’s reply. |
| Assign to team | Moves the ticket to a team, recorded as routed by an automation. An unassigned ticket is then assigned within that team. |
| Set reply address | Picks the address replies go out from. It must be an address of the ticket’s brand; otherwise, or when the address was removed, the action is skipped. |
| Add tag, Remove tag | Adds or removes a label. In a group of one label at a time, adding one replaces the group’s other label. |
| Set field | Fills in a ticket custom field. Leave it empty to clear the field. |
| Send a reply | Sends a reply to the customer. It takes variables, with no agent. See Automatic replies. |
| Add an internal note | Adds a note only the team sees. |
| Mark as spam | Moves the ticket to Spam. |
| Delete ticket | Deletes the ticket, as Delete ticket in its menu does. Nothing else runs on it: not the automation’s other steps, the automations after it, auto-assignment or notifications. For mail you never want to keep, such as form notifications. |
| Merge into the contact’s open ticket | On A ticket is created only. Merges the new ticket into the same contact’s latest open, pending or on hold ticket, within a number of days and, as an option, with the same subject. See Merge follow-ups. |
| Run AI triage | Runs triage on the ticket: one AI call, charged to the AI balance on Cloud. |
| Ollie runs a procedure | Ollie works the ticket by one of your procedures, a moment later: internal notes, labels, a higher priority or severity, and connected tools set to run without asking. It never replies to the customer. Not on A ticket is updated. See Have Ollie create a Linear issue. |
Automatic replies
Section titled “Automatic replies”
Automatic replies
Section titled “Automatic replies”A Send a reply action is careful not to start mail loops or answer machines:
- It goes out marked as an automatic message, so other systems do not reply to it.
- It is skipped for automatic, bulk or list mail, mail that asks for no automatic answers, mail from a no-reply address or from one of your own addresses, and mail that failed sender checks.
- It is sent at most 3 times per ticket, and 10 times per customer an hour.
Merge follow-ups
Section titled “Merge follow-ups”
Merge follow-ups
Section titled “Merge follow-ups”A customer who writes again in a new email, rather than replying in the thread, opens a second ticket. Merge into the contact’s open ticket joins it to the one already being worked on, as Merge into another ticket does: its messages and side conversations move, its labels are added, and both timelines say which automation merged them.
- It applies to email tickets, and merges into the contact’s most recent other email ticket that is open, pending or on hold, of the same brand, created or replied on within the days you choose (1 to 30, 7 by default).
- With Same subject only (on by default), the subjects must match once
Re:,Fwd:,AW:,TR:and ticket numbers like[#123]are left out, ignoring case. A ticket without a subject matches none. - A merge never changes who sees a message: both tickets are of the same team, or neither is in a private team.
- Tickets without a contact, tickets your team started and mail that failed sender checks are never merged.
- The ticket merged into opens again if it was pending or on hold, and its assignee is notified, as for a reply.
- Once merged, nothing else runs on the new ticket: not the automation’s other actions, the automations below it, auto-assignment or the new ticket notification. When there is nothing to merge into, the other actions run as usual.
Put it at the top of the list, so the automations above it do not act on a ticket that is about to be merged.
Ask Ollie a question
Section titled “Ask Ollie a question”
Ask Ollie a question
Section titled “Ask Ollie a question”Ask Ollie a yes/no question lets a rule depend on something only a reader can tell. Write a question, like “Is the customer at risk of churning?”, and choose whether the probability of yes must be above or below a value from 1% to 99%.
- The question is 3 to 300 characters of plain text. A rule can have at most 3.
- Ollie decides with the instance’s decision model when one is set up, else with the configured AI model.
- Every question in one run is asked together, in one call, charged once to the AI balance on Cloud. The answers are reused for the rest of the run.
- When AI is off, the AI balance is too low or the call fails, the condition does not hold and the rule does not run.
Routing rules do not answer AI questions while a ticket is routed. To route on one, use an automation on A ticket is created with this condition and Assign to team.
Examples
Section titled “Examples”
Examples
Section titled “Examples”- Urgent keywords. When a ticket is created, if Subject contains “outage”, set priority to Urgent and assign to team On call.
- Carrier and newsletter mail. When a ticket is created, if Subject contains any of “Your parcel has shipped”, “Out for delivery” and “Newsletter”, one per line, set status to Closed.
- Refund alias. When a ticket is created, if Address written to is
[email protected], assign to team Billing and add tag Refund. - Brand reply address. When a ticket is created, if Brand is Pressroom, set reply address to
[email protected]. - Chat follow up. When a ticket is created, if Chat widget is “Pricing page”, set priority to High.
- Major incidents. When a ticket is updated, if Severity is Sev 1, assign to team On call and add an internal note.
- Churn risk. When the customer replies, if Ollie thinks the customer is at risk of churning with a probability above 70%, add tag Churn risk.
- First to reply takes it. When an agent replies, if Assignee is Unassigned, assign to the agent who replied.
- Reopen on reply. When the customer replies, if Status is Pending, set status to Open.
- Follow-ups. When a ticket is created, merge into the contact’s open ticket within 7 days, same subject only.