Hi all 👋
I’m on Copilot Studio with Generative Orchestration ON. I use a custom topic triggered by “AI response generated” to PII-mask the model’s draft and replace it.
Issue
After “Fetching knowledge,” the unmasked draft briefly appears, then my masked message replaces it. I need to prevent any unmasked text from showing at all.
What I’ve tried:
In the custom topic:
Run a prompt (PII) with input = System.Response.FormattedText → returns sanitizedContent
.
Send only sanitizedContent
.
System.ContinueResponse = false (tested as first and last step).
With and without Power Automate (when used, returns values only, no user message).
Also tried Search knowledge sources inside the topic (mask then send).
How can I stop the generative draft from streaming so only my masked message is shown?
Is there a pattern to guarantee zero exposure of unmasked content in Generative mode?
Thanks a lot in advance! 🙏