Grow
Automations
Flows that start from an event or a schedule: wait, branch, send and update contacts.
Automations are flows that run for one contact at a time: a welcome series, a trial reminder, a re-engagement nudge. Build them in Automations on a canvas of blocks, publish them, and start them from your app with events or on a schedule.
Triggers
| Trigger | Starts a run |
|---|---|
| Event | For the contact named in each POST /events call with that event name, optionally only when the payload matches a filter. |
| Schedule | Once, daily, weekly or monthly at a time in a time zone: one run for each subscribed contact, or for each member of a chosen segment. |
Blocks
| Block | Does |
|---|---|
| If | Continues only when its rules match (all or any). |
| If / Else | Takes the Yes or the No path. |
| Set variables | Names values for later blocks. |
| Wait | Waits for a duration (up to 365 days) or until a date and time, optionally only in business hours. |
| Loop | Repeats its blocks for each item of a list, at most 100 times. |
| Send email | Sends a published template to the contact. |
| Update contact | Sets properties on the contact. |
| Segment | Adds the contact to a segment or removes them. |
| Webhook | Calls a URL of yours, with the method, headers and body you set. |
Start a run from your app
Send an event when something happens to a contact. Name the contact by contact_id or email; an unknown email becomes a new contact. The payload (a JSON object up to 16 KB) is available to blocks as trigger.data.
curl -X POST https://isent.dev/api/v1/events \
-H "Authorization: Bearer $ISENT_API_KEY" \
-H "Idempotency-Key: signup-maya-studio" \
-H "Content-Type: application/json" \
-d '{
"event": "user.signed_up",
"email": "maya@studio.design",
"payload": {
"first_name": "Maya",
"plan": "trial"
}
}'isent answers 202 with the runs it started. A run that reached a Wait block reports waiting; it resumes when the wait is over.
{
"object": "event",
"event": "user.signed_up",
"contact_id": "ct_4Fh8Lw2QpZ",
"runs": [
{
"object": "automation_run",
"id": "run_9Qm2",
"automation_id": "auto_welcome",
"status": "waiting"
}
]
}- Send an
Idempotency-Keyheader so a retried request starts no second run. - Event names are lowercase, such as
user.signed_uportrial.ending. - Events need a full-access key.
Versions
Publishing makes the current draft live for new runs. Contacts already in a run finish on the version they started on, so you can edit a live flow safely.
Limits and pricing
- A flow has at most 100 blocks, and one run walks at most 500 blocks before it waits.
- 10,000 runs a month free, then $0.001 a run. Each run counts once, when it starts.