Twilio Setup
Create Twilio Account
Step 1: Log in to Twilio using the URL below.
Step 2: Click on Account and select Account Management.

Step 3: Under the Keys & Credentials menu, select API keys & tokens. Copy Account SID and Auth Token and use them for app configuration.

Step 4: After that, click on Account Dashboard > Develop > Messaging Section > Senders. Select WhatsApp senders and click Create new sender.

Step 5: Fill up all the required information and click on the Submit request.

Step 6: After submitting the request, you will get the Twilio WhatsApp Number. Copy and use it for extension configuration.

Create Message Template
Step 1: Now, create a New WhatsApp template to send Notifications.
Go to Dashboard > Develop > Messaging Section > Senders > Content Template Builder
Click on the Create New button

Step 2: Add general information of the template.

---------------------------------------------------------
Available Template Variables
---------------------------------------------------------
The following variables can be used in your Twilio Content Templates:
Order Variables
- {{order_increment_id}} - Order number
- {{order_status}} - Order status
- {{order_created_at}} - Order creation date
- {{order_grand_total}} - Order total amount
- {{order_subtotal}} - Order subtotal
- {{order_tax_amount}} - Tax amount
- {{order_shipping_amount}} - Shipping amount
- {{order_discount_amount}} - Discount amount
- {{order_coupon_code}} - Coupon code used
- {{order_store_name}} - Store name
- {{order_items_qty}} - Total items quantity
- {{customer_firstname}} - Customer first name
- {{customer_lastname}} - Customer last name
- {{customer_email}} - Customer email
- {{phone_number}} - Customer phone number
Invoice Variables
- {{invoice_increment_id}} - Invoice number
- {{invoice_created_at}} - Invoice creation date
- {{invoice_grand_total}} - Invoice total
- {{invoice_subtotal}} - Invoice subtotal
- {{invoice_tax_amount}} - Tax amount
- {{invoice_shipping_amount}} - Shipping amount
- {{invoice_total_qty}} - Total quantity invoiced
Shipment Variables
- {{shipment_increment_id}} - Shipment number
- {{shipment_status}} - Shipment status
- {{shipment_created_at}} - Shipment creation date
- {{shipment_total_qty}} - Total quantity shipped
- {{shipment_tracking_numbers}} - Tracking numbers (comma-separated)
Credit Memo Variables
- {{creditmemo_increment_id}} - Credit memo number
- {{creditmemo_created_at}} - Credit memo creation date
- {{creditmemo_grand_total}} - Credit memo total
- {{creditmemo_subtotal}} - Credit memo subtotal
- {{creditmemo_tax_amount}} - Tax amount
- {{creditmemo_total_qty}} - Total quantity refunded
Step 3: Set the message as per your requirement. Click on the Save and Submit for WhatsApp approval button.

Step 4: Fill Up the Sample Variables Information on the Popup and click on Save and Submit.

Step 5: You can see the Submit for WhatsApp review pop-up. Select the Utility option and click on Submit.

Step 6: After approval, you can copy the Content Template SID of the template.

Last updated