Order workflow does not trigger due to delays in shopify data collection

Order workflow does not trigger due to delays in shopify data collection

JackJack1
Shopify Partner
15 0 4

I created a workflow to assign a tag on an order based on customerJourneySummary details.

 

The issue is that the customerJourneySummary is populated 2-3 minutes after the order is paid. Therefore, the workflow fails as at the time of the run the customerJourneySummary firstVisit/lastVisit is still null.

 

What trigger should I use in such a scenario? I chose order_fulfilled as opposed to order_paid do delay the workflow process but there is no guarantee that order_fulfilled would provide enough time buffer. Is there a trigger that works when the customerJourneySummary is populated?

 

Thanks 

Reply 1 (1)

G_A77
Shopify Staff
4 2 2

Hey @JackJack1 You can add a wait step with a delay of a few minutes so that the customer journey fields get enough time to be populated