Account Health

Build account health fix

Changed on

Builds the draft sequence an "event without a sequence" (unhandled_event) or "missing sequence" (missing_sequence) finding asks for, with its trigger, timing and titled email steps, then writes the emails with AI like a sequence from a template. An unhandled_event draft is triggered by its event; a missing_sequence draft uses the trigger and steps in the finding's evidence (new contacts, an event, or manual enrollment). It stays inactive until you enable it. Calling it again returns the existing draft with created false; email steps that still have no email (for example a draft the weekly check laid out that nobody opened yet) are written then, and existing emails are never rewritten. Requires the sequences:write scope.

post/account-health/insights/{insightId}/fix

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • URL
    https://api.sequenzy.com/api/v1/account-health/insights/{insightId}/fix
  • Auth
    HTTP bearer

Path parameters

insightIdstring required

Response

A draft already existed and is returned

successboolean
sequenceIdstring
createdboolean

False when an existing draft was returned.

enrichmentStatus'processing' | 'not_queued'

When created is true, or when an existing draft still had email steps without an email (absent once every email 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.

Changes