WooCommerce Product Filter

Status: Closed · Asked by joker on · 0 views

joker — Question ·

I have a filter after a WooCommerce order is placed that will only continue if the line item matches a certain Variation ID. Essentially, I have Pabbly take action if a customer purchases a certain product. Pabbly is looking at the field Line Item 0 Variation ID 0. When the product is the only thing on the order this will work. I'm afraid if other things on the order the workflow won't execute because the product variation may be Line Item 1 instead of Line Item 0. How can I instruct Pabbly to check all Line Items for a specific Variation ID?

Pabblymember11 — Reply ·

Hey @joker

Regarding your concern, we would recommend you capture the webhook response in advance format and then pass the JSON array in the Filter action step afterward.

Kindly refer to the following screenshot for your basic understanding.

joker — Reply ·

Thank you! This worked perfectly!

Back to all forum threads · Log in to reply