Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Cier/rFL5BeAkpXUpDBXl6
Power Automate - General Discussion
Answered

Power Automate Issue - Recurrence Mail Based on File Metadata

Like (0) ShareShare
ReportReport
Posted on 2 Nov 2022 08:47:35 by 7

Hi All,

 

I am struggling to create a flow that sends an email based on the value of a specific metadata column value.

Condition part runs fine until I add the part that has to send the email. 

The problem seems to be the dynamic content I add in the "To" field. When doing this an "apply to each" is created with an output of "current item". The dynamic content is a "Person" metadata column.

Rauties_0-1667378394269.png

 

Any assistance would be appreciated.

 

Thank You

  • Rauties Profile Picture
    7 on 02 Nov 2022 at 12:59:08
    Re: Power Automate Issue - Recurrence Mail Based on File Metadata

    Hi

     

    Thank you for the response.

    You are correct, it was set to multiple responses. I will go and turn that off.

    I will test if my flow works then and if not use your suggestion here.

  • Verified answer
    ScottShearer Profile Picture
    25,212 Most Valuable Professional on 02 Nov 2022 at 12:39:54
    Re: Power Automate Issue - Recurrence Mail Based on File Metadata

    @Rauties 

    I suspect that the person or group column allows for multiple entries, and you want to send a single email.  Since the column can have multiple entries it returns an array.  When you reference an array, it puts you into a loop.

    You need to create a semicolon delimited string containing all of the emails addresses and use that string for the email address.  The easy way to do this is by using a join() expression:

    join(column ref for email address goes here,';')

    image.png

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started