Skip to main content

Notifications

Power Automate - General Discussion
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. 

  • TheFactorY Profile Picture
    TheFactorY 29 on at
    Re: How to let Power Automate recognize variable from uploaded file

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

  • DavidLin Profile Picture
    DavidLin 49 on at
    Re: How to let Power Automate recognize variable from uploaded file

    @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

     

     

  • Hardesh15 Profile Picture
    Hardesh15 7,087 on at
    Re: How to let Power Automate recognize variable from uploaded file

    @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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard