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 / Sending mail on Adding...
Power Automate
Answered

Sending mail on Adding new item in SharePoint

(0) ShareShare
ReportReport
Posted on by 3

Hi guys,

 

I have a list in my SharePoint, where I have 2 columns called Country, Industry. Now I have 5 different values for country and 5 values for Industry. Now in total I have 5*5 i.e, 25 combinations, now everytime I add a row in my list I want to send a mail where the body, subject, To are same but CC should vary according to the combination of country, industry. Is there a way to initialize a variable and set CC values for each condition and at last send  a mail. If yes please let me know how.

 

Thanks in advance.

 

@efialttes  @CFernandes 

 

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    I'd create a configuration list for that, a separate list that would contain 3 columns: country, industry, CCusers. As you said, the list would contain 25 items.

    Then in the flow, before sending the email, you would use 'Get Items' action on the configuration list with Query Filter 'country eq '[Country]' and industry eq '[Industry]'. That should give you just 1 item with the proper combination. You can then use the CCusers output of that action as the CC in your email.

     

    note: [Country] and [Industry] are dynamic content from your flow

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 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard