
Announcements
Hi, I could use some help with a flow i've created so far.
I have created a flow in that goes as follow: received email --> HTML to text --> create task --> update task
Link to current flow design: https://ibb.co/TLsG1dx
When I send an email to a team channel in MS Teams, a task in planner is created. I would like to use this to follow up on leads. So far it works pretty good, but I would like to go a step further.
When I receive a lead I would like to send an email to a colleague and also at the same time create a task for him in planner. The one I send the email to would be different people (max 5). My idea would be to ensure that the tigger of my flow would be the sending of the email as i've done so far. Depending on who I send it to (person A, person B etc.) the task in planner will be created for the person who I send it to (remember: how I have made the flow now, it will be send to the channel adres in MS Teams already). I guess something has to change with the ''assigned to''.
How would I make this happen? Do I have to create 5 flows for every emailadres it needs to be send to? or can I ensure this within one flow?

Hello!
You can definitely handle this in one Flow. I suggest either using a SharePoint list to manage the list of assignees, or hard code the emails in an array variable inside your Flow (I prefer the list option personally...more flexible). You can then loop through that list using Apply to each and send an email to each of the people in the list/array.
If you can provide some screenshots we can probably help you further!
Take care,
Ashley
If this response provided an answer to your question please mark it as a solution.
If you liked my reply, please give it a thumbs up! Thank you!