web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / contains ( ) not working
Power Automate
Unanswered

contains ( ) not working

(0) ShareShare
ReportReport
Posted on by 27
I have a flow that adds new users to a mailchimp list. If the user already exists the step fails. 
So I would like to add a condition that checks the current list for each users email address before attempting to add them.
below I have;
Members as string = outputs('Show_list_members')?['body/members']
Current User Email = items('For_each_1')?['primaryWorkEmail']
Members contains email = contains(outputs('Members_as_string'),outputs('current_user_email'))
the condition is 'Members contains email' = true

for every loop, the condition always = false. But If I open the 'Members as string' compose action and search for 'Current User Email' it is always there. 
So what is wrong?

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard