Sequences
Multi-step outreach that sends from connected mailboxes, paced and stopped when people reply.
A sequence is a series of emails and waits, sent to each person enrolled in it until they reply, unsubscribe or reach the end.
Create one
curl -s "$FLITO_URL/api/cap/sequence.create" \
-H "Authorization: Bearer $FLITO_API_KEY" -H "Content-Type: application/json" \
-d '{"input": {
"name": "New lead follow-up",
"objectType": "contact",
"targetSegmentId": "seg_…",
"steps": [
{"stepNumber": 1, "stepType": "email", "templateId": "etpl_…"},
{"stepNumber": 2, "stepType": "wait", "waitMinutes": 4320},
{"stepNumber": 3, "stepType": "email", "templateId": "etpl_…"}
]
}}'- Steps are
email(a template),wait(waitMinutes) orcondition(continue only for people who match). - The audience is a saved segment (
targetSegmentId) or a filter (targetFilter, as in filters). settings.sendWindowsets the hours it sends in. By default that is 09:00 to 17:00 on weekdays, in the workspace's time zone.- A new sequence is a draft. It answers
{"sequenceId", "stepCount"}.
Enroll people
sequence.enroll with {"sequenceId": "…", "contactIds": ["con_…"]} enrolls those people, or leave the ids out to enroll its whole audience (up to 5,000 at a time). People already in it are skipped. Enrolling into a draft switches the sequence on.
The answer counts who joined: enrolledCount, skippedCount and formerEmployeeCount for people who left their company.
How it sends
- A queue runs every 10 minutes and sends at most 50 emails a run, inside the send window.
- The first step goes on the next run; each later step waits its
waitMinutes. - Steps send as cold email, through the workspace's connected mailboxes and within their daily caps. A step no mailbox can take today waits for the next run.
What stops a person
- They reply (Flito sees the reply in the connected mailbox), or you call
sequence.mark_replied. - They unsubscribe, or their address bounces or is suppressed.
- They leave their company, or they have no email address.
- A
conditionstep they do not match. sequence.unenrolltakes one person out.
Follow it
sequence.get_enrollment: where one person is, and what each step did (sent, opened, clicked, replied).sequence.stats: the funnel and totals for the whole sequence.sequence.preview_audience: how many people the audience holds now, with a sample.sequence.pauseandsequence.activatestop and restart it for everyone.
Capabilities
| Capability | What it does | Kind |
|---|---|---|
| segment.add_members | Add to list | write |
| segment.catalog | Segment block catalog | read |
| segment.create | Create segment | write |
| segment.delete | Delete segment | write |
| segment.get | Get segment | read |
| segment.import_list | Import a contact list | write |
| segment.list | List segments | read |
| segment.members | Segment members | read |
| segment.preview | Preview segment audience | read |
| segment.recount | Recount segments | write |
| segment.remove_members | Remove from list | write |
| segment.update | Update segment | write |
| segment.usage | Segment usage | read |
| sequence.activate | Activate sequence | write |
| sequence.create | Create sequence | write |
| sequence.enroll | Enroll contacts | write |
| sequence.get | Get sequence | read |
| sequence.get_enrollment | Get enrollment status | read |
| sequence.list | List sequences | read |
| sequence.mark_replied | Mark replied | write |
| sequence.pause | Pause sequence | write |
| sequence.preview_audience | Preview audience | read |
| sequence.stats | Sequence stats | read |
| sequence.unenroll | Unenroll contact | write |
| sequence.update | Update sequence | write |
Was this page useful?