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 / Flow is only sending a...
Power Automate
Answered

Flow is only sending attachment, not word document

(4) ShareShare
ReportReport
Posted on by 819 Moderator
Good morning everyone, 
 
I have made a flow also( with this flow I am only getting image/attachment). How can I get word document also with the this.
 
 
 
 
What could be the best solution. I would be thankful for solution.
Categories:
I have the same question (0)
  • narayan225 Profile Picture
    2,547 Moderator on at
    When you create the word document, are you attaching it to the list item that you are fetching attachments from?
     
    What I can see from the screenshot is that you are creating a word document after populating the template and are getting all the attachments of the list item and sending it via email.
     
    If you are not attaching the word document to the list item first, that could be the issue.
     
    Please check and see if that is the problem.
     
    Hope this helps.
    Cheers!
  • Suggested answer
    Zdenka_Cech Profile Picture
    101 on at
    Hi 
    I think you want to append the word to the variable array 'Attachments'.
    If so after your 'Create Word Document' action add 'Get file content using path' get the content of the recently created word file from action 'Create word document'. 
    Then after the loop 'Apply to each' just add new action 'Append to array variable' and append the file 'Display name' and 'Body' to your array variable 'Attachments' same as you did in the loop.
    Hope it helps. 
    *Z
  • Suggested answer
    David_MA Profile Picture
    14,499 Super User 2026 Season 1 on at
    When you initialize the array variable to store the attachments for Outlook, you need to set the default value to the Word document you created. Based on your screen shots, the Word document is not an attachment in your list, which is why it is not included since the apply to each step is based on the attachments. You will need to add another Get file content action after you create the file from the template first before you can set the default value for the variable.
     
    If the Word document generated from the template needs to be an attachment to the list item, you will need to add it to the list before you get the attachments.

    **Didn't notice this had already been answered. :-)
  • Verified answer
    MTNK Profile Picture
    819 Moderator on at
     

    I used the union expression to handle the Attachments and combined both the Word document and other attachments within a single expression. This approach worked perfectly for my case.

     

    I've also attached an image of the flow for reference.

     
     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard