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 / Copilot Studio / Create an effective au...
Copilot Studio
Suggested Answer

Create an effective autonomous agent

(1) ShareShare
ReportReport
Posted on by 91
Hello. I'm currently developing an agent in Copilot Studio. I want my agent to be able to send emails, create Word documents, or create Word documents and email them, all depending on the user. Users have different behaviors. Sometimes they ask the agent directly and have the agent email them the answer, or create the answer in Word format. But they also often ask the agent first, the agent answers, and then they ask the agent to create the previous response in Word format or send the previous response to email. How do I address all these possibilities?
Categories:
I have the same question (0)
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,562 Super User 2026 Season 1 on at
    hello, document generation come with the feature "code interpreter" you could use with 2 different way
     
    inside the agent (in setting enable code interpret) or if you want more control from AI builder prompt (tool prompt from the agent)
     
  • Michael E. Gernaey Profile Picture
    53,960 Moderator on at
     
    What you appear to be asking is, "how do I support them asking for documents before or after a question", not specifically (per say) how to build the document. I mean you may want that also, but you are really asking, how do I support providing the document at the Requesters leisure, not at some forced time
     
    AKA, conditional document transfer to them based on them asking for it either initially within their question or after they asked the question, but didn't ask for them to download it.
     
    Correct?
  • Michael E. Gernaey Profile Picture
    53,960 Moderator on at
    Either way, you are going to need to Capture the inputs and outputs and have conditional branches to track what they asked for and how, and then react too it.
     
    You will always have access to the previous question if you store it in a Variable, so that essentially you are keeping state. Then you would have to decide... hey do I have multiple Topics, that get triggered based on their Request, or do you keep state in a single Topic, and as things come in you capture what they ask, you look at your variables in a condition or use a Generate / Create Node based on their question, where your data you have been capturing can be used as a knowledge source, including the whole conversation, allowing the agent to see what they want.
     
    We would have to sit down and map out the scenarios fully to build it out correctly but the basis is above for what you need to do.

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!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 612

#2
chiaraalina Profile Picture

chiaraalina 161 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 116

Last 30 days Overall leaderboard