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

Get file content?

(0) ShareShare
ReportReport
Posted on by 19

Struggling to finish my first flow. I don't know what to input in the "Attachments Content - 1" field. Ultimately, I'm trying to create an automated flow that whenever a file containing a certain word is created in sharepoint, that file will be attached to an email and sent to me. Any assistance is greatly appreciated.

 

00000_0-1687781199569.png

00000_2-1687781275956.png

 

00000_3-1687781320277.png

 

Categories:
I have the same question (0)
  • AndreasN Profile Picture
    318 Super User 2024 Season 1 on at

    Place your "Get file content" above your "send e-mail".

    The dynamic content in the attachment content is the output from your "Get File Content", it should look like this:

    AndreasN_0-1687786239400.png

     

  • 00000 Profile Picture
    19 on at

    That certainly put me on the right path! I received an email that included the link to the file, but not the attachment. Below is the error:

    00000_0-1687787306769.png

    I don't know if it has to do with my "File Identifier" (which I got with ChatGPT's assistance)? The file name changes every week, but there is a word in the file name that remains consistent, which I incorporated in the "Condition". Any suggestions to remedy this?

  • abowen Profile Picture
    222 on at

    I believe you need 'ID' inside your square brackets instead of 'Identifier'. Just off the top of my head. 

  • Verified answer
    AndreasN Profile Picture
    318 Super User 2024 Season 1 on at

    You need to use the "dynamic content" for the file identifier, using identifier is indeed correct, but from your first picture it seems like you have just copied the text from chatgpt into the text field.

    Or alternatively, write the text in the expression field of the text input.


    Should look like this, except mine says apply to each 3 because I am running it through an apply to each, yours might look different depending on the output you use. 

    AndreasN_1-1687959709856.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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard