Trigger Stripe Workflow Only for Specific Products

Status: Closed · Asked by Mariana Lopez on · 0 views

Mariana Lopez — Question ·

 I’m trying to set up a Pabbly automation with Stripe, and I’m using Stripe → Complete Checkout as the trigger.

What I want is for the entire workflow to run only when a customer purchases a specific Stripe product or a specific price. If they purchase anything else through Stripe, I don’t want the workflow to run.

I’m not sure how to identify/filter the specific product or price because I don’t see the Price ID in the data coming from the Complete Checkout trigger.r?

Pabbly Support — Reply ·

Hello Mariana,

Based on the response received in your Stripe trigger step, we can see that you have received customer.created as your trigger event while setting up the webhook in your Stripe account. Because of this, you are not getting the product details in your trigger step.

Please make sure you set up the webhook in your Stripe account with only one event type: checkout.completed, and nothing else. Then, capture a new order in your trigger step and check if the product details are received in the trigger step.

Once the product details are captured in the trigger step, you can add a Filter step to your workflow.
image.png
Please check out the video shared below.
https://youtu.be/RzsVqsKahIA?si=6kr5uE0n7iAJtxc7

Thanks & Regards,
Arshil Ahmad
🌐 Pabbly.com
Mariana Lopez — Reply ·

Thank you! 😊

Pabbly Support — Reply ·

Glad we were able to help.

Thanks & Regards,
Arshil Ahmad
🌐 Pabbly.com

Back to all forum threads · Log in to reply