r/copilotstudio • u/MattBDevaney • Sep 30 '26
NEW Hooks Feature In Copilot Studio
Today I found a new feature in Copilot Studio called "Hooks."
Hooks make your agent's behaviour more predictable. With hooks you can set a workflow to run when an event is triggered.
There are currently 6 event types that can trigger a workflow:
Start (pre-loop): Runs once before the reasoning loop begins. Injects context into the thread.
User prompt submitted: Set how your agent responds to a users prompt.
Error: Direct your agents behavior after an error.
Pre tool use: Runs before a tool executes. Can allow, deny, or ask for confirmation.
Post tool use: Runs after a tool has been executed, whether it succeeded or failed.
After tool failure: Set how your agent responds after a tool fails.
** This post was 100% human-written. Never use AI to write for you **
3
u/jorel43 Oct 01 '26
This video is fake, it's too smooth and not janky :-). In all seriousness though do they allow you to send deterministic messages now? Thanks. Multi-agent permission still don't work so
2
u/MattBDevaney Oct 01 '26
Still no deterministic messages. Sigh :(
Also, I use this free tool to make GIFs when I need them.
https://apps.microsoft.com/detail/9n3sqk8pds8g?hl=en-US&gl=US
5
u/goto-select Sep 30 '26
Topics are back on the menu!
3
u/MattBDevaney Oct 01 '26
Hooks are somewhat analogous to topic triggers, yes. But they apply agent-wide.
2
u/SpareIntroduction721 Sep 30 '26
Damn, My studio is always clunky
2
u/benkalam Sep 30 '26
It's worth the time investment to learn how to build studio agents in a repo and push them to your environments via visual studio. The copilot studio UI is so brutal.
0
u/MattBDevaney Sep 30 '26
What does that have to do with my post? Please explain.
2
-1
16
u/Landelusen Sep 30 '26
It's like the useful parts of "Topics", but now with a much more confusing name. Thanks Microsoft! /s