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 / Emailing a collection ...
Power Automate
Unanswered

Emailing a collection of records to different users

(0) ShareShare
ReportReport
Posted on by 36

Hello All,

 

I hope this is the right sport for this. I am fairly new to power apps and I`m stuck on two things.

 

I have a scheduling APP I have built for my techs which is working good but I would like to add an email button to send to my PM's to check over there scheduled Jobs.

 

I can get this to work via the office365 connector but it is sending a email for each individual job to the PM... I would like to clean this up and have 1 email send to my PM's with the data of all there scheduled jobs.

 

I have had success and collecting the information but I'm not sure how to separate the items and match them to the PM's..  This is what I have so far.

 

In my APP I have a button that that kicks off a flow. The button creates a collections from a gallery and then it collects my information and sends it to the flow.

Button:
EmailPreLim-Dev'.Run(JSON(ColJobReady2,JSONFormat.IncludeBinaryData),SelectedDate,SelectedDate);
Clear(ColJobReady2)

 

This is my current flow:

legion1202_0-1604587653411.png

 

and below is my JSON format. The question that  I have is how do I separate all my items and then group them under each PM(Or is there a better way). I would imagine an array would be built for each PM.. Then once this is complete I would send a email to each PM email Address with the body of there array list only there jobs in the collection that was created from the button in power apps..

 

 

Thanks,

GA

 

{
    "type""array",
    "items": {
        "type""object",
        "properties": {
            "Customer": {
                "type""string"
            },
            "Customer Engineer": {
                "type""string"
            },
            "Docs Needed": {
                "type""string"
            },
            "EST_StartDate": {
                "type""string"
            },
            "Job Notes": {},
            "Job Scope": {},
            "Job_Number": {
                "type""string"
            },
            "Job_Type": {
                "type""string"
            },
            "Location": {
                "type""string"
            },
            "Outage Status": {
                "type""string"
            },
            "PD_OfficersNeeded": {},
            "PD_Time": {},
            "PD_Town": {},
            "PD_XStreet": {},
            "PW": {
                "type""string"
            },
            "Police Detail": {},
            "Project Manager": {},
            "Scheduled_Time": {
                "type""string"
            },
            "Tech1": {
                "type""string"
            },
            "Tech10": {},
            "Tech11": {},
            "Tech12": {},
            "Tech2": {
                "type""string"
            },
            "Tech3": {},
            "Tech4": {},
            "Tech5": {},
            "Tech6": {},
            "Tech7": {},
            "Tech8": {},
            "Tech9": {},
            "Tools Needed": {}
        },
        "required": [
            "Job_Number"
        ]
    }
}
 
 
 
 
 

 

Categories:
  • legion1202 Profile Picture
    36 on at

    Forgot to add... The second part to this question is once I get one email for each PM can I add approval works flows for each assigned job? Or is the approval work flow just for 1 email?

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 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard