Creating Webhooks

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.

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

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

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

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.

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

Image
Image
Image

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

Image
Image
Image

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


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”).

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.

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

Image

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

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


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.

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

Image

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

Image

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

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).

Image
Image

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”).

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

Image

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!

Last updated

Was this helpful?