Showing results for 
Search instead for 
Did you mean: 
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.



Community Support Team
Community Support Team

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.


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.


Please take a try.


Best Regards,


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


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,153)