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 Automate
Unanswered

Get File Content

(0) ShareShare
ReportReport
Posted on by 27

How would I make a Flow that uses Get file content to essentially copy and paste the text from a .txt file into an email (using Send an email V2)? I do not want to embed it like a photo. My goal is to have the text in the .txt file be formatted in the outlook email using html - if the text can essentially be copied and pasted into the email. 

 

Here is what I have so far, but the text from the document does not show up: 

Edit your flow _ Power Automate - Google Chrome 4_22_2020 6_21_08 PM.png

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    hi @CobraBitYou editd

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @CobraBitYou 

     

    Add a compose action after the Get file content. Here you can capture the file content. Then map the output of the compose in your email.

     

    Here are the steps I followed:

    image.png

     

    Here is my test result

    image.png

     
  • CobraBitYou Profile Picture
    27 on at

    Thank you! That worked perfectly. Now my flow finds the .txt file in a specific folder, get the contents of it, adds the contents to the html formatting in an email, and sends the email. Much appreciated! 

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard