Help with Human-in-the-Loop Conversational Flow (User Response via API)

I’m working on building a conversational agentic flow where an AI agent leads an interview-style dialogue with a user. I’ve set up a Crew with multiple agents and tasks, and I’ve also included a human-in-the-loop so the user can provide input at each step.

What I’m struggling with is how to actually get the human’s response back into the flow:

  • The AI agent takes the human’s response → this happens on the server.

  • Now I want to expose that to the user via an API (e.g., a WebSocket or REST endpoint).

  • The user should respond through the client app.

  • That response should then be passed back into the Crew flow so the conversation can continue naturally.

Essentially, I need a way for the Crew to pause, surface the AI’s question to the user, and then resume once the user’s answer is submitted via API.

Has anyone implemented this pattern before, or is there a recommended approach for handling human-in-the-loop conversational flows with CrewAI?

Welcome to the community. If anyone has done this it is likely to have been the amazing @maxmoura