Webhooks

Connect Click to Chat with any automation tools using Webhooks. 

When a user clicks on the WhatsApp icon/Image, Webhook URL will be called. 

Create Webhook URL from integration tools (like Zapier, IFTTT, Pipedream) and add at Webhook URL plugin settings field.

Add values to the body of the Webhook URL

Automation, integration tools

Currently, as we know, Facebook Conversation API (server-side event) is available on Zappier, make.com.


PRO

In the premium version, dynamic variables can be used to customize the webhook URL when a user clicks on the WhatsApp icon or button.

Variables Available:

  • {url}: The URL of the page where the user clicks on the WhatsApp icon.
  • {time}: The exact time when the user clicks on the WhatsApp icon/button.
  • {number}: The WhatsApp number assigned to the button (set in the plugin settings). This is especially useful when using features like Random Number or Multi-Agent.
  • {title}: The title of the page where the user clicks on the WhatsApp icon.

How to Use:

Instead of manually adding values to the body of the webhook URL, embed these variables directly within the URL as query parameters. The webhook will be called automatically after a user clicks the WhatsApp icon/button, sending the relevant information.

Dynamic Variables:

  • Get Values from URL Parameters: Text within single square brackets [] will fetch values from the URL parameters. If the parameter does not exist, it returns a blank.
    Example: [gclid], [utm_source].
  • Get Values from Cookies: Text within double square brackets [[]] will fetch values from cookies. If the cookie does not exist, it returns a blank.
    Example: [[_ga]].

This approach allows the creation of highly customizable webhook URLs, tailored to the user’s specific interaction, ensuring important data is captured effortlessly.

Webhooks in Greetings Form

If you are using the Greetings Form, you can add the webhook URL directly in the form settings.

Additionally, webhooks can be used within the Greetings Form to trigger specific actions based on user interactions.