Skip to main content
POST
Create Sequence from Example
Clone a public sequence from the Sequenzy email gallery into a draft sequence for your company, the same as Clone this sequence in the dashboard. The draft keeps the example’s trigger family and send timing, up to 12 emails. AI then writes every email in your brand in the background, usually within 30 to 60 seconds. Poll Get Sequence until enrichmentStatus is complete; it reports pending until the first email is written, then in_progress. The sequence sends nothing until you enable it. Every successful call creates another sequence, so do not retry after a success. Requires the sequences:write scope.

Triggers and timing

Waits follow the real gaps between the example’s emails: gaps under a day stay in hours, with at least one hour between emails, and longer gaps round to whole days. Onboarding waits for the day the first email arrived after signup. The other types start at their trigger: cart recovery waits one hour before its first email, and post-purchase and re-engagement send their first email right away. You can change the trigger and waits in the builder before enabling.

Request

Identify the example with url, or with brand and sequence. Sending both returns 400.
string
Gallery sequence page URL, such as https://sequenzy.com/email-examples/brands/linear/sequences/onboarding. An email URL returns 400.
string
Gallery brand slug. Use with sequence.
string
Gallery sequence slug, from /sequences/{sequence}. Use with brand.
string
Optional direction applied to every email, up to 1000 characters. It takes priority over the example.
string
Sequence name, up to 200 characters. Defaults to the sequence type, such as “Onboarding sequence”.
string
visual or plain. Defaults to your company’s email style preference.

Response

object
The draft: id, name, status (draft), trigger, triggerDescription, eventName or tagName when the trigger uses one, stopCondition (the exit rule the sequence was created with, when it has one), emailCount, enrichmentStatus (processing, or not_queued when writing could not start) and steps. Each step has stepNumber, title, delayMs (the wait before it) and originalDay.
object
The gallery sequence: brand, name, url and omittedEmailCount, the number of emails beyond the 12-step limit that were not cloned.
A 404 with code EMAIL_GALLERY_UNAVAILABLE means the email gallery is not available yet. A 422 means a field failed validation, such as a brief over 1000 characters or an unknown emailStyle. If the draft is created but writing its emails cannot start, the response still succeeds, with enrichmentStatus: "not_queued" and a warnings entry. Open the sequence in the dashboard to write the emails instead of calling this endpoint again, which would create a second sequence.