Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Modifying the prompt + response

(0) ShareShare
ReportReport
Posted on by
We are looking to create a custom CoPilot that will:
 
1) add a custom context
2) inject additional content into the prompt
3) call a 3rd party API from which we will generate a follow-up prompt
4) only return the response of the follow-up prompt to the user
 
So triggers are not applicable, since we want to apply the solution to any prompt.
I have not really seen how else to set a context and create a flow as described in steps 2) - 3).
 
Is it possible to create a trigger and simply leave the phrase empty to trigger on any prompt?
On the trigger I could then add a "generative answer", where I can set the context.
 
But it is not at all clear to me in what variable for the input I can access the users original prompt for modification.
 
Step 3) seems more straightforward. Here we would then want to take the response to the prompt, send it to a 3rd party API (with some auth token) which would then return the follow-up prompt to then re-submit to CoPilot to generate the final output send to the user in step 4).
 
Would greatly appreciate some tutorials or examples that do something similar.
 

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 1

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75