Sign inGet Started

bird whatsapp welcome-sequences create

Usage

Code example
bird whatsapp welcome-sequences create [flags]

Description

Create a welcome message sequence for Click-to-WhatsApp ads

Pass --autofill-message or --ice-breaker, not both. Choose the sequence for an ad in Meta Ads Manager by the returned meta_sequence_id. A 503 may mean WhatsApp created the sequence but Bird did not record it, and the CLI retries a 503 on its own (--max-retries, default 2), so each retry can create another: pass --max-retries 0. After a 503, list again in about ten minutes instead of re-running the create.

Build the request from flags, a JSON WhatsAppWelcomeSequenceCreate body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

Code example
# print the body shape (no credentials needed)
bird whatsapp welcome-sequences create --example

# the body it prints:
Code example
{
  "ice_breakers": [
    {
      "title": "What are your opening hours?"
    },
    {
      "title": "How do I sign up?"
    }
  ],
  "name": "Driver sign-up",
  "text": "Hi! Thanks for your interest in driving with us.",
  "waba": "102290129340398"
}

Options

Sequence

NameDescription
--wabaWhatsApp Business Account to create it on: its WhatsApp ID or waa_ ID (required; or in --body-file)
--nameName you see when choosing the sequence for an ad (required; or in --body-file)
--textGreeting sent when the person opens the chat; empty for none

Reply

NameDescription
--autofill-messageMessage typed into the person's composer; or use --ice-breaker
--ice-breaker <value>…Quick reply shown under the greeting; repeat for each, in order

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird whatsapp welcome-sequences deleteDelete a welcome message sequence
bird whatsapp welcome-sequences getGet a welcome message sequence
bird whatsapp welcome-sequences listList welcome message sequences
bird whatsapp welcome-sequences updateUpdate a welcome message sequence

Continue with the documentation, guides and examples for this topic.