Best answer

Send subscriptions in Stripe to Klaviyo via webhook?

  • 9 February 2022
  • 13 replies
  • 134 views

Userlevel 1

We are trying subscribe someone to our email&sms list inside Klaviyo when they sign up for a subscription inside stripe. To give consent for this Klaviyo suggested this https://help.klaviyo.com/hc/en-us/articles/4407486310683-How-to-Send-Consent-to-Klaviyo-via-Zapier#troubleshooting-tips5 . I have this set up but I'm unsure on what the zap should be to get this info from stripe to then send the code to Klaviyo. Here's also a loom with further explanation https://www.loom.com/share/1048ca196dbd43d3af0d64dad087b968 

icon

Best answer by Troy Tessalone 9 February 2022, 21:08

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

13 replies

Userlevel 7
Badge +14

Hi @firsthouse 

Can you clarify what app is triggering the Zap trigger step by sending the webhook?
What data is being sent from the app to the webhook in the Zap trigger?

Userlevel 1

@Troy Tessalone That’s what I need to figure out. I need stripe to send the clients over to Klavyio.

The zap webhook I have set up is the one Klaviyo support gave me. It sends the data from Zapier to Klaviyo subscribe list.

https://help.klaviyo.com/hc/en-us/articles/4407486310683-How-to-Send-Consent-to-Klaviyo-via-Zapier#troubleshooting-tips5

Userlevel 7
Badge +14

@firsthouse 

Try using this Zap trigger: Stripe New Event
NOTE: This would be used in place of the current Zap trigger, which is Webhook (Catch Hook)

Check out the other Stripe triggers/actions available: https://zapier.com/apps/stripe/integrations#triggers-and-actions

Userlevel 1

@Troy Tessalone There’s a monthly subscription inside Stripe. When they sign up for this we want them automatically added to our Klaviyo campagin where they should automatically receive a welcome email and sms. The sms is not working because consent is not brought over in the transfer of data. Klavyio said using that webhook setup in the article should fix the issue. Which I did, but Idk what to do for the first zap to tell the webhook to get the data from stripe subscription.

Userlevel 1

Initally I had it set up as stripe:new event, new customer subscription > add customer to Klavyio list. Then inside klaviyo when a new subscriber is added to the list they get a welcome email and text. But stripe and Zapier don’t send consent for the sms, so it won’t send sms automatically.

Userlevel 7
Badge +14

@firsthouse

Try this as the Zap trigger step instead of the Webhook trigger:

 

The Stripe trigger event data needs to be mapped to the Code step as input Data to then be used in the Code.

Userlevel 7
Badge +14

@firsthouse 

Code step input Data variables

You’d need to map the 3 remaining from the Stripe New Event Zap trigger step.

 

Userlevel 1

@Troy Tessalone Makes sense I’ll try that!

 

Userlevel 1

@Troy Tessalone It worked!!!! Thank you soooo much, you’re a life saver!

Userlevel 1

@Troy Tessalone Okay since it’s setup this way how would we set up a zap so that when they unsubscribe from klaviyo list their subscription is canceled in stripe?

 

Userlevel 7
Badge +14

@firsthouse 

 

Try this Klaviyo trigger:

 

Stripe has this action, but may need additional steps to find the related Subscription first.

 

Userlevel 1

@Troy Tessalone yes the finding the subscription is the part that keeps failing the test

 

Userlevel 1

@Troy Tessalone My bad I think I chose the wrong one the first time. Seems to be working now! Thank you