Skip to main content

How to Integrate Klaviyo Pop-Ups with Spur for WhatsApp Messaging

Integrate Klaviyo pop-ups with Spur to send WhatsApp messages, tag contacts, and automate customer engagement effortlessly.

Updated today

Pop-ups are an essential tool for collecting customer details like Name, Email, and Phone Number in exchange for incentives such as discounts or VIP list access. By integrating Klaviyo pop-ups with Spur, you can automatically add these contacts to Spur and start engaging with them on WhatsApp through personalized messages or automations.

Klaviyo popup for collecting name, email and phone number

In this article, we’ll walk you through the step-by-step process of setting up the integration between Klaviyo and Spur.



Step 1: Create a Webhook in Spur

  1. Log in to your Spur account and go to Automation Flow.

  2. Create a new flow for the WhatsApp Channel.

    Creating a new automation flow in Spur
  3. Select Start from Scratch and use a Webhook Trigger.

  4. Copy the Webhook URL generated by Spur.

    Webhook trigger in Spur Automation flow

Step 2: Create a New Flow in Klaviyo

  1. Log in to your Klaviyo account and navigate to the Flows section.

  2. Click Create Flow and name it (e.g., "Popup Subscribers").

  3. Add a tag to segment contacts who enter the flow (e.g., "Popup").

    Naming the flow and adding a tag to the flow users in Klaviyo

Step 3: Set Up the Trigger

  1. Add the Form Completed By Profile trigger to the flow

  2. Now paste the Webhook URL and JSON Body

    {
    "email": "{{ person.email }}",
    "name": "{{ person.first_name|default:'' }}",
    "phone": "{{ person.phone_number|default:'' }}"
    }

  3. Save the trigger.


Step 4: Review and Activate the Flow

  1. Double-check your flow settings to ensure everything is configured correctly.

  2. Turn on the Klaviyo automation.


Step 7: Add a Tag or Send a Message in Spur

  1. In Spur, you can choose to:

    • Add a tag to the contact (e.g., "Klaviyo Subscriber").

      Screenshot of adding a tag in Spur.
    • Send a message using a template like ecomsend_spin_the_wheel_popup.

      Screenshot of setting up a message template in Spur.
  2. Optionally, add a delay before sending the message.

  3. Turn on the Spur flow and hit save.

    Turning on and saving the Spur Flow
  4. Irrespective of what you choose, the contact will be created and saved in Spur.


Step 8: Test the Integration

  1. Test the integration to ensure data flows correctly from Klaviyo to Spur.

  2. Notes:

    • If you want the flow to exit after a customer replies, add an exit condition to the webhook trigger in Spur.

    • Use a WhatsApp Template to start conversations outside the 24-hour window.


Need Help?

If you encounter any issues or have questions, reach out to us on our WhatsApp Support.

Did this answer your question?