> For the complete documentation index, see [llms.txt](https://docs.quickreply.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quickreply.ai/product-modules/journeys/data-sources/creating-webhook-triggers.md).

# Creating Webhook Triggers

### How to Create and Use Webhooks with QuickReply for Automated Messaging

Integrate QuickReply with third-party applications by creating webhooks that trigger automated messages - ideal for streamlining communications, such as user onboarding or notifications.

Follow these steps to set up, map data, and automate messaging with personalised content.

**Step 1:** Open the **Data Source** section from the QuickReply menu.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2F4d9HoVFbuMM2Q9tqsoV6%2F04-s1-step1-data-source-menu.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 2:** Click **New Webhook** to create a webhook integration.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FNmSR24Ij2FW4x7BsV5xK%2F05-s1-step2-create-new-webhook.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 3:** Copy the generated **endpoint URL**. This is your webhook endpoint for receiving data.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FOQwNaFTswQXiehFRuYxe%2F06-s1-step3-copy-url.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 4:** Trigger a test event to this endpoint from a tool like Postman. Refresh the page to confirm that the event was received.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FjuWdLQ68Rk4QaTKmfqDC%2F14-s1-step4-event-received.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 5:** Ensure your event data includes a valid **phone number key** (with country code). This is required for WhatsApp message delivery.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2Ff47jxDFYn1OuTQOwLQ7l%2F07-s1-step5-phone-key.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 5:** Ensure your event data includes a valid **phone number key** (with country code). This is required for WhatsApp message delivery.

**Step 6:** After confirming the webhook works, set up a **new event** and map the fields from your payload to the desired attributes. Add a filter if needed.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FZ2DsaQWauBnNIELbAvXC%2F08-s1-step6-create-event.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 7:** Define the data attributes such as **Phone**, **Name**, or any custom field.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FHZ9IkJdslRBGiueEXE0U%2F15-s1-step7-map-attributes.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 8:** If the attribute (like “Age”) does not exist, type the name, create a new data type, and select the field.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FVmqC6ERWaVSeVyYLM08X%2F16-s1-step8-add-new.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FG9V04h3DaRcoCNZImC8u%2F17-s1-step8-create-attribute.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FXjvHbA7BycHXzRTUmRci%2F18-s1-step8-data-type.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 9:** Save the event configuration. You now have a webhook ready to receive and process data from any external system.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FbjCRja4nXoy4tURMUN4S%2F09-s1-step9-save-event.png?alt=media" alt=""><figcaption></figcaption></figure>

### Using a Single Webhook for Multiple Events

Handle different event types through a single webhook endpoint by adding an event identifier in your payload. This allows for unique data flows based on event names.

**Step 1:** Go to your existing **Webhook** and trigger another event with an extra key, such as **event\_name** set to a specific value (e.g., “new user created”).

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FIZm8lu80yZt5wDkxQyNH%2F10-s2-step1-event-data.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 2:** Filter incoming data in the event configuration using this key. Example: if **event\_name** matches “new user created”, map the corresponding fields and sync them with the user’s profile.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FJrZASkIKimKxC138LaF9%2F13-s2-step2-filter.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 3:** Save the event configuration. You now have multiple events routed through a single webhook, each triggering its own workflow.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FKGKiWoYFyMvGxIMUAazL%2F19-s2-step3-save-event.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 4:** Open the **Conversations** section and view **Profile Attributes** to confirm that data like name and age is received and updated instantly.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2Fih8UFcdEnAI1ZdaUrAvy%2F03-conversation-profile-attributes.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 5:** Edit an attribute (e.g., change the user’s name) and trigger the endpoint again to see real-time updates.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2Fih8UFcdEnAI1ZdaUrAvy%2F03-conversation-profile-attributes.png?alt=media" alt=""><figcaption></figcaption></figure>

### Automating Message Journeys with Webhook Events

Launch powerful automation flows—like nurturing sequences—by linking webhook events to QuickReply journeys.

**Step 1:** Start a new **Journey** and select the custom webhook event as the trigger.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FUZQfEBAsYOAfAtZ9ZIjK%2F01-journey-trigger-custom-webhook.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 2:** Choose from available events (e.g., order create, user delete) to assign as a trigger for this journey.

<img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2F6gmmHdbxnDj2AaXkFV7B%2FImage?alt=media&amp;token=6fc3ad86-24de-4977-bacd-b4332599eb81" alt="" width="100%">

**Step 3:** Proceed to define the journey steps—add a **Send WhatsApp Message Node**. Select your message template.

<img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FNZQvNKInpQVXqoYQFBvW%2FImage?alt=media&amp;token=5ff91573-dc13-43bd-9a7a-7b2e07a59676" alt="" width="100%">

**Step 4:** Insert a **wait** step (e.g., wait three days), then schedule another message or action.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FQr8Av82CgEkL5hufXEJo%2F02-journey-wait-step.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 5:** Personalize messages using dynamic fields from your webhook payload, such as **name** or **age**. Set up fallbacks for missing attributes (e.g., use “hello user” if name is missing).

<img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FSkMYqqsRWyucuUnXHq7M%2FImage?alt=media&amp;token=6a649eb7-cf6b-4489-ad41-10849334c922" alt="" width="100%">

&#x20;

<img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FMuQxDDx8SaSLqgJNE7l7%2FImage?alt=media&amp;token=1de1634b-c98e-4662-a79a-bb612b46f8d6" alt="" width="100%">

**Step 6:** Save the journey and configure an exit event so users don’t receive unnecessary messages if a specific event occurs (e.g., **test event** ends the journey for “new user created”).

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2FugH0U4sNLicwgmylAaCs%2F11-s3-step6-exit-event.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 7:** Publish the journey and test by sending an event—watch messages send instantly, and users exit the journey as intended.

Webhooks and automation journeys in QuickReply keep your messaging proactive and relevant. Personalize each communication and manage user flows all in one place. For more guidance or to explore advanced personalization, contact QuickReply’s support team—we’re always ready to help!

### FAQs

<details>

<summary>1. I sent a test request but nothing shows on the webhook. What should I check?</summary>

Make sure you sent a **POST** request to the exact URL from **Copy URL**, and that the webhook is **Active**. Then refresh the webhook page.

</details>

<details>

<summary>2. Does my data need a phone number?</summary>

Yes. Include the customer's phone number with country code (for example +1 or +91) and map it to **phone** in the event. QuickReply uses it to find the customer and send WhatsApp messages.

</details>

<details>

<summary>3. The attribute I need isn't in the list. What do I do?</summary>

Type its name in **Add new attribute**, click **+ Add New**, choose a data type and click **Continue**. Then map it to the right field from your data.

</details>

<details>

<summary>4. Will new data replace what's already on the customer's profile?</summary>

Yes, by default. **Override existing data** is turned on for each mapped field. Turn it off for a field if you want to keep the value already saved.

</details>

<details>

<summary>5. Can one webhook handle different kinds of events?</summary>

Yes. Add a field such as `event_name` to your data and create one event per value, each with a filter on that field. See [Triggers & Events](https://docs.quickreply.ai/product-modules/journeys/data-sources/triggers-and-events-architecture.md) for examples.

</details>

<details>

<summary>6. My journey didn't send a message after I sent an event. Why?</summary>

Check that the journey is published (**RUNNING**), that the data matches the event's filters, and that the phone number is mapped. Also check the journey's exit event, which removes users from the journey when it happens.

</details>

<details>

<summary>7. How do I see what data reached QuickReply?</summary>

Open the webhook under **Data Source** and click the eye icon on any request to see its headers and body.

</details>
