Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Set up Conversational Integration with WhatsApp (powered by Twilio)

Set up the Conversational Integration with WhatsApp (powered by Twilio) application so that you can engage requesters in bot conversations. Integrating with ServiceNow Virtual Agent enables you to interact on WhatsApp chat with a Virtual Agent or Live Agent.

Before you begin

Before you begin, do the following:

Role required: external_app_install_admin or va_admin

Procedure

  1. Connect your company's Twilio account with your ServiceNow instance.

    1. Log in to your Twilio Console.

    2. From the Project Info pane of the Console Dashboard page, note down the authentication token.

      You will later use this token to authenticate the Twilio account on your ServiceNow instance. For more information, see the Twilio documentation.

    3. To specify the webhook URL, in the Twilio console, navigate to Programmable Messaging > Senders > WhatsApp Senders.

      To enable your Twilio account to send messages to your ServiceNow instance, enter the webhook URL in the following format: https://<instance-name>.service-now.com/api/sn_va_whatsapp_twi/message.

    4. Click your WhatsApp-enabled Twilio phone number.

    5. In the A MESSAGE COMES IN field of the Configure WhatsApp Number dialog box, enter the webhook URL of your ServiceNow instance and click Configure.

  2. To authenticate incoming hash messages from the Twilio account, create a Hash Message Verification record that stores the Twilio authentication token.

    1. In the navigation filter of your ServiceNow instance, enter hash_message_verification.list.

    2. In the Hash Message Verifications list, click New.

    3. On the form, fill in the fields.

FieldDescription
NameName of the record in the Hash Message Verification \[hash\_message\_verification\] table that stores the authentication token that is associated with your company's WhatsApp-enabled Twilio phone number. For example, `TwilioWhatsappTestAppAuthToken`.
DescriptionDescription of the record. For example, `Twilio Whatsapp Testing application Auth Token`.
SecretTwilio authentication token that is associated with your company's WhatsApp-enabled Twilio phone number.
4.  Take note of the name of the Hash Message Verification record.

5.  Click **Submit**.
  1. Associate inbound message records with a Message Auth record.

    1. In the navigation filter of your ServiceNow instance, enter message_auth.list and click New.

    2. On the form, fill in the fields.

FieldDescription
NameName of the record in the Message Auth \[message auth\] table. For example, `VA Twilio WhatsApp Test App Message Auth`.
ProviderProvider of the auth token. Enter `Twilio`.
Group nameName of the group that you created.
Service PortalCustomer service portal that you created.
Outbound service tokenA unique token used by the ServiceNow AI Platform to authenticate and authorize access to an external service or API. The token is a credential that allows the ServiceNow AI Platform to securely interact with other systems. This token is generated by the external service and provided to the ServiceNow AI Platform so that the platform can make requests and access resources.
Inbound message verificationName of the Hash Message Verification record that you created for the inbound hash messages in step 2.
Outbound message verificationName of the Hash Message Verification record that you created for the inbound hash messages in step 2.Note: The values for the Inbound message verification and Inbound message verification fields are the same.
3.  Click **Submit**.
  1. Associate the Message Auth record with the WhatsApp-enabled Twilio phone number.

    1. In the navigation filter of your ServiceNow instance, enter sys_cs_provider.list.

    2. In the Provider Channels list, click Twilio from the Name column corresponding to the WhatsApp channel.

      If the Twilio entry is not present, enter sys_cs_provider_application.list in the navigation filter to create the list.

    3. In the Provider Channel Identity related list, click New.

    4. On the form, fill in the fields.

FieldDescription
NameName of the entity that users are contacting, such as IT Service Desk.
Inbound ID

Twilio phone number that users are contacting.

Note: Be sure to include the '+' symbol and the country code in front of the phone number. For example: +18185559485.

Message authMessage auth that you created in step 3.
5.  Click **Submit**.