Webhook

Overview

The Hablla platform Webhook component is used to kick off automated flows based on external events. It acts as an entry point, receiving data via HTTP requests (usually POST) and triggering the corresponding flow immediately.


Main Functionality

  • 🔄 Real-time integration with external systems

  • 🔧 Automatic triggering of flows

  • ✅ Immediate execution after receiving the data

  • 📁 Transmission of structured data (JSON)


How the Webhook Works

In the provided image, we have two examples of webhook execution:

Example 1 – Execution with Code and POST

  1. Webhook (IMMEDIATELY): The component receives an external request with data (e.g., CRM, forms, ERPs, etc.).

  2. Code: A code block is executed right afterward. This can process, handle, or transform the received data.

  3. HTTP Request (POST): The processed data is sent to another system or service via a new HTTP request.

Example 2 – Execution with Formatting, Creation and Sending of HSM

  1. Webhook (IMMEDIATELY): Receives the lead's or customer's data.

  2. Format Phone: The received phone number is standardized to the international format required for sending via WhatsApp.

  3. Hablla (CREATE_OR_UPDATE): Creates or updates the person within Hablla's CRM with the received data.

  4. WhatsApp HSM: After registration, a template (HSM message) is automatically sent to resume contact with the customer.


Main Use Cases

  • ✨ Integration with ERPs and CRMs

  • 🚀 Automatic triggering of flows from landing pages or forms

  • 📊 Sending data to BI or monitoring systems

  • 🛠️ Updating records or leads

  • 💬 Automatic reengagement with leads via HSM (WhatsApp Template)


Benefits

  • ⏱ Instant execution

  • 🛑 Reduction of manual errors

  • 📊 Standardization in data reception

  • 🚀 Ability to scale integrations quickly


Webhook Request Example

POST https://webhook.hablla.com/v1/682f73fc0a50...........

{

"name": "João Silva",

"email": "[email protected]",

"phone": "11999998888"

}

This webhook triggers a flow that, upon receiving the data, formats the phone number, creates or updates the contact within Hablla and sends a message via WhatsApp (HSM) to resume engagement with the lead.


The webhook component is ideal for operations that require immediate response to external events, promoting effective, reliable, real-time integrations.

Last updated

Was this helpful?