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 12

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:
  • Verified answer
    tom_riha Profile Picture
    10,187 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard