Skip to main content

How to Create a Webhook to Connect WAX in a Yotpo Flow

Updated over a month ago

This guide walks you through the step-by-step process of configuring a webhook to trigger a Wax flow directly from a Yotpo flow.

Step 1: Setting Up the Webhook in WAX

  1. Go to WAX and Select the Flow

    • Navigate to WAX and select the flow you want to work with.

  2. Select the Entry Record Button

    • Click the button for "Webhook" in the flow.

  3. Set Up the URL for the Webhook

    • Once you’re in the webhook, you’ll need to add an URL.

    • Click “Add” to create a new URL.

    • Name the URL appropriately (e.g., "Abandoned & Checkout" if you’re working within the "Abandoned & Checkout" flow).

  4. Generate Information

    • After adding the URL, WAX will generate the necessary information that you’ll use to set up the webhook in Yotpo.


Step 2: Setting Up the Webhook in Yotpo

  1. Go to the Desired Flow in Yotpo

    • Navigate to the flow in Yotpo where you want to add the webhook from WAX.

  2. Add Action and Webhook

    • Click on the “Add” button and then select “Add Action”.

    • Choose to add a Webhook.

  3. Name the Webhook

    • Give the webhook a name (e.g., "Abandoned Checkout Flow").

  4. Copy and Paste WAX Information

    • Go back to WAX and copy the URL generated for the destination in WAX.

    • Paste this URL into Yotpo under the webhook configuration.

  5. Add the Authorization Key

    • Also, copy the authorization key from WAX and paste it into the relevant field in Yotpo.


Step 3: Setting up the Json Body

  1. Handle Data Variables

    • In Yotpo, you’ll need to manage the data variables carefully.

    • Replace any placeholder data with the correct variables.

  2. Remove Extra Spaces

    • Pay close attention to any spaces between the variables. Make sure to remove any extra spaces, especially when transferring data

  3. Update First Name and Last Name

    • If required, do the same for other attributes like the first name or last name, ensuring there are no spaces between the variables.

  4. Add Abandoned Checkout URL

    • For an abandoned checkout flow, you’ll need to add the Abandoned Checkout URL as a variable.

  5. Validate the JSON Data

  6. Once all the data is in place and configured, validate the JSON to ensure everything is correct.

  7. Save Your Configuration

Did this answer your question?