smartchat

save_followup_sequence

Creates a follow-up sequence with 1 to 10 steps as a draft that sends nothing. Each step gets a draft template; submit them with create_template_submissions, then activate with save_followup_sequence.

Tool namesave_followup_sequence
Permissionfollowups:write
readOnlyHintfalse
destructiveHintfalse
idempotentHinttrue
openWorldHinttrue
REST callPOST /v1/followup-sequences, PATCH /v1/followup-sequences/{sequence_id}

#What it does

  • Changes data in your account. It does not send messages to contacts.
  • May start automations of the account, and an automation may send messages. The call itself sends nothing.
  • Setting it active lets messages go to contacts later. The call itself sends nothing.
  • Safe to repeat with the same idempotency_key.

#Input

The tool takes one flat object. Path, query and body fields of the REST call are merged into it.

Create follow-up sequence (POST /v1/followup-sequences)

NameTypeRequiredDescription
namestringyesName of the sequence. length 1 to 200
stepsarray of objectyesThe steps in order. up to 10 items
steps[].textstringyesMessage text of the step, at most 1024 characters. Use paragraphs, bold words in stars and an emoji: a long wall of text is refused. Placeholder: {{first_name}}. length 1 to 1024
steps[].delay_minutesintegeryesWait in minutes. Step 1: wait after the opt-in confirmation. Later steps: wait after the step before, at least 1440 (one day). 0 to 525600

Update follow-up sequence (PATCH /v1/followup-sequences/{sequence_id})

NameTypeRequiredDescription
sequence_idstringyesID of the sequence, from list_followup_sequences.
namestringnoNew name of the sequence. length 1 to 200
statusstringnoactive sends messages and needs the permission automations:run. paused and draft stop them. The fixed thank-you step cannot be switched off. one of: draft, active, paused
stepsarray of objectnoChanges to existing steps. Steps you leave out stay as they are. up to 10 items
steps[].step_idstringyesID of a step of this sequence.
steps[].textstringnoMessage text of the step, at most 1024 characters. Use paragraphs, bold words in stars and an emoji: a long wall of text is refused. Placeholder: {{first_name}}. length 1 to 1024
steps[].delay_minutesintegernoWait in minutes. Step 1: wait after the opt-in confirmation. Later steps: wait after the step before, at least 1440 (one day). 0 to 525600

Arguments added by the MCP server (see Special arguments)

NameTypeRequiredDescription
idempotency_keystringnoOptional. Unique key, for example a UUID. Same key and arguments within 24 hours: first result. Without a key only an identical call within 1 minute counts as a repeat. up to 255 characters

#Result

The result has the same content as the REST answer. Lists have at most 50 items per page (default 20); use cursor for the next page.

Errors come back as a tool result with isError: true. The error codes are the ones in Errors.