Shopify trigger on SKU?

Status
Not open for further replies.

wolfgram

Member
I want to automatically create a new student account in Zenler whenever a specific course SKU is ordered in my Shopify store.

The trigger currently works on any Shopify New Order. How do I filter it to a specific SKU being ordered? I don't want a new course account created in Zenler for every single order, just the orders that have a course SKU in them...

Thank you.
 
P

Pabblymember11

Guest
Hey @wolfgram

How do I filter it to a specific SKU being ordered? I don't want a new course account created in Zenler for every single order, just the orders that have a course SKU in them...
Following the trigger event, you have the option to employ the Filter action step to handle the data according to specific order details.

For a comprehensive understanding of how to utilize the Filter action step, please review the video tutorial provided below:

 

wolfgram

Member
Thank you!

Since a single Shopify order can have multiple line items, and I need to check if ANY of those line items contains the SKU for an online course... how do I do that?
 

ArshilAhmad

Well-known member
Staff member
For this use case, you need to disable the Simple Response, and then create a new order to capture the details in array format.
1693547673941.png


Once you have captured the response in array format, add the Line Itemizer as the second step in your workflow, which will provide you with comma-separated SKUs.

Set your filter the way it's shown in the screenshot attached below..
1693548574529.png
 
Status
Not open for further replies.
Top