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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to let Power Autom...
Power Automate
Unanswered

How to let Power Automate recognize variable from uploaded file

(0) ShareShare
ReportReport
Posted on by 49

Hello,

 

The format setting in "Send email" aciton is not rich enough. I prefer to prepare email content by Outlook first,  use "View Source" in Outlook to export email body into txt format, then import the txt file into "Send email" body. This works good when the email content has no dynamic change.

 

Right now I need to add dynamic content, like get unique value from Excel file and send to different people, I cannot do my previous way, and it needs to put the email content in "Send email" body first and add variables per need. So I have to use limited format setting in "Send email" aciton again.

 

I am curious to know if it's feasible, to add variables in txt file (or other file format), import this txt file in "Send email" body and Power Automate can also automatically recognize these variables. 

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @DavidLin First you need to design your flow and then copy paste dynamic content from action to your text file. dynamic content will automatically resolve to requred input if you have no typo.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • DavidLin Profile Picture
    49 on at

    @Hardesh15 , I do not have too much knowledge how to add the variable in txt file. I did a test like below flow, the txt file only has @{variables('Name')} . In my received email, the email content shows the same like txt file @{variables('Name')} , it cannot show "David" as variable.

    DavidLin_1-1664155458070.png

     

     

  • TheFactorY Profile Picture
    29 on at

    Same issue here.. may i bump this? or did someone find a solution @DavidLin ?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard