Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

Agent changing answers after output

(6) ShareShare
ReportReport
Posted on by 16
Has anyone else ran into an issue with the agent responding to a generative answer action where it is set up so if it is unable to answer the question due to lack of data (hosting specific files on sharepoint) it outputs 'Insufficient Data' which i need for a condition to redirect to another topic. The agent does output 'Insufficient Data', but then replaces it with my input query with a colourful transition.
Is there anyway to stop this or another avenue i can go down?
Categories:
  • Verified answer
    EM-15050935-0 Profile Picture
    16 on at
    Agent changing answers after output
    @CA1105 not sure if this is the same thing your dealing with, but i took over a project and after the generative answer action there was a message action with activity.text as the input. Figured out that this was actually overwriting the generative answer output for some reason. Getting rid of this got it functioning correctly.
  • CA1105 Profile Picture
    480 on at
    Agent changing answers after output
    Is this resolved? Looking for same.
  • Inogic Profile Picture
    1,023 Super User 2025 Season 1 on at
    Agent changing answers after output
    Hi,
     
    1. Modify the Generative Answer Node's Output Handling:
      • In Copilot Studio, review the configuration of your Generative Answer node.
      • Ensure that the output for scenarios where data is insufficient is explicitly set to "Insufficient Data" and that no fallback to the user's input is defined.
      • This may involve adjusting the response templates or conditions within the node to prevent the default behaviour.
    2. Add Conditional Logic in the Conversation Flow:
      • After the Generative Answer node, add a conditional step to check if the output is "Insufficient Data."
      • If true, proceed with the desired topic redirection.
      • If false, handle the response accordingly, ensuring that the user's input does not replace the "Insufficient Data" message.
    3. Utilize Application Insights for Debugging:
      • Enable Application Insights to monitor the agent's behaviour during interactions.
      • Analyse the logs to identify any unexpected transitions or outputs that might be causing the issue.
      • This can provide insights into whether the fallback to the user's input is occurring due to a misconfiguration or a system behaviour.
    4. Use a Power Automate Flow:
      • Fetch content from SharePoint programmatically.
      • If nothing is returned, send "Insufficient Data" back to agent as a response string.
      • Since it’s a structured response, agent won’t override it with the user input.
    Hope this helps.
     
    Thanks!
    Inogic

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 >