Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

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 Team
Community Support Team

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

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

Helpful resources


Power Automate Community User Group Member Badge

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


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,807)