Software Teams Slack HITL icon

Software Teams Slack HITL

Slack human-in-the-loop state machine (AC7). When an upstream agent returns needs-input, posts the question to Slack, pauses the workflow, and resumes the same agent with the human's reply. Conversation state survives restarts (R-05).

Software Teams Slack HITL

AI-generated

Summary

Posts an agent’s needs-input question to a Slack channel and pauses the n8n execution until a human replies. On resume, passes the reply back to the agent and emits its continued result; ok and error inputs pass through unchanged.

Inputs

  • Slack Channel (required) — Slack channel ID (for example, C0123456) or name (for example, #ai-questions) where the question is posted.
  • Wait Timeout (Hours) — Maximum time to wait for a Slack reply; defaults to 24 hours. Set n8n’s WEBHOOK_URL to its publicly reachable address so Slack can reach the resume URL.

Output shape

A list of n8n items, with each item containing the resulting envelope in its JSON data.

For needs-input, execution pauses after posting the question and continues with the agent’s result when resumed. ok or error envelopes pass through unchanged. Resume handling expects hitlAnswer and correlationId in the incoming data.

Examples

Example 1: Agent requires human input

Slack Channel="C0123456", Wait Timeout (Hours)=24

Links

Discussion