Rate this page:

Trigger (Start)

Studio Trigger Widget


All Flows have a Trigger Widget: this is the Widget that begins the Flow. Other Widgets are attached to this Widget, connecting to one of the three possible trigger events: Incoming Call, Incoming Message, and REST API. This Widget cannot be deleted.

Required Configuration:

Flow Name is required, and defaults to the name entered when you create the Flow. You may modify this at any time.

The webhook URL of the flow (read-only), appears in the configuration panel, in this format:<account_sid>/Flows/<flow_sid>

You can copy the Flow URL to the clipboard in order to connect it to a Twilio number or make REST API requests.

Transitions: There are three initial events connected to the Trigger Widget: Incoming Call, Incoming Message, and REST API (Incoming Request). The Trigger Widget does not allow custom Transition events.


Inbound Message Trigger

Account SID trigger.message.AccountSid
Body trigger.message.Body
From trigger.message.From
From City trigger.message.FromCity
From Country trigger.message.FromCountry
From State trigger.message.FromState
From ZIP trigger.message.FromZip
Message SID trigger.message.MessageSid
Messaging Service SID trigger.message.MessagingServiceSid
Number of Media Items trigger.message.NumMedia
To trigger.message.To
To City trigger.message.ToCity
To Country trigger.message.ToCountry
To State trigger.message.ToState
To ZIP trigger.message.ToZip

Inbound Call Trigger

Account SID
API Version
Call Status
From City
From Country
From State
From ZIP
Caller City
Caller Country
Caller State
Caller ZIP

Call SID
Called City
Called Country
Called State
Called ZIP
To City
To Country
To State

REST API Trigger

Variables passed in via REST API trigger will be available as Flow Data and accessible via {{}} syntax. See the REST API page for more details.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Community Forums or browsing the Twilio tag on Stack Overflow.


        Thank you for your feedback!

        We are always striving to improve our documentation quality, and your feedback is valuable to us. Please select the reason(s) for your feedback or provide additional information about how we can improve:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        Refer us and get $10 in 3 simple steps!

        Step 1

        Get link

        Get a free personal referral link here

        Step 2

        Give $10

        Your user signs up and upgrade using link

        Step 3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more