Skip to content

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

Automation triggers
TriggerStarts a run
EventFor the contact named in each POST /events call with that event name, optionally only when the payload matches a filter.
ScheduleOnce, 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

Automation blocks
BlockDoes
IfContinues only when its rules match (all or any).
If / ElseTakes the Yes or the No path.
Set variablesNames values for later blocks.
WaitWaits for a duration (up to 365 days) or until a date and time, optionally only in business hours.
LoopRepeats its blocks for each item of a list, at most 100 times.
Send emailSends a published template to the contact.
Update contactSets properties on the contact.
SegmentAdds the contact to a segment or removes them.
WebhookCalls 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.

JSON
{
  "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-Key header so a retried request starts no second run.
  • Event names are lowercase, such as user.signed_up or trial.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.