Re: Shopify flow cursor / loop on every ordered product?

Shopify flow cursor / loop on every ordered product?

John24
Shopify Partner
22 1 11

Hello! 

 

I am trying to create a flow that is triggered by an order, and will do a separate action for every product sold. 

 

This is what I have so far:

Start When Order Transaction is Created --> Send HTTPS Request action for every product sold in order. Right now this triggers once for the whole order, but I am trying to get it to trigger for each product variant sold.

 

I thought about using the Inventory Item Created action, however I do not want this to trigger when I accept new inventory in the system. 

 

Does anyone know of a way to do this? I noticed Shopify has a defaultCursor condition but I don't know what that does (I can't find any documentation on it).

Many thanks.

Replies 4 (4)

Ichonwitty
Explorer
50 0 5

Hey John

I understand your description and what I suggest is that if possible you have a klaviyo CRM or other related CRM integration to your shopify store.

 

If we can get this available, i think thus will be a very good  idea...

 

How convenient is it for you to share your store URL?

banned
John24
Shopify Partner
22 1 11

We need to send an HTTPS Request, and Flow would be the perfect solution if it could iterate through all of the products in an order. I am able to output all of the products, but I need to have a separate HTTPS request for each product. 

Ichonwitty
Explorer
50 0 5

Alright good

Can you share your store URL?

banned
Claud9
Shopify Partner
8 1 2

Hi @John24 , did you find a solution for this ? I have the same issue sending abandoned cart data to external email marketing platform.