How can I store orders in a Google Sheet only if the user's journey started from a particular link?

I was previously struggling to track orders converted from WhatsApp broadcating, so we decided to use UTM parameters in the website link for WhatsApp marketing. To automate the process of storing all orders initiated through UTM-tagged links in a Google Sheet, I turned to the Shopify Flow app. Unfortunately, Shopify Flow alone couldn’t accomplish this. Is there anyone who can help me set up this automation?"

Flow does have access to UTM parameters through “customerJourneySummary” but the UTM params can take up to 48 hours to be populated (after an order is created). So you would need to do something like Order created → Wait 48 hours → check UTM params

1 Like

Thanks for your reply, let me try this one

Question on the wait step - do you also need to get order data after the wait, or will the order data from the trigger itself be refreshed after the wait step?

The data from the trigger is refreshed after a wait step.

1 Like

Oh nice - I did a wait step recently and added in a get order data afterwards - so much simpler to not have to do that.