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

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard