---
title: "Human in the loop in workflows"
description: "Pause a Softr workflow until a person decides. Ask for approval in Slack or in your app, then continue the workflow on the path that their answer picks."
canonical: "https://docs.softr.io/workflows/human-in-the-loop"
updated: "2026-12-04"
---

# Human in the loop in workflows

Some steps need a person's judgment before the workflow continues, such as an expense approval, a content review or an uncertain AI answer. A human-in-the-loop step pauses the run, asks a person, and continues on the path their answer picks. You can ask the person in Slack or in your Softr app.

## Ask in Slack

The Slack steps **Send interactive direct message** and **Post interactive channel message** send a message with up to 4 buttons, such as **Approve** and **Reject**. Each button can ask the person for a comment. The run waits until someone selects a button, then continues on the path of that button.

For example, an expense approval:

```mermaid
flowchart TD
  A[New expense report submitted] --> B[AI checks the expense category]
  B --> C["Slack message to the manager<br/>New expense: $500 for Software, submitted by Maria"]
  C -->|Approve| D[Set status to Approved and notify the submitter]
  C -->|Reject| E[Set status to Rejected and notify the submitter]
  C -->|Request more info| F[Email the submitter for details]
```

The run stays paused until the manager selects a button. It can wait minutes, hours or days, then picks up where it left off.

![A workflow that checks a discount request with AI, asks the account manager in Slack, then branches on the button: Approved confirms to the client, Rejected declines politely](/workflows/human-in-the-loop/approval-workflow.2x.webp)

![The Send interactive direct message step: the Slack account, the user email of the account manager, the message with the AI check, and the Buttons Approve and Reject, outlined](/workflows/human-in-the-loop/slack-buttons.2x.webp)

> **Tip**
>
> Add an AI step before the message. The AI can put a suggested category or a summary in the message, so the reviewer has context without opening the app.

Connect your Slack workspace first. See [Slack](/integrations/slack).

## Ask in your app

To let people decide inside your Softr app, split the process into two workflows around a status:

1. The first workflow sets the record's status to "Waiting for approval" and notifies the approver. See [User notifications](/apps/user-notifications).
2. The approver opens the record in your app and selects **Approve** or **Reject**, which updates the status.
3. A second workflow starts on **Record updated** when the status changes, and continues the process.

Softr AI can build this for you. Ask it in your app:

Managers approve purchase requests over 1,000 EUR. When they approve, notify finance.

## When to involve a person

- High-stakes decisions, such as payments, publishing, or access changes.
- Uncertain AI answers, where you route answers below a confidence score to a person. See [AI in workflows](/workflows/ai#route-on-confidence).
- Actions that a person must review before they happen, for compliance.

While a run waits for an answer, its status in the run history is **Pending interaction**. See [Test, runs and errors](/workflows/runs).
