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” finding asks for. Its primary
action in Get Account Health has
On
kind: "create_sequence". The draft
is triggered by the event, named for the moment (for example “New customer
onboarding” for saas.purchase), and lays out the timing and one titled email
step per message. 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 and
never rewrites its emails.
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
Only when
created is true. 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.