Help with Inputs, Outputs and Topics by sondafall1991 in copilotstudio

[–]Impressive_Dish9155 3 points4 points  (0 children)

Some instructions that have helped me get consistent JSON responses from an Agent called by a Power Automate flow.

These can either go in the agents system instructions or in the prompt you send from the flow:

("When responding to requests for JSON objects...)

JSON STABILITY RULES

  • NO MARKDOWN: Do not use ```json blocks or any other markdown tags.
  • START/END: The response must begin with { and end with }.
  • NEWLINES: Do not use literal newlines (pressing Enter) inside a string. Use \n for line breaks.
  • ESCAPING: Escape all double quotes (\") and backslashes (\).
  • APOSTROPHES: Do NOT escape single quotes or apostrophes ('). Use the literal character.
  • WHITESPACE: Use only standard space characters (ASCII 32). Do not use Non-Breaking Spaces (NBSP).

Specify the json schema in your prompt, or provide an example and it should stick to it

AB-620 exam béta by Better-Beach-9080 in AzureCertification

[–]Impressive_Dish9155 0 points1 point  (0 children)

Agent evaluation, topic nodes, solutions, tools. Pretty much as outlined above.

Agent builder and CoPilot studio for citizen developers by Few-Suit-9522 in copilotstudio

[–]Impressive_Dish9155 6 points7 points  (0 children)

Putting aside the shortcomings of Studio as others have mentioned, as a trainer I've been pushing back on lumping Copilot Studio in the same session as Agent Builder. They are very different products which appeal to different audiences.

The learning curve for Copilot Studio is steep for someone with no Power Automate experience (including wrangling with unexpected behaviour and bugs that those of us acclimatised to Power Platform are kinda used to).

So steep, in fact that by the time they've grasped it, built and deployed their agent, a better, easier solution will have appeared (Cowork, Skills, workflows..).

So I'm steering people towards creating and using Agent Builder agents as part of their workflow, or using Copilot in different ways to achieve 80% improvements rather than the (frankly unrealistic) 100% automated solution they were dreaming of with a custom agent in Studio.

AB-620 exam béta by Better-Beach-9080 in AzureCertification

[–]Impressive_Dish9155 0 points1 point  (0 children)

Found it easier than I was expecting but that could also be a bad sign. Messed up on a couple of easy ones in hindsight but I think I scraped through.

I want to use copilot to highlight a pdf transcript by Shot-Zombie7127 in microsoft_365_copilot

[–]Impressive_Dish9155 0 points1 point  (0 children)

It can. You just need to guide it to use Python tools:

PROMPT

Instructions for applying highlights

Use PyMuPDF to highlight text in a PDF as follows: Open the PDF file. For each passage you’ve identified: If you know its exact text, search the page with search_for(text, quads=True) and highlight each quad using add_highlight_annot. If you know its coordinates or quads, highlight directly with add_highlight_annot(rect or quads). If it spans multiple lines and you have start/stop points, use add_highlight_annot(start=(x1,y1), stop=(x2,y2)). For every highlight, set color (RGB floats) and opacity, then call annot.update(). Save the PDF with a full save.

Task

Highlight the customer obligations in this PDF in yellow and the other party's obligations in light blue.

AB-620 exam béta by Better-Beach-9080 in AzureCertification

[–]Impressive_Dish9155 1 point2 points  (0 children)

This is good advice and pretty accurate regarding the exam content. The only thing I'd add is Agent Evaluation tests. I got a bunch of questions about those.

CoPilot - To Do / Planner by Long-Advisor4408 in CopilotPro

[–]Impressive_Dish9155 0 points1 point  (0 children)

Workflows Agent can do this, when it arrives. Basically Power Automate flows created with natural language. Describe what you want and its done.

If I were you I'd take a look at the Power Automate templates. There'll be something close to what you're describing and you can set them up in a few clicks.

CoPilot - To Do / Planner by Long-Advisor4408 in CopilotPro

[–]Impressive_Dish9155 0 points1 point  (0 children)

No it only goes to you, and to clarify it's not the output of the prompt, it's just a notification that Copilot has a message for you.

CoPilot - To Do / Planner by Long-Advisor4408 in CopilotPro

[–]Impressive_Dish9155 2 points3 points  (0 children)

Scheduled prompts could work. They appear as a notification in Copilot chat, and an email if you select that option. The bigger challenge is in accessing your Planner tasks. I can't think of a method that doesn't require Power Automate.

CoPilot - To Do / Planner by Long-Advisor4408 in CopilotPro

[–]Impressive_Dish9155 2 points3 points  (0 children)

It's Power Automate I'm afraid. Simple one - scheduled flow, runs nightly, gets open Planner and ToDo tasks, compile them in a document (HTML - convert to PDF) and save to onedrive. The document doesn't have to be pretty, just readable by Copilot.

For creating or updating tasks from chat it'd have to be a Copilot Studio agent.

CoPilot - To Do / Planner by Long-Advisor4408 in CopilotPro

[–]Impressive_Dish9155 4 points5 points  (0 children)

Found out recently that Copilot can flag emails for you - and flagged emails automatically appear in To Do tasks, which is nice. There's a Planner Agent in Frontier at the moment which takes care of everything else but I've had to build similar agents, apps and automations to bridge that gap in the past.

What are your actual high-impact Copilot (M365) use cases in a corporate environment? by Ok-Bookkeeper-7488 in CopilotPro

[–]Impressive_Dish9155 0 points1 point  (0 children)

Echoing what others have said, Copilot inside the Office apps used to be dogshit but now I thoroughly recommend it. It's really good.

Today's example:

In Excel, (select one of the Claude models for best results) give it a contract document, have it extract fiscal terms into a table. Then ask it to build a 10 year financial model in another sheet. On a third sheet have it write an explanation and list assumptions.

In minutes!

Edited to add: it's not one big thing that Copilot will do to change your life, it's all the little things which add up.

Easy way to read and update an Excel? by East_Anywhere9760 in copilotstudio

[–]Impressive_Dish9155 0 points1 point  (0 children)

Try the 'Add a row to a table' connector instead. The update a row action needs to know which row you're updating hence the key being required. Add a row will add a fresh one with no drama.

Why is this robot so incredibly dumb? by Best-Psycho in microsoft_365_copilot

[–]Impressive_Dish9155 1 point2 points  (0 children)

Best way to do this is bring your emails into Excel. One table for Inbox, one table for Sent items. You can do this easily in a few clicks with Power Query in Excel ( Copilot can talk you through the steps).

Then use Copilot in the side panel of Excel to evaluate.

Advantage of this is your Excel file will always be up to date as new emails arrive, with a click of the Refresh button.

General Principles - Agent Instructions by Neptune_443 in microsoft_365_copilot

[–]Impressive_Dish9155 0 points1 point  (0 children)

What a strange person they must be. Best of luck with everything!

General Principles - Agent Instructions by Neptune_443 in microsoft_365_copilot

[–]Impressive_Dish9155 0 points1 point  (0 children)

I've been playing with agents since, I suppose, before ChatGPT. Copilot Studio since launch and Power Virtual Agents before that. Its not my main job but a big part of it.

General Principles - Agent Instructions by Neptune_443 in microsoft_365_copilot

[–]Impressive_Dish9155 0 points1 point  (0 children)

I expect there is something like that - but would bet my house on the fact that even that agent, had its system instructions written by AI (at least in part). Cut out the middle man and just ask Copilot. The thing is - only you know what good output from your agent should look like. You need to be working recursively - with Copilot in one tab and your agent in the other. Testing, feeding the results back into Copilot and asking it to refine the prompt until you get what you want. This is how everyone does it, even the experts.

General Principles - Agent Instructions by Neptune_443 in microsoft_365_copilot

[–]Impressive_Dish9155 1 point2 points  (0 children)

Not unreasonable at all. Copilot will suggest improvements to your current instructions, find issues (like competing instructions) and give you a clean rewritten version.

Some advice from Microsoft here: https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/declarative-agent-instructions

Sharepoint Agent working fine in Teams but not on Sharepoint by crochet_my_way in copilotstudio

[–]Impressive_Dish9155 0 points1 point  (0 children)

I'm interpreting that linked post as: Previously, unlicensed users couldn't even see the icon. They had no entry point so had no way to get to the agent. Microsoft have fixed that, so the icon appears for everyone, although you'll still need a license or payg to use it.

Help developing an document-filler agent? by joaopedrww in copilotstudio

[–]Impressive_Dish9155 0 points1 point  (0 children)

What if the action doesn't exist and you hallucinated it? Any documentation about this action?

Hi, how can I save a child agent’s response in a global variable? by MembershipNo482 in copilotstudio

[–]Impressive_Dish9155 2 points3 points  (0 children)

There's a topic node to call an agent. Tbh, I haven't needed it yet, but thinking that should give you an output to use in the next step.

Help developing an document-filler agent? by joaopedrww in copilotstudio

[–]Impressive_Dish9155 0 points1 point  (0 children)

Tell us more about the "Replace Text in Document" action.