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: the first 12, or the ones you choose with stepNumbers. 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, and every email you clone keeps its original timing from the trigger, even when you leave out the ones before it: 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”.
integer[]
Which of the example’s emails to clone, as 1-based positions in the gallery sequence (its Email 1, Email 2 and so on). These are positions in the example, not the stepNumber of the created sequence’s steps. Duplicates are ignored and order does not matter. Defaults to the first 12. An empty list, more than 12 distinct positions, or a position outside the sequence returns 400. More than 100 entries, or entries that are not integers, fail validation with 422.
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, omittedEmailCount (the example’s emails that were not cloned, because you left them out of stepNumbers or they are beyond the 12-step limit) and stepNumbers (the positions of the cloned emails in the example, ascending).
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.