cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Track Emails send to a user and update the count in the excel file

Hi ,

 

I've created a flow which reads the excel attachment from an email in inbox and send email to users in that attachment. However I'd like to capture the number of emails send to each user after the send email action and keep updating the count in an excel file. I'm not sure on how to implement this. Below is the flow that I've created. I want to create a csv file after the send email action and update the count of number of emails send to each user.

 

Capture.PNG

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Track Emails send to a user and update the count in the excel file

Hi @Anonymous,

 

You could initialize an Integer type variable after Trigger-When a new email arrives to store the number of messages sent.

37.PNG

Then configure Increment variable action after Send an email action, and Value is set to 1. When the Send an email action is executed once, the value of the variable is incremented by one, and the variable value can be directly updated in the excel file.

38.PNG

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,224)