Skip to main content
Best answer

Send subscriptions in Stripe to Klaviyo via webhook?


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 

Best answer by Troy TessaloneBest answer by Troy Tessalone

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

View original
Did this topic help you find an answer to your question?
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

Troy Tessalone
Forum|alt.badge.img+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?


  • Author
  • Beginner
  • 8 replies
  • February 9, 2022

@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


Troy Tessalone
Forum|alt.badge.img+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


  • Author
  • Beginner
  • 8 replies
  • February 9, 2022

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


  • Author
  • Beginner
  • 8 replies
  • February 9, 2022

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.


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30995 replies
  • Answer
  • February 9, 2022

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


Troy Tessalone
Forum|alt.badge.img+14

@firsthouse 

Code step input Data variables

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

 


  • Author
  • Beginner
  • 8 replies
  • February 9, 2022

@Troy Tessalone Makes sense I’ll try that!

 


  • Author
  • Beginner
  • 8 replies
  • February 9, 2022

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


  • Author
  • Beginner
  • 8 replies
  • February 14, 2022

@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?

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30995 replies
  • February 14, 2022

@firsthouse 

 

Try this Klaviyo trigger:

 

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

 


  • Author
  • Beginner
  • 8 replies
  • February 14, 2022

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

 


  • Author
  • Beginner
  • 8 replies
  • February 14, 2022

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