Showing results for 
Search instead for 
Did you mean: 
New Member

Trying to Update a Trello Card when a Microsoft Task is added.

Hi, I'm trying to update a Trello Card when a Task is added.   I'm having trouble getting one of the conditions to work.  The basic flow is this:

Outlook Task is added

Delay 10 seconds

Initialize variable "TaskExists" to false

Get a Simple Version of the List Cards from Trello (i've also tried List the Cards in a Board)

Apply to Each body of the Trello Cards

the Condition checking if the Trello Card Name contains (also tried is qual to) the Outlook Subject

for true conditions

Set Variable to true

Check the Condition is TaskExists is True

if yes, the Apply to Each

Update Trello Card


It is failing to set anything to true, even though they are!

I'd appreciate any help.  I've included some screen shots.


Collapsed Flow:



f2.PNGSuccessful Test Run:


Task Added:  Subject is highlighted




Cards Pulled.  A total of 23.  Last Card: Card Name is highlighted



Apply to each failed on all.  Yes Condition never triggered.


Community Support
Community Support

Re: Trying to Update a Trello Card when a Microsoft Task is added.

Hi @Cyngael,


First of all, whether you have checked all results of the Condition judgment in Apply_to_each is False.

I did a test on my side, directly copying the Card name and subject, and there is no problem you mentioned. In the last judgment of Apply_to_each, the result is true.


Besides, there are a lot of spaces in Card name and subject. If you manually enter the Subject or Card name, the number or position of the spaces may be inconsistent. You could consider using the trim() function to remove the space and judge.

trim(items('Apply_to_each')['name'])   contains trim(triggerBody()?['Subject'])


Please take a try.


Best Regards,


Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Re: Trying to Update a Trello Card when a Microsoft Task is added.

Hello, @Cyngael!

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-bacao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!

Flow Community Manager

Community Manager
Microsoft Power Automate | Power Virtual Agents
Are YOU a member of a Power Platform User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources


August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!


Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (3,879)