web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Process an email attac...
Power Automate
Unanswered

Process an email attachment in csv format

(0) ShareShare
ReportReport
Posted on by 96

I have an email in my Microsoft 365 (not Gmail) inbox that has a csv file attachment.  The email is from john@fakecompany.com.  The subject of the email is Here's your file.  The file is comma delimited and has a header row.  I would like to process this file in Power Automate.    For instance, I'd like to add up all the numbers in the fourth column of the CSV file.

 

I would have thought this would be easy, but apparently not.  Any suggestions are appreciated. Thanks in advance.

Categories:
I have the same question (0)
  • HaroldA Profile Picture
    96 on at

    For anyone else who is trying to figure out how to process CSV files, here's how I did it.  You can sign up for a free Cloudmersive account and use their connector.  The hard part is passing the right file to Cloudmersive.  You'll have to loop through the attachments and choose the csv file, which has contentType application/octet-stream .  Then you'll have to pass the contentBytes to Cloudmersive:

    Harold_Anderson_0-1645977105342.png

    After this point, your file will be in JSON, and you can do whatever you want with it.

    Harold_Anderson_1-1645977204434.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard