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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / nconsistent JSON Outpu...
Copilot Studio
Unanswered

nconsistent JSON Output & Data Handoff in Copilot Studio CUA

(0) ShareShare
ReportReport
Posted on by

I have built a Computer Use Agent (CUA) tool designed to scrape/extract tender details from public procurement websites

(e.g. https://www.gebiz.gov.sg/ptn/opportunity/opportunityDetails.xhtml?code=SPO000ETQ25000184&status=RELEASED&type=TQ&OPPORTUNITY_ID=1000000000000506597&origin=rss ).

Despite clear instructions, I am hitting two technical blockers that are preventing a smooth integration:

1. Non-Deterministic JSON Output

  • The Problem: The tool is instructed to return data in a strictly formatted JSON string. During testing, the behavior is inconsistent.

    • Success: Sometimes it returns a perfect JSON object.

    • Failure: Sometimes it returns nothing at all—even when using the exact same URL input. Although from the steps it appears that internally it has compiled the JSON but not presented back.

  • What I've Tried: Standard prompt instructions within the CUA configuration.

  • Question: How can I force the CUA to be more deterministic and strictly adhere to the JSON schema without these "no-response" lapses?

2. Returning Data to the Main Agent (Handoff)

  • The Problem: Currently, the CUA designer in Copilot Studio doesn't seem to have an explicit "Output" parameter section like standard Topics or Power Automate flows do.

  • The Goal: I need to pass the extracted JSON string back to the Main Agent or a specific Topic so I can parse it and use the variables later in the conversation.

  • Question: Since there is no native "Output" provision in the CUA tool UI yet, what is the best workaround? Should I be using a global variable, or is there a way to trigger a "Return Value" action within the CUA instructions?

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard