What's your biggest current challenge? Have your say in Community Polls along the right column.

Tag orders in flow when order converts from a specific URL

Tag orders in flow when order converts from a specific URL

Romina5
Visitor
3 0 0

I'm trying to create a custom flow where the goal is to create a tag on orders that convert from a specific URL on the site. 

 

The logic I have inputted is below: 

Start when ORDER CREATED >

Check if LANDING PAGE IS xxx > 

Do this ADD ORDER TAG "xxx"

 

Events have triggered  however the tag I created did not update in Orders. When looking at sessions, I can confirm the customer did land on this specific URL.

 

Any insight would be greatly appreciated, thanks!

 

Replies 8 (8)

ryan_i
Shopify Staff
24 6 9

Hi There,

 

Some things to check:

1. Below the workflow, there should be a list of workflow runs - clicking on one of these will show a details page that includes how the condition was evaluated (see an example below).

2. Are there other apps installed that modify tags on orders? Sometimes we see that apps overwrite tags after a workflow successfully adds a tag.

 

ryan_i_0-1715272420598.png

 

Thanks,

Ryan

- Finding Flow useful? Leave us a review.
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
paul_n
Shopify Staff
1445 157 334

To add to this, conversion data like landing page will probably by empty/null when you look at the workflow run. If so, it's because they are processed well after the order is created (the event that starts the workflow). To be assured that data is available to Flow, you need to add a wait step (processing can take up to 48 hours).

That said, you may find other issues in the workflow run to fix. So definitely check it out

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Romina5
Visitor
3 0 0

OK great thanks, I will try this!

JamesRen
Visitor
2 0 0

Hi Paul,

 

Can you provide any more information on what you mean here? What do you mean by adding a wait step? Where is this step added?

 

Thank you very much in advance.

 

James

paul_n
Shopify Staff
1445 157 334

You add a wait step after the trigger. Any data checked after the wait step will be refetched, so by waiting you give the parameteres time to be filled in.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
JamesRen
Visitor
2 0 0

Okay great, thank you very much. A wait step of 48 hours? 

paul_n
Shopify Staff
1445 157 334

48 hours should definitely work. If it's not available then, it wasn't set. It's possible faster would work, but you would have to tolerate occasional misses.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Romina5
Visitor
3 0 0

Thanks for this, I've checked over workflow runs and each case has resulted as empty / conditions was false. There are no related tag apps installed.