Guide

Automate follow-ups with events.

When a ticket is opened, a deal is won or an invoice goes overdue, an automation can create the task or note you would have made by hand, send an email, post to Slack or update the client. Each one starts from an event, runs as its owner and only ever does what that person is allowed to do. This guide covers what automations can do today and what is not built yet.

01Before you start

An automation does one small job for you each time something happens in Revvly. It reads like a sentence: when a ticket is opened, create a task. Three things need to be in place. Your workspace needs the Automations feature, which Revvly turns on for you; without it the Automations item does not appear. You need permission to see them, and to create or change one you must be a workspace admin or owner. And the person who owns an automation must be able to do everything its steps do, because every run acts as its owner and never goes beyond what they can do themselves. This guide covers what automations can do today. The last section lists what is not built yet.

Where
  1. Workspace
  2. Automations

It sits in the Workspace section of the sidebar, above Library.

Feature Automations (switched on by a Revvly platform admin).

Permission automation.rule.view, held by everyone in the workspace. Members see the automations they own.

02Create an automation

Press New automation. You can start from a template or from a blank one. The template picker can be filtered by area and searched. Templates include Follow up on a new ticket, Note when a ticket closes, Chase an overdue invoice, Note when a deal is won, Check in before a trial ends, Create a deal when a demo is booked, Onboarding playbook and Nudge someone who has not done the key step. Every template is a starting point you can change. An automation also has a kind: a rule (the default), a playbook, or a nudge, described in the sections below. "Automate" in a deal’s panel and a ticket’s header, "Automation" in a client’s New menu, the Automate link under an invoice’s title, in a pipeline’s settings panel, in a form’s More actions menu and in a contract’s page header, open a new automation with that place already filled in (a form or a contract fills in no event, because nothing announces one yet); the place is shown in the list and limits nothing the automation does. The automation’s page links back to the invoice, pipeline, form, contract, client or deal it was made from. A client’s Overview also shows what is running on it, with the next step and its date. You can also ask the Revvly Assistant to build one from a sentence, such as “when an invoice becomes overdue, create a task for me”: it shows the steps on a card for you to confirm and makes a draft, owned by you, and turning it on is a second card. A new automation is a draft. A draft does nothing until you turn it on, so you can build it and come back to it. The list shows each automation with its status, supports search, and shows an alert at the top when any of them is paused.

Where
  1. Automations
  2. New automation

Feature Automations (switched on by a Revvly platform admin).

Permission automation.rule.manage, held by admins and owners.

03Choose what starts it

Every automation starts from one event. These are the events that can start one today. For tickets: a ticket is opened, a ticket is closed, a ticket’s priority changes, and the AI hands a ticket over. For deals: a deal is created, moves to another stage, is won, or is lost. For invoices: an invoice is issued, is paid, becomes overdue, or a payment is reversed. For subscriptions: a subscription is created, a cancellation is requested, a subscription ends, a trial starts, a trial becomes a paid subscription, a trial ends (whether it became paid or ran out still waiting for a card; it is dated at the trial’s end, and a trial ends only once), a trial is about to end (you choose how many days before the end it starts, from 1 to 30; the default is 3), and a subscription is ending soon (you choose how long before its current billing period closes it starts: 7, 14, 30, 60, 90, 120 or 180 days, default 30; you can limit it to monthly, quarterly or yearly subscriptions and to ones that will renew or will not; it covers active subscriptions and cancelled ones still in service, never a trial that did not convert, and a subscription Stripe still bills). Each notice length is announced once per term, so a subscription already inside a window when you set it up does not get the earlier lengths. For meetings: a meeting is booked, optionally only for the meeting types you choose in Only for these meeting types (leave it empty for every type). The list shows every member’s meeting types and every team type, so you can choose one you do not own. A booking starts an automation only when the guest’s email matches a client or one of its contacts, because the steps act on that client; a guest no client owns starts nothing. Other starts: a client moves to a customer-success status, a conversation starts in the Support chat, and a person is added as a Support end user (used by nudges). An automation can also start when something does not follow: when one event happened and another did not follow for the same record within a window of 1 hour to 90 days, for example an invoice issued and not paid in 7 days. Choose When something does not follow in the step editor. It is checked every few minutes, only for what happens while the automation is on, and the owner must be able to see the event it waits for. An invoice that owes nothing counts as followed. An automation can also start on a schedule, every day, week or month at a time you choose in a time zone you choose; it runs once per slot and keeps its clock across daylight-saving changes. The editor only offers events you are allowed to see, and only events that something in Revvly actually announces. An event carries who and what it is about, never the text of a ticket or an amount of money; a step reads those when it runs, under the owner’s access.

04Add steps

Open the automation and edit its draft as a trigger followed by a line of steps. Create a task makes a task about the client or deal the event was about, with a title, an optional due date counted in days from now (0 to 365), a priority and who it is assigned to: the automation’s owner (the default), a person you pick, the deal’s owner, the client’s account owner, the client’s customer-success manager, or no one. When the person is missing or has left, the task goes to the owner. Add a note writes a note on that client or deal. Send an email writes to workspace members you choose (the owner if you choose nobody), or to the client the event was about, from the owner’s own connected mailbox, to its primary contacts or all of them; a contact who unsubscribed or bounced is never written to, and a step with no connected mailbox or no recipient fails instead of sending from another address. An email is Simple text or Designed (HTML). A designed email is built from blocks (a heading, text, an image, a button, a divider and spacing) under a header, with a Preview beside it, or edited as HTML; an image can be uploaded (PNG, JPEG or GIF, up to 5 MB) or taken from its address on a public site. Scripts and forms are removed from a designed email before it is sent. Every email to a client’s contacts ends with a short footer carrying that contact’s own unsubscribe link; once it is used, nothing more is sent to that address from any client in your workspace, so the later emails of a sequence stop. Post to Slack posts to a channel you pick or sends the owner a direct message, and building one needs permission to manage the Slack integration. Update the client can start a free trial on the day of the meeting that triggered the run (or on the day the step runs) for the number of days you set, and add or remove tags; it only sets the trial and never bills it. Create a deal and Update a deal act on a deal; a deal created from a booking uses the guest’s contact first, then the client at the guest’s company domain, and a new prospect only when none is found, never a company name the guest typed. A step can act on a record an earlier step made (for example "the deal from step 2"). Wait pauses the run for the time you set before the next step; set Counted to From when the trigger happened and waits do not add up, so a wait of 3 days and a later one of 10 days send on day 3 and day 10; a Wait can instead wait for an outcome, such as a deal being won or an invoice being paid for the same client or deal, with a time limit from 1 hour to 90 days, and the run takes the limit exit if nothing happens. Any step can be set to ask the owner to approve it before it runs, and Move the client’s customer-success status is only ever proposed this way: a person approves each one from the automation’s proposals, the owner is told in the bell, and a proposal nobody answers lapses after 14 days. If, otherwise sends the run down one of two paths depending on a condition. A condition can read a live fact: Usage used, % of included checks how much of a usage meter’s included units the client has used (for example, seats used under 50%), under the owner’s access to usage readings; if the client has no such meter the condition does not hold. Ask in the chat (buttons) puts a question with up to six buttons to the customer in the Support chat and waits for the answer; each button is its own path, with an optional time limit and an If nobody answers path, and typing a reply can also answer it. Send a message in the chat posts a plain message to the customer. The widget shows the buttons from version 1.4.0. Only continue if checks a condition on the event, and when it is not true the run stops there and nothing further happens. Text you type in a step, including the subject and body of an email or a Slack message, is fixed text written by you; it never contains anything from the customer or the event. Beside the canvas, Preview as the customer shows the Support chat following one path of a draft so you can press the buttons yourself, and Try on past events runs the draft over the last 30 days of events and shows what it would have done without doing anything. Press Edit on canvas to draw the same draft as cards joined by lines, add steps, and wire each path, including by dragging the end of a line onto another step or with the settings under a step; the canvas edits the draft and turns nothing on. Press Save draft. If something is wrong, the editor lists each problem and the draft is still saved so you can fix it later. If an automation was built with branches or other steps the editor cannot show without changing them, it opens read-only as a list of paths instead of being rewritten.

Where
  1. Automations
  2. Open an automation

The step editor is on the automation’s page while it is a draft.

Feature Automations (switched on by a Revvly platform admin).

Permission automation.rule.manage, held by admins and owners. Each step also needs the permission of what it does.

05Turn it on

Turn on checks the draft and publishes it as a version. A draft with errors is refused, and the reasons are shown. It is also refused when its owner could not run one of the steps, because the first run would stop at that step. An automation only acts on what happens while it is on. Events from before you turned it on, or from while it was off or paused, never start a run and are not replayed later. Turn off stops new runs, and also cancels runs that are queued, waiting or held. When you edit a running automation, the live version keeps running until you press Publish changes. Versions lists every version that went live, and old versions are kept. Delete, in the More actions menu, removes an automation and its versions once you confirm. It needs the right to edit the automation, and the right to turn it off when it is on. Runs that had not finished are cancelled; what earlier runs did stays done.

Where
  1. Automations
  2. Open an automation
  3. Turn on

Feature Automations (switched on by a Revvly platform admin).

Permission automation.rule.activate, held by admins and owners.

06Read the run log

Each event starts one run, and an event that is delivered twice still starts only one. The run log on the automation’s page shows each run, the steps it took, and the reason it ended, in plain words, for example that the client was outside what the owner can reach, or that a deal has no client to attach a task to. A run that is queued, waiting or held can be cancelled from the log by someone with permission to manage runs. A run that is already running cannot be cancelled. Every cancellation is recorded in the audit log.

07What happens when access changes

A run acts as the automation’s owner. Before each step it checks that the owner is still an active member and still allowed to do it. When the record is simply outside what the owner can reach, that run is skipped and the automation stays on. When the workspace is read-only, or the feature has been switched off, the run is held and tried again later. When the owner has left or lost a permission a step needs, the whole automation pauses, and the owner and your workspace’s admins get a notification in the bell. Turn it on again once access is fixed. Runs held in the last week then carry on from the step they stopped at; older ones are cancelled, so a task is never created weeks late.

08Variables in a step’s text

A task title or description, a note, an email subject or body and a Slack message can name variables, such as Check in with {{client.name}} or Hi {{contact.first_name|there}}. The value is read when the step runs, under the owner’s access, so nothing sensitive is stored in the event. The editor lists the variables and shows which ones the trigger can fill. Available: client.name, contact.name, contact.first_name, contact.last_name and contact.email (the client’s primary contact), deal.name, and subscription.plan, subscription.end_date and subscription.period (only when the trigger is about a subscription). There is no money variable. After a bar you can type a fallback used when the value is empty; with no fallback the step fails and says which variable was empty, rather than sending “Hi ,”. Saving or turning on is refused when a variable is unknown, or the trigger cannot supply it, or the owner lacks permission to read it.

09Limits that keep it safe

An automation that starts more than 100 runs in an hour is paused, and the owner and admins are told. Turning it back on starts a fresh hour. An automation never starts from something another automation did, and a chain of automations stops before it can loop. A graph can have at most 50 nodes, the trigger included. A step that creates a task or a note is safe to repeat, so a run that is retried after a failure never makes a second one.

10Playbooks and nudges

A playbook is an automation for a customer-success journey, such as the Onboarding playbook: a kickoff task, a wait, a check-in task, a wait, then a proposed status move. It starts when a client moves to a status you choose. Editing a playbook applies to runs that start afterwards; a run already under way finishes on the version it started on, and the page says how many are still on an older one. A nudge emails a person who uses your product through Revvly Support, for example someone who has not done a key step a few days after they were added. It waits, checks how many times that person did an event you name, and sends one email from your Support sender. A person is nudged at most once per nudge, every message carries its own unsubscribe, and a count of how many people it could still reach is shown while you build it. Because a nudge reaches customers, building one needs the permission automation.widget.manage.

11What is not built yet

Today the actions are Create a task, Add a note, Send an email, Post to Slack, Update the client, Create a deal, Update a deal, Move the client’s customer-success status, Ask in the chat, Send a message in the chat and, for nudges, the nudge email. Events that nothing announces yet, such as a client being created or a form being submitted, are not offered as triggers. This page will change as they arrive.