Account Health
Build Account Health Fix
Build the draft sequence a finding asks for
POST
Build Account Health Fix
Build the sequence an “event without a sequence” (
On
unhandled_event) or
“missing sequence” (missing_sequence) finding asks for. Its primary action in
Get Account Health has kind: "create_sequence". An
unhandled_event draft is triggered by the event and named for the moment (for
example “New customer onboarding” for saas.purchase; drafts the weekly check
lays out itself are named and planned for your business). A missing_sequence
draft uses the name, trigger and steps in the finding’s evidence: it starts
when a contact is added, on an event, or by manual enrollment (enroll the
subscribers it is for from the sequence’s Enroll screen). Either way the draft
lays out the timing and one titled email step per message, and like a sequence
from a template, its emails are then written with AI.
The sequence stays inactive. Review the emails, then turn it on with
Enable Sequence, which refuses while a step has no
email. Calling this again returns the same draft with created: false. If some
of its email steps still have no email, for example a draft the weekly check
laid out that nobody has opened yet, those steps are written; emails that
already exist are never rewritten.
Other findings act through existing endpoints listed in each action’s api,
such as POST /sequences/{id}/disable to pause a sequence.
Requires the sequences:write scope.
Request
Path
string
required
The insight ID.
Response fields
string
The draft sequence.
boolean
false when a draft for this insight already existed.string
When
created is true, or when an existing draft still had unwritten email
steps. Absent when every email already exists. processing while AI writes the emails; poll
Get Sequence for progress. not_queued means the draft
exists but writing could not start: open it in the dashboard to write the
emails, and do not build it again.409, retry after a few seconds; the first request’s draft is returned.