New Tool Radar

AI Agents & Automation

How to Add a Human Input Step to a CrewAI Task

Add a human input step to a CrewAI task so the crew pauses for a person's answer before continuing.

Schematic with three steps: Mark the task as needing human input; Run the crew and answer when it; Check the final output used your answer.

A CrewAI task can ask a human for input: the crew pauses, a person answers, and the task continues with that answer in hand. That is the right control when the next step depends on a judgement only a person can make, such as approving a shortlist or supplying a missing fact. Put the human step where the decision is needed, and write the question so the person can answer it without reading the whole run.

What you need

  • A CrewAI crew with a task already running
  • One question only a person can answer, written in one sentence
  • A person who will answer when the crew pauses

Step 1: Mark the task as needing human input

Set human input on the task that needs the answer, and write the question the person will see. The question should carry the context the person needs, not just a bare prompt.

Step 2: Run the crew and answer when it pauses

Run the crew and confirm it pauses at the task and waits instead of guessing. Answer the question, then confirm the crew continues with your answer.

Step 3: Check the final output used your answer

Read the final output and confirm it reflects what you answered. If it ignores your input, the task is not wired to receive it.

Worked example: synthetic human input run

The table below is a synthetic example. It shows the expected result of the human step; no crew was run.

Check Expected Result
Crew pauses for input Yes Pass
Person answers Yes Pass
Final output uses the answer Yes Pass
Crew never guesses instead 0 guesses Pass

Expected result (UNTESTED). the crew pauses, waits for the person’s answer, and the final output reflects it. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • A human step nobody watches is a stuck crew, so name the person who answers it before you switch it on.
  • Put the human check between the steps that matter, not after the work is already delivered.
  • Keep delegation off on specialists when a human must decide, so an agent does not answer for the person.

Sources

See all