Skip to main content

Twilio WhatsApp API Integration

Connect QWaiting with Twilio to send WhatsApp notifications to customers using your Twilio WhatsApp configuration.


This guide explains how to configure the Twilio WhatsApp integration in QWaiting, add the required Twilio credentials, enable WhatsApp notifications, and save your configuration.

Part 1: Before You Begin

Make sure you have:

  • Access to your QWaiting Admin Dashboard.

  • Permission to manage integrations.

  • A Twilio account.

  • Your Twilio Account SID.

  • Your Twilio Auth Token.

  • A WhatsApp-enabled Twilio number.

Part 2: Open the WhatsApp API Integration

From the QWaiting Admin Dashboard, go to:

System setting → Notification setting→ WhatsApp

Open the WhatsApp API integration settings.

Select Twilio from the Type dropdown.

The Twilio configuration screen includes:

  • Type

  • Status

  • Template

  • Add parameter

  • Save

Part 3: Select Twilio

Under Type, select:

Twilio

QWaiting will display the parameters required to connect your Twilio account.

The integration requires the following parameters:

  • account_sid

  • auth_token

  • whatsapp_number

These values allow QWaiting to connect to your Twilio WhatsApp configuration.

Part 4: Enter the Twilio Account SID

Under Parameter of SMS, locate:

account_sid

Enter your Twilio Account SID in the corresponding Value field.

The Account SID identifies your Twilio account.

Part 5: Enter the Twilio Auth Token

Locate:

auth_token

Enter your Twilio Auth Token in the Value field.

The Auth Token is used to authenticate the connection between QWaiting and Twilio.

Security: Treat the Auth Token as a sensitive credential. Never share it in screenshots, public documentation, or unsecured channels.

Part 6: Enter the WhatsApp Number

Locate:

whatsapp_number

Enter the WhatsApp-enabled number configured for your Twilio account.

Use the number associated with your Twilio WhatsApp setup.

Make sure the number is entered in the format expected by your Twilio configuration.

Part 7: Enable the Integration

After entering all required values, locate the Status option.

Select:

Enabled

Enabling the status allows QWaiting to use the Twilio WhatsApp integration for WhatsApp notifications.

Part 8: Enable WhatsApp Templates

The configuration screen also includes a Template option.

Select:

Enabled

when you want QWaiting to use the configured WhatsApp message templates.

If templates are not required for your configuration, leave this option disabled.

Note: The availability and behaviour of WhatsApp templates may depend on your Twilio and WhatsApp configuration.

Part 9: Add Additional Parameters

If your Twilio configuration requires an additional parameter, click:

+ Add parameter

A new parameter row will be added.

Enter the parameter name and its corresponding value.

Only add additional parameters when they are required by your QWaiting or Twilio configuration.

To remove an existing parameter, click the Delete icon next to the parameter.

Part 10: Save the Configuration

After entering all required information:

  1. Confirm that Type is set to Twilio.

  2. Verify the account_sid value.

  3. Verify the auth_token value.

  4. Enter the correct whatsapp_number.

  5. Enable Status.

  6. Enable Template if required.

  7. Click Save.

QWaiting will save the Twilio WhatsApp integration configuration.

Required Parameters

Parameter

What to enter

account_sid

Your Twilio Account SID

auth_token

Your Twilio Auth Token

whatsapp_number

Your Twilio WhatsApp-enabled number

Example Configuration

Your configuration will look similar to:

Type: Twilio

Status: Enabled

Template: Enabled

account_sid: Your Twilio Account SID

auth_token: Your Twilio Auth Token

whatsapp_number: Your Twilio WhatsApp number

After entering these values, click Save.

Troubleshooting

WhatsApp messages are not being sent

Check that:

  • The Twilio integration is enabled.

  • The Account SID is correct.

  • The Auth Token is correct.

  • The WhatsApp number is correct.

  • The WhatsApp number is configured for your Twilio account.

  • Your WhatsApp templates are correctly configured if templates are enabled.

Authentication is failing

Verify the account_sid and auth_token values. Make sure there are no extra spaces or missing characters when copying the credentials.

The WhatsApp number is not working

Confirm that the number entered under whatsapp_number is the WhatsApp-enabled number associated with your Twilio configuration.

Template messages are not working

Check that:

  • Template is enabled in QWaiting.

  • The required WhatsApp templates have been configured.

  • The template information matches your Twilio WhatsApp setup.

Quick Setup

System setting → Integrations → WhatsApp API → Select Twilio → Enter Account SID → Enter Auth Token → Enter WhatsApp Number → Enable Status → Enable Template if required → Save

Part 11: Configure WhatsApp Message Templates

QWaiting allows you to configure different WhatsApp messages for customer notifications such as ticket generation, reminders, next calls, bookings, and feedback.

When WhatsApp templates are enabled, open the WhatsApp Message Templates section to configure the messages.

The available message types include:

  • Ticket generation message

  • Reminder message

  • Next call message

  • Skip call message

  • Recall message

  • Feedback SMS

  • New booking SMS

  • Reschedule booking SMS

  • Cancel booking SMS

  • Transfer call SMS

Select the message type you want to configure from the list on the left.

Configure the Template ID

After selecting a message type, enter the corresponding WhatsApp template identifier in the Template field.

For example:

Template: your_template_id

The Template ID should match the WhatsApp template configured for your messaging provider.

Configure the WhatsApp Message Body

Enter the message content in the WhatsApp message body field.

You can use QWaiting variables to automatically insert customer and queue information into the message.

For example:

{{panel_name}} {{token}} {{queue_count}} {{waiting_time}} {{ticket_link}}

These variables are replaced with the relevant information when the message is sent.

Enable or Disable the Message

Use the Enabled checkbox to control whether the selected message type is active.

  • Enabled — QWaiting can send this notification.

  • Disabled — QWaiting will not use this notification.

Make sure the checkbox is enabled when you want the selected message to be sent.

Insert a Variable

You can add supported QWaiting variables without manually typing them.

  1. Click Select variable under Insert variable.

  2. Choose the variable you want to add.

  3. Click Append variable.

  4. The selected variable will be added to the message body.

This makes it easier to create dynamic messages containing information such as the customer's token, waiting time, queue count, or ticket link.

Message Length

The message editor displays the current message length and the remaining character allowance.

For example:

148 characters | 1 message | 12 characters remaining in current message

Keep the message within the supported character limit to avoid unnecessarily splitting the notification into multiple messages.

Save the Template

After configuring the template:

  1. Select the required message type.

  2. Enter the Template ID.

  3. Add the WhatsApp message body.

  4. Insert the required variables.

  5. Enable the message.

  6. Click Save.

Repeat these steps for each notification type you want to configure.

Did this answer your question?