Playbooks

Automating Customer Engagement: Integrating MomentScience with Klaviyo

13min

Overview

This playbook provides a step-by-step guide to integrating MomentScience with Klaviyo using Zapier. Klaviyo, a powerful automation and email platform, enables businesses to engage customers in real-time through channels like Email and SMS.

By setting up this integration, you’ll automate the creation of new profiles in Klaviyo whenever a webhook is triggered by MomentScience, ensuring that each user's email is automatically subscribed to the appropriate list.

This guide will walk you through the entire process, helping you streamline your customer engagement and communication efforts.

Document image


Prerequisites



Integration Steps

Have a look at this demo to get a quick understanding of how the process will look.



Adding a Webhook Trigger in Zapier

💡 Step Goal: Set up an automated workflow in Zapier, triggered by a conversion event in MomentScience.

Here’s how to set up a "Zap," an automated workflow in Zapier that starts when a new conversion occurs in MomentScience:

  1. Access the Zapier Dashboard:
  2. Create a New Zap:
    • Click the “Create” button.
    • Choose “Zaps: Automated Workflow.”
  3. Set Up the Trigger:
    • Select “Webhooks by Zapier” as the trigger app.
    • Choose “Catch Hook” as the trigger event, then click “Continue.”
    • Skip any optional trigger setup steps and click “Continue.”
  4. Copy the Webhook URL:
    • In the test section, copy the webhook URL provided by Zapier. You’ll need this URL to send requests from MomentScience.
    • Click “Start Testing” to prepare for the next steps.

Adding the Webhook URL to the MomentScience Dashboard

💡 Step Goal: Connect Zapier and MomentScience by inserting the webhook URL from Zapier into the MomentScience dashboard.

Follow these steps to link Zapier with MomentScience by adding the webhook URL as a Postback URL:

  1. Access the MomentScience Configuration Page:
    • Go to the Configuration page in the MomentScience publisher’s dashboard.
  2. Paste the Webhook URL:
    • In the “Postback URL” field, paste the webhook URL you copied from Zapier.
  3. Save the Configuration:
    • Click “Save Configuration” to apply the changes.
  4. Test the Integration:
    • Trigger a Dummy Data Postback:
      • On the MomentScience Configuration page, click “Test Postback” to send a dummy data postback to Zapier.
    • Verify in Zapier:
      • Check Zapier to ensure the dummy data was received. If it wasn’t, click "Start Testing" again.
    • Continue in Zapier:
      • Once the data is confirmed, click “Continue with selected record” in Zapier.

Configuring Zapier to Send Data to Klaviyo

💡 Step Goal: Set up Zapier to automatically create a new profile in Klaviyo and add the user's email as a subscriber.

With the webhook URL in place, the next step is to configure Zapier so that each time the webhook is triggered, the user’s profile is created in Klaviyo, and their email is subscribed to a specific list.

  1. Add the Klaviyo App:
    1. Click on “Action” and search for “Klaviyo.”
    2. Select “Klaviyo” and click “Continue.”
    3. Choose the Event:
      • “Subscribe Profile”: Subscribe the profile to email marketing, SMS marketing, or both.
      • “Create Profile”: Create a new profile, optionally subscribing the profile to a channel (email or SMS).
      • “Create or Update Profile”: Create or update a profile and add it to a specific list. Profiles are opted in based on the list's settings.
        • For this demo, we'll choose the “Create or Update Profile” event.
    4. Click “Continue.”
  2. Authenticate Your Klaviyo Account:
    1. In the account section, authenticate and link Zapier with your Klaviyo account. This integration allows Zapier to access your Klaviyo data.
  3. Configure the Action:
    1. Select the List:
      • In the list option, choose the list to which you want to add the user. For this demo, select “Email list” to subscribe the user to an email address.
    2. Map the Fields:
      • Link the remaining action fields with the corresponding parameters from the payload, including any custom properties.
    3. Once completed, click “Continue.”

Testing & Publishing the Integration

💡 Step Goal: Test the automation to ensure that each time a conversion occurs, the data is sent to Klaviyo and the user receives a subscription confirmation email.

  1. Test the Action:
    • In Zapier, click the “Test Step” button. This action should send the payload data to your connected Klaviyo account.
  2. Verify the Data in Klaviyo:
    • Go to the Klaviyo profiles list. You should see the profile created with the data from the payload.
    • Ensure all data fields, such as first name, last name, and phone number, are correctly mapped.
  3. Test the Email Subscription:
    • The user will receive an email asking them to confirm their subscription. Their email will only be added to the list once they confirm.
  4. Publish the Zap:
    • After successfully testing the integration, publish your Zap to ensure it runs automatically whenever a new conversion occurs.
  5. Monitor and Verify:
    • Allow some time for the integration to go live.
    • The Zap should now function automatically, creating new profiles in Klaviyo whenever a conversion happens.

Further Customization

To enhance your integration, you can also link user profiles and data to a Google Sheet by adding an additional action in Zapier.

  1. Add Google Sheets as an Action:
    • In Zapier, add a new Action step and search for “Google Sheets.”
  2. Configure the Event:
    • Select the “Create Spreadsheet Row” event.
    • Set up this action to log the conversion data from the payload into a Google Sheet.

For detailed instructions on this process, refer to the Real-Time Conversions Tracking with Zapier and Google Sheets Playbook.

Conclusion

Integrating MomentScience with Klaviyo through Zapier automates the capture of user data and streamlines email subscription management. By following this playbook, you’ll establish a smooth workflow that updates your Klaviyo subscriber lists automatically with each new conversion in MomentScience. This integration simplifies your marketing efforts and enhances real-time customer engagement.

For further customization or more advanced integrations, consider expanding your Zapier workflows to include other platforms like Google Sheets. This added flexibility helps your business adapt to diverse data management needs and continually improve your customer engagement strategies.



📢 If you're running into any issues while going through the integration process, feel free to contact us at [email protected]