Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Flow error regarding condition



I have a question about building Flow.


I made a condition that If some item contains Email on specific column, I want to update an item.


To make it run, I put  


But error came out 

InvalidTemplate. Unable to process template language expressions for action 'Condition' at line '1' and column '2602': 'The template language function 'contains' expects its first argument 'collection' to be a dictionary (object), an array or a string. The provided value is of type 'Null'.'.


How can I change the type Null to string?

Or is there any way to solve this problem?


Thank you!

Super User
Super User

Re: Flow error regarding condition


Hi there! 

It looks like the Item you're getting is null when you're telling Flow to expect a string.  Do you want to post a screen shot of more of the Flow?  Maybe the whole thing would help, and we can go from there.


Keep us posted.



If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

Helpful resources


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


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 Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,816)