Objective
This article shows you how to add and configure the Send Message widget so your Studio flow sends an SMS, MMS, WhatsApp, or chat message — either with text you write yourself or from an approved content template.
Product
Studio, Programmable Messaging
Environment
Twilio Console
User Account Permission/Role(s) Required
Editing a flow requires the Studio flows create and update permissions on the account.
Procedure
- In the Twilio Console, select Orchestration in the left sidebar.
- Select Studio, then Flows.
- Select the flow you want to edit to open the Editor tab.
- Open the widget library and drag Send Message onto the canvas.
- Select the new widget to open its configuration panel.
- Choose how the message content is supplied:
- Leave the widget in its default custom mode and enter your text in Message body. To attach an image or file, enter its public URL in Media URL.
- Or select Content template and enter the template's identifier in Content template SID. Then, for each variable the template expects, select Add content variable, enter the variable's number as the key and the text as the value, and select Save.
- Optionally expand the advanced settings and set:
- Send message from: the sender to use instead of the flow's default.
- Message attributes: a JSON object of extra attributes to attach to the message.
- Select Save.
- Open the Transitions tab and choose where the flow goes next for If sent and If failed to send.
- Select Publish to make the change live.
Additional Information
- Switching to Content template hides Message body and Media URL, because the template supplies the content instead.
- Content variables are keyed by position, so use
1,2, and so on to match the placeholders in your template. - Clearing Message body is saved like any other edit; the flow will then send no body from this widget, which will usually fail validation when you publish.
This content was generated by AI and reviewed, edited, and verified by a human.