Trello Custom Fields Not Recognized

:bullseye: What is your goal?

I want trello to send emails if a card with specific conditions is moved to a list. If the conditions aren’t met, it should bounce back to the previous list.

:thinking: What is the problem?

The conditions are based on custom fields (contains invoice number, contains customer reference), but emails don’t send because it claims the to field is empty (email is a custom field in trello and so is reference and invoice), despite the fact that the value pill seems to recognize the text inside.
Also, the filter doesn’t recognize when the invoice custom field is empty, so it ends up running both paths in the router.

:test_tube: What have you tried so far?

I tried the map/get (based on Google ai, haven’t been too helpful), I tried iterator and it made no difference.
Adding a sleep tool for 5 seconds after watch card helped for the email to be recognized, but it didn’t help with the invoice field to know when it doesn’t exist. Ideally, I’d like it to run instantly without the sleep tool.

Hello @Ambitious,

Can you share more about the setup of the scenario and the in- and outputs that you have mapped? Feel free to share the scenario here.

Cheers,
Henk

Hi Henk,

I appreciate your response.

See attached & link to scenario, hope this helps.

Iterator Output.json (972 Bytes)

So the sample that you see in the flow control just shows one of the bundles that the iterator outputs. An iterator splits an array in individual bundles, for individual processing. Although this bundle has an email, does every bundle have one?

The scenario itself isn’t available anymore, but could it be that you are iterating over the custom fiels array? If so > each custom field will be processed as a bundle, but of course only one custom field has an email.