Skip to main content

Webhook-based Notifications

Learn how to create a webhook-based automation to send messages, such as invoices, via WhatsApp using BusinessChat. This guide walks you through setting up triggers, templates, and recipients.

Updated yesterday

Webhook-based automation allows you to connect any external system with BusinessChat in just a few steps. You can automatically send messages to your customers, including invoices, notifications, or updates, directly on WhatsApp.

How to Create a Webhook Automation

  1. Go to the Automations page and click New Automation.

  2. Select the Webhook Automation card.

Trigger Setup

Get the Callback URL

  1. Copy the automation Callback URL provided.

  2. Paste this URL into your external system and send sample data to BusinessChat at that URL.

Select the Recipient's Phone Number

  1. In the JSON data received, identify the key containing the contact's address or phone number.

  2. This will be used as the contact’s phone number.

  3. Click Save when done.

Create a Template Message

  1. Click Create A Template to assign your message template to this automation step.

  2. Use custom fields from the data sent by your external system if needed.

  3. Submit your template. You will be redirected to the automation edit page.

  4. Save your template and publish the automation.

The automation may remain pending until your template is approved. Once approved, it will go live automatically.

Did this answer your question?