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 Platform Community / Forums / Power Automate / No attachment in my Po...
Power Automate
Answered

No attachment in my Power Automate Flow

(0) ShareShare
ReportReport
Posted on by 16

Hi All,

 

I have created a Power Automate flow with the trigger (when a file is created property only) that should send an email with the attachments, the flow is running except I have no attachment in the file and I don't have the attachment(s), I don't see where the problem is, if you can help me

 

power automate 1.jpgpower automate 2.jpgPower automate 3.jpg

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    As you are dealing with a single file triggering the flow, see if the following flow with three steps will be suited to your needs:

    2021-11-14_12-33-04.png

    2021-11-14_12-33-29.png

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Fantoma25 Profile Picture
    16 on at

    Hi Ellis,

     

    Thank you for your answer, I have created this flow to deal with several files,

     

    if you can help me,

     

    Regards

  • Fantoma25 Profile Picture
    16 on at

    Hi Ellis,

     

    Thank you for your answer, I have created this flow to deal with several files,

     

    if you can help me,

     

    Regards

  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    Can you share screenshots of the flow so I can understand the context and any error messages.

    As far as I understand:

    • the trigger is when a file is created in a document library,
    • then based on some condition you are getting a number of documents files (Get Files) from another document Library?
    • these documents are sent as an email attachment
    • the attachments are received but they have no content - i.e. they are empty.


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Fantoma25 Profile Picture
    16 on at

    Hi Ellis,

     

    See below screenshots below, tell if it what you need

    1)pic 1.jpg

    2)pic 2.jpg

    3)pic 3.jpg

    4)pic 4.jpg

    5)pic 5.jpg

    6)pic 6.jpg

    7)pic 7.jpg

    😎pic 8.jpg

    9)pic 9.jpg

  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    Thanks for the images from the flow. That was really helpful

     

    (1) I am trying to understand what needs to be done in the flow:

    1. Trigger: When a file is created in a document library
    2. If the filename from the trigger action starts with 'INFORM.' then email the file as an attachment

    (2) Is this understanding correct? If so, the flow can be created as mentioned before (see below). Note the flow is only triggered for each new file that is added to the document library - so the email will only contain ONE attachment file:

    2021-11-17_09-20-43.png

    We can later add a condition later to check if the filename starts with 'INFORM.' This can either be a trigger condition or a condition action. Will the above type of flow suit your need? Are you able to create a simplified flow like above and re-test

     

    (3) Can you also send screenshots of the runtime. For example:

    2021-11-17_09-22-34.png

    Ellis

  • Fantoma25 Profile Picture
    16 on at

    Hi Ellis,

     

    the flow failed, below details :

     

    issue 1.jpgissue 2.jpgissue 3.jpgissue 4.jpg

     

    Fantoma25_0-1637220393552.png

    Regards

  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    Thanks for the screen shots.

    I noticed that then I ran my test flow,  the Get file content action has the spaces and slashes in the url are encoded. In your action they are not encoded:

    2021-11-18_07-49-52.png

    Both actions should work. However,  in your flow can you replace the Get file content action with Get file content using path as below and re-test:

    2021-11-18_08-01-15.png

    Remember to update the email attachment details:

    2021-11-18_08-03-10.png

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Fantoma25 Profile Picture
    16 on at

    Hi,

    Now is working, what I would like now it is to apply a each statement as I can receive several file with the name starting by "INFORM."

  • Ellis Karim Profile Picture
    11,691 Super User 2025 Season 2 on at

    Could you remind me what the original flow was trying to achieve.  This is what I understand:

     

    Untitled Diagram.drawio2.png

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard