New Tool Radar

AI Agents & Automation

How to Require Human Approval Before an Agent Sends an External Message

Require a person to approve an agent message to an outside contact before it is sent, and send nothing while it waits.

Schematic with three steps: Gate the send tool with a human; Show the exact text and recipient to; Test approve once and reject once.

An external message, once sent, cannot be unsent, so it is the second step that must have a human gate after a database write. CrewAI offers human review at several depths: a pre-tool hook can ask a person to approve an action such as sending an email before it runs, and human input on a task makes a person review the agent’s final answer. Gate every outbound action, not just the first one in a run, and show the approver the exact message text and recipient. Set access control first if the agent or its approval queue is shared: anyone who can trigger it can make it send mail.

What you need

  • An agent with a tool that sends messages outside the team
  • A person who will approve or reject messages
  • One draft message to use as the approval test

Step 1: Gate the send tool with a human check

Add a pre-tool approval hook on the send tool, so the agent cannot call it without a person approving that exact call. The gate belongs on the tool, not on the agent’s instructions alone.

Step 2: Show the exact text and recipient to the approver

The approval request must carry the full message text and the recipient address. An approval for a message the approver has not read is not approval.

Step 3: Test approve once and reject once

Run the agent, approve the draft once and confirm it sends, then run it again, reject once and confirm nothing is sent. If a rejection still sends, the gate is on the wrong tool.

Worked example: synthetic message approval

The table below is a synthetic example. It shows the expected result of the message gate; no message was sent.

Check Expected Result
Agent proposes the message Yes Pass
Approve sends it once Yes Pass
Reject sends nothing 0 sent Pass
Approver saw full text Yes Pass

Expected result (UNTESTED). the draft is proposed, sent once on approval, and never sent on rejection, with the approver seeing the full text. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • Instructions alone do not gate a tool; the approval must live on the send action itself.
  • A message approved in one context can be wrong in another, so approve the exact text, not the idea.
  • An approval queue nobody watches is a stuck run, so name the approver before switching it on.
  • Set access control first on any shared agent: anyone who can trigger it can ask it to send.

Sources

See all