web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 532 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 461 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 256

Last 30 days Overall leaderboard