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

Re: What's broken: my flow or the Flow?

Why isn't the condition checking user ID working in my email flow?

TomChuk
Tourist
9 0 2

I had wanted to compare the efficiency of two abandoned checkout emails so in a flow that worked well before I inserted a condition checking the last digit of user {{id}}.

TomChuk_1-1682341620655.png

Later in my stats, I discovered no data about Email 1A (the upper one for the odd numbers).

TomChuk_2-1682341904402.png

 

I checked some saved flow runs and there were no other events except those that passed this condition to fork B. Like there were no customers with an odd number at the end.

 

I was surprised and added another condition to my flow at the same stage.

TomChuk_3-1682342229436.png

But the result turned out to be the same: empty numbers in the "reach" column for fork A.

 

So here's my question. Where's the bug? In my flow or in the Flow?

 

Replies 5 (5)

DaveMcV
Shopify Staff
104 31 29

Hi TomChuk,

 

Looking at your screenshots, it looks like the Run example you posted shows it taking the odd path. Have you confirmed your Action after that Condition is hooked up to the correct email?

 

Identifying some Runs where the behaviour should take an expected path, but did something different would be helpful for debugging.

DaveMcV | Flow Development 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.
TomChuk
Tourist
9 0 2

Yes, sure, it confirmed, saved etc.

DaveMcV
Shopify Staff
104 31 29

Is the configuration for the email action correct?

 

The third screenshot showing the action was run but not updating the metrics suggests it could be a configuration issue in the action step.

DaveMcV | Flow Development 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.
TomChuk
Tourist
9 0 2

In my first scenario I used the simplest solution: condition with Then and Otherwise. And logs (saved runs) show that it was "otherwise" every time. I can't find any broken run that passed through "then" and later failed at the sending email step.
I'll try to add an waiting event before the sending 1A email to exclude this scenario. If something appears in failed runs then the problem in the email. I'll reach you tomorrow with an update.

TomChuk
Tourist
9 0 2

Whoa! I've just found in the list of our customers that literally every ID ends with an odd number. Therefore this flow won't split as intended. Is there any reason for this behaviour of the Shopify? %)