Webhook

With webhooks, you can integrate external messaging service APIs to create cross-channel messages or connect with your own servers for tasks like issuing coupons.

While some development knowledge is required, webhooks are popular among our clients because they allow you to continue using your existing messaging provider while offering flexibility in the server integration process.

Creating Webhooks

In the FlareLane console, you can create webhooks by navigating to the Channels > Webhooks page, where you can configure the endpoint, headers, and body parameters for external HTTP requests.

Each field allows you to use hyper-personalized message syntax to input user tags or data values for dynamic parameter configuration.


Examples

Using the phone number tag to send messages via another provider's API:

{
  "body": "{{ text }}", // text Enter the variable manually
  "sendNo": "15446859",
  "recipientList": [
    {
      "recipientNo": "{{ tags.phone_number }}", // Automatically inserted if the phone number tag is present
      "countryCode": "82"
    }
  ]
}

Using the user ID to directly use your own API:

{
  "userId": "{{ userId }}", // Automatically inserted if the use ID is present
  "text": "{{ text }}" // text Enter the variable manually
}

Adding Webhooks to a Journey

You can configure the created webhook within a customer journey webhook action.

If there are data fields available for input within the webhook, additional data fields will be set up for further input.


Sending Test Messages

Based on the webhook created, you can also send test messages targeting specific users. If you’re using data variables from hyper-personalized message syntax, an input field will open where you can enter the relevant data.


Viewing Sent Messages

Webhook history is divided into successful and failed attempts. As shown in the image above, the request and response details at the time of sending the test messages are recorded for your review.

Last updated