Logic Apps Agentic automation flow. the output is not pupulated into docx file

Ben Wade 20 Reputation points
2025-06-04T16:27:37.96+00:00

Hi Everyone,

I am new to building logic apps flows, could you please guide me here. I want to create an automation flow.

what I am trying to achieve:
Default Agent (gpt 4.1) should answer to my questions, then put the responses into docx file and send this docx file to my email. Here is my flow, please guide me through, what am I missing? Benutzerbild Benutzerbild User's image

Benutzerbild for some reason I get file like this and it is empty Benutzerbild

inserted as Plain Text Concent ControlBenutzerbild Thank you in advance. IF some of you try to recreate this simple flow, would be helpful if you attach the sceenshots fo your flow

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,543 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Praveen Kumar Gudipudi 1,875 Reputation points Microsoft External Staff Moderator
    2025-06-05T10:20:19.1166667+00:00

    Hello Ben Wade,

    You can directly send report as document in mail attachment by following below steps.

    1, email attachment name: XXXXX.doc

    2.Content: compose action outputUser's image

    User's image

    please try above suggested steps and if it works, please accept the answer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.