Objective
This article shows you how to build a Call to action content template, so your message can include buttons that dial a phone number, open a website, start a voice call, or copy a coupon code.
Product
Content Template Builder
Environment
Twilio Console
User Account Permission/Role(s) Required
Your user needs the content templates create permission for the account.
Procedure
- In the Twilio Console, select Communications in the left sidebar.
- Select Messaging, then Templates.
- Select Create new template.
- Enter a Template name and select a Template language.
- Under Content type, select Call to action, then select Continue.
- In the Call to action section, enter your message in Body.
- Under Button 1, open Type of action and choose one of Phone number, Visit website, Voice call, Voice call request, or Coupon code.
- Enter the button label in Button text.
- Fill in the field that appears for the action you chose:
-
Phone number, enter the number to dial, including the country code prefix (for example
+15551234567). - Visit website, enter the address in Website URL.
- Coupon code, enter the code in Coupon code.
- To add another button, select Add button and repeat steps 7 to 9.
- Select Save.
Additional Information
- A template can have up to 4 call to action buttons.
- Body allows up to 1024 characters, Button text up to 25 characters, Phone number up to 20 characters, and Coupon code up to 15 characters.
- Phone numbers must be in E.164 format, which means a
+and the country code as a prefix. - A website address must be a valid URL with no white space and may contain at most one variable, which has to sit at the end of the address rather than in the host name.
- If you choose Voice call request, the button text and body are filled in for you and cannot be edited.
- Variables are supported in Button text only when the action type is Voice call.
- Call to action templates are eligible for Facebook Messenger, Apple Messages for Business, and WhatsApp. WhatsApp business-initiated sends require approval first.
This content was generated by AI and reviewed, edited, and verified by a human.