Automations reference
The node model behind every automation, the schema it requires, and the usage limits that constrain it.
What an automation is
Automation is the process of removing human intervention and relying on machines to coordinate repetitive tasks. Triggered by user activity, an automation launches a predefined sequence of actions.
The model
An automation is composed of nodes, linked by edges - branches. A user travels from node to node along edges until the scenario is over. Depending on its type, a node has 0 or 1 edges in, and 0 to n edges out.
The families of node, plus one construct that is not a node in the flow. The Example column follows the cart abandonment scenario introduced above:
Triggers (input nodes)
Define what makes a user enter the automation. Always at the start.
React to an event on $basket_view: the user has added an item to their cart.
Exactly one per automation
Do something to or for the user travelling through: send an email, change segment membership, push to a feed, run a custom action.
A Custom action node sends the reminder to users who have not bought.
Any number
Alter the natural flow: wait, branch on a condition, split into equal proportions.
A Wait node holds the user for 2 hours, in case they complete their order.
Any number
Make a user leave the automation from wherever they are, if a condition becomes true.
An exit condition on $transaction_confirmed: a user who buys leaves the automation, whatever node they are on.
Any number
Required changes to the schema
Using automations may require changes to your schema. Your UserPoint object needs a scenarios property referring to a UserScenario object:
Schema work in general is documented in Design your data model & schema.
Usage limits
Default limits are set per organisation. They are worth reading before designing a large scenario estate, because they constrain design rather than merely runtime.
Scenarios in PAUSED or ACTIVE state
100
Per organisation
Scenarios with ACTIVE status
20
Per organisation
Nodes per scenario
20
Per scenario
Wait nodes in active scenarios
20
Per organisation
Users awoken per wait node per hour
50,000
Indicative service level objective
Where to go next
Last updated
Was this helpful?