web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Copilot Studio - Building Copilot Studio Chatbo...
Suggested answer

Add contexts to questions before giving it to the Agent

(3) ShareShare
ReportReport
Posted on by 12
Hello Community,
 
We have a use-case where we want to add some contexts to the questions posted to the Agent. 
I know it can be done with conversational boosting topic, but is there any option to add something by default?
 
Thanks and regards,
D
Categories:
I have the same question (0)
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    487 on at
    Add contexts to questions before giving it to the Agent
    hello
     
    To catch you have 2 way
     
    - first don't use any topics and add intelligence inside of conversationnal boosting
    - second : use the trigger "a generative answer is made" inside a topic (replace the default one) and then you could change what ever you want before message will be show to the end user.
     
    how to add context from there
    - AI Builder prompt or power automate
     
    hope this help :)
  • DC-05021134-0 Profile Picture
    12 on at
    Add contexts to questions before giving it to the Agent
     
    thanks for the reply. Apologies that I was not able to explain my requirements clearly.
     
    If there's a bot using knowledge and also there are certain topics. When it finds something from the knowledgebase, it goes ahead and replies with that knowledge(kg). But is there a way to tweak the query itself for improving the search of the Kg?
     
    Regards,
    D
     
  • Michael E. Gernaey Profile Picture
    47,123 Super User 2025 Season 2 on at
    Add contexts to questions before giving it to the Agent
     
    So it is what I thought. So in the UI no, but in the back end, if someone triggers a topic by phrases, or whatever Trigger you have configured (events, messages etc), you can grab what they asked in your Topic, there is no need to force it into Conversational Boosting.
     
    You can configure a Topic to essentially capture all input from the Ux chat. Put what they set into a variable and append additional information or change it up before its applied to the Knowledge.
     
    Heck you could grab it change it and PASS it to the Conversation Boosting topic if you want as an input.
     
    When you say before the knowledge gets it, it really depends because imagine you are using AI and you are passing their Prompt to the AI agent, you can certainly change it before (post the ux), same for if its a Tool you are calling, feel free to modify it in whatever Topic you configured to capture that question (or all questions).
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • DC-05021134-0 Profile Picture
    12 on at
    Add contexts to questions before giving it to the Agent
    @Michael E. Gernaey thank you for the answer.
    What I meant is, given the user Query (q), we firstly understand using some flows about the nature of the query and add some context c to q. It could be something like rephrasing q or just appending c to it.
    It can be done in conversational boosting topic by changing the input to create generative answers. 
    Would be beneficial if we can do it for all queries before the knowledge is used.
  • Michael E. Gernaey Profile Picture
    47,123 Super User 2025 Season 2 on at
    Add contexts to questions before giving it to the Agent
     
    Did you still need help with this? 
  • Michael E. Gernaey Profile Picture
    47,123 Super User 2025 Season 2 on at
    Add contexts to questions before giving it to the Agent
     
    When you say, add context "before" giving it to the agent, I do not fully understand.
     
    If you mean.
    User starts to type ABC and soon as they hit enter  you add stuff, no, not in the standard Ux. You could probably create a custom component but no.
     
    However, I am not sure what you mean you know it can be done with conversational boosting topic? Can you give an example.
     
    I do not know what you are doing WITH the data typed in, so if you want to, for instance, add details to it, before handing it to a Tool, you can certainly do that sure. That's no problem.
     
    But would love to understand what you mean and an example please.
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 468 Super User 2025 Season 2

#2
stampcoin Profile Picture

stampcoin 52 Super User 2025 Season 2

#3
trice602 Profile Picture

trice602 46 Super User 2025 Season 2

Featured topics