Trigger a Bot Flow Via Inbound Webhook

The Inbound Webhook Trigger allows you to trigger a bot flow using external systems by sending data via API.

Steps to Configure

1. Create Bot Flow

  1. Go to Chatbot → Create Bot Flow

  2. Enter a Bot Flow name

  3. Click on + icon → WhatsApp Chatbot

  4. Select Inbound Webhook Trigger

2. Configure Trigger

  1. Choose how the channel will be selected

  2. Select the appropriate WhatsApp Channel

  3. Add a Sample Payload (JSON)

Example:

{
  "chat_uid": "1234567890",
  "name": "John"
}
  1. Select Chat Identifier / UID from the payload

  2. Click on Create Webhook

  3. Copy the generated Webhook URL

3. Test Webhook

  1. Use tools like Postman

  2. Send a POST request with the sample JSON

  3. Verify that the webhook is accepted

4. Send Initial Message

  1. Add a node → Send Message / CRM → Template Message

  2. Select channel and template

  3. Map required variables (e.g., phone number, name)

  4. Run and save

Note: Template messages are required if the WhatsApp session is not active.

5. Add Smart Wait

  1. Add Native Tools → Smart Wait

  2. Set response type (e.g., single reply)

  3. Define wait time (e.g., 100 hours)

  4. Save configuration

6. Continue Flow

  1. Add further steps like:

  • Ask questions

  • Send interactive messages

  • Collect user data

This setup allows external systems to trigger bot flows and start user interactions seamlessly through API integration.

Last updated

Was this helpful?