Skip to content

WhatsApp Webhook

WhatsApp Webhook keeps in the flow the connection details of your Twilio WhatsApp number: the account, its key and the phone number. Its output only confirms that the configuration is complete; it does not return the content of the messages.

When the flow runs because of a WhatsApp message received through Twilio, the text of the message enters the flow as its input message, for example in a Chat Input.

When to use it

  • Keep the details of your Twilio WhatsApp number in the flow.
  • Flows that already use it to answer WhatsApp messages.

To receive the full message in the flow, with the sender’s number and any attachments, use Twilio WhatsApp Webhook.

Configuration

The component needs a Twilio WhatsApp Integration credential with your Twilio account details and your WhatsApp number. See Credentials.

FieldWhat it does
Credential (required)The Twilio credential. It fills in Twilio Account SID, Twilio Auth Token and Twilio Phone Number.
DescriptionA free note describing what you use this webhook for.

Output

The Data output returns a notice that the webhook configuration is complete.

Example

A shop answers its customers’ questions over WhatsApp:

  1. Add WhatsApp Webhook and pick the shop’s Twilio credential.
  2. Add a Chat Input and connect it to an agent with the shop’s information.
  3. Send the agent’s reply with Twilio WhatsApp.
  4. Deploy the flow and set up in Twilio the address NappAI gives you.

Good practices

  • Keep the Twilio details in the credential: if you change the key in Twilio, update it only there.
  • To work with the sender’s number or with attachments, use Twilio WhatsApp Webhook.