What Are Automations?
Automations are configurable workflows that:- Trigger on a platform event, or on a schedule
- Filter with a condition and an execution policy, so only the events you care about start a run
- Execute actions like sending an email, retrying a payment, or writing to your CRM
- Branch and wait with condition and delay steps
Key Concepts
Triggers
A trigger defines when an automation runs. There are two trigger types:
Every trigger can carry an optional condition and an execution policy that decides whether a matching event actually starts a run.
Conditions
Conditions filter whether work happens. They are written in the expr expression language and appear in two places: on the trigger, and on the paths leaving a condition step.Actions
Actions are the operations performed — sending an email, retrying an invoice payment, creating a quote, writing a CRM record. The action list is a closed set of twenty-six actions; you cannot add custom ones.Steps
Steps are the building blocks of a workflow:
The builder currently offers action, condition, and delay steps.
Supported Triggers
Twelve event types can start an automation.
Schedule triggers run on a calendar schedule — hourly, daily, weekly, monthly or yearly at a chosen time — or on a fixed interval. Automations do not accept cron expressions.
See Triggers for each event’s data, and the reference for the full payload of every event type.
Available Actions
See Actions for what each one does and the reference for every parameter.
Creating Automations
Step 1: Create the Automation
- Navigate to Automations
- Click Create Automation
- Choose how to start:
- From Template: start from a pre-built template
- From Scratch: build a custom automation
Step 2: Configure the Trigger
- Select the trigger type:
- Event: runs when something happens, e.g. a payment fails
- Schedule: runs on a calendar schedule
- For an event trigger, choose the event type
- Optionally add a condition to narrow which events start a run
- Choose an execution policy:
- Execute every time — run whenever the trigger fires and its condition passes
- Execute only once per unique value — pick a field from the event, and run only the first time each value is seen
Step 3: Add Steps
- Click to add a step on the canvas
- Choose the step type:
- Action: pick an action and fill in its inputs
- Delay: wait a duration before the next step
- Condition: split the flow into branches, each with its own condition
- Fill in action inputs. Any input can be a literal value or a reference to earlier data, inserted from the variable picker
Step 4: Test and Activate
- Use Test to run the automation against sample trigger data
- Review the result of each step
- Activate the version when it looks right
Example: Payment Dunning Workflow
- Trigger:
payment_failed, execution policy once perinvoiceId - Action:
send_billing_info_requestso the customer can update their payment method - Delay: 3 days
- Action:
get_invoiceto read the invoice’s current state - Condition: continue only when
{{get_invoice_step.outputs.amountDue}}is still greater than zero - Action:
retry_invoice_payment - Activate
Referencing Data Between Steps
Action inputs and path conditions can reference the trigger’s event data and any earlier step’s outputs:Managing Automations
View Executions
- Navigate to Automations and open an automation
- Open its executions
- Each run shows its trigger input, every step that ran, and any errors
- Open a run to see the step-by-step log
Pause/Resume
Deactivating an automation stops it from triggering. Its history is preserved and it can be reactivated later.Version History
An automation holds a series of versions. Only one is active at a time, and editing an active automation creates a new draft rather than changing the running version.Automation Templates
Every organization starts with a library of templates covering the most common workflows:
A further set of CRM templates covers Salesforce and HubSpot: creating a quote when an opportunity enters a stage, closing the opportunity as won on signature, creating a renewal opportunity, voiding open quotes when a deal is lost, and cancelling a renewal when a renewal opportunity is lost.
Versioning
Automations support versioning for safe updates:
The automation itself is
draft, active, or archived.
Version Workflow
Execution Tracking
Monitor automation runs from the automation’s execution view:- Execution status
- Trigger input data
- Step-by-step execution log
- Error messages, and the outcome
reasonwhen an action deliberately wrote nothing
Failure Handling
There is no per-step retry or fallback configuration to set up. Invalid inputs fail a step permanently; transient execution failures are retried automatically by the workflow engine. To react to an action’s result, read its outputs in a following condition step.Best Practices
Start Simple
Begin with single-step automations, then add complexity.
Test Thoroughly
Use draft versions and test runs before activating.
Use Once-Per-Value
Set an execution policy of once per invoice or account so customers aren’t contacted repeatedly.
Monitor Executions
Regularly review execution logs for failures and skip reasons.
Use Cases
Dunning Management
Automate payment recovery:- Trigger on
payment_failed, once per invoice - Send a billing info request so the customer can fix their payment method
- Wait a few days
- Look the invoice up again and check whether anything is still due
- Retry the payment
- Escalate with an invoice reminder if it is still unpaid
Renewal Motion
Get ahead of renewals:- Trigger on
subscription_renewal_window_entered - Notify the customer that the subscription is about to renew
- Create the renewal quote, and a linked CRM opportunity so the deal is in the pipeline
Usage Alerts
Monitor and alert on prepaid usage:- Trigger on
prepaid_usage_updatewith the conditionusagePercentage >= 0.8 - Set the execution policy to once per
accountIdso the customer is alerted once per commitment period - Email the customer that they are approaching their limit
Next Steps
Triggers
Learn about trigger configuration.
Actions
Explore available actions.
Conditions
Master conditional logic.
Reference
Every trigger, action and parameter.