AI Agent with Slack Approvals
← Back to gallery
AnthropicAgent
AnthropicAgent Tool Result
SlackApp Mention Subscription
SlackSend Text Message
UtilitiesSubroutine definition
SlackSend Message With Interactions
SlackUpdate Message Blocks
SlackUpdate Message Blocks
UtilitiesSubroutine call
AnthropicAgent Tool Result
UtilitiesSubroutine call
AI Agent with Slack Approvals
AIAnthropicSlackUtilities
AI Agents with tools are very useful, but when the tools are delicate or have a non-trivial blast radius, it's crucial to have a human in the loop for reviewing any such tool use.
This is an AI Agent example with the Anthropic app and an approval harness for tool use. The agent responds to messages on Slack, and all tool use needs to be interactively approved by the user on Slack.
Agent
Complete Addition
Listen for Mentions
Send Response
Tool call approval
Request Approval
Business logic (built-in)Condition
Check Button
Update Message - Approved
Update Message - Rejected
Ask for approval
Business logic (built-in)Transform
Add
Complete Subtraction
Ask for approval (1)
Business logic (built-in)Transform
Multiply
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.