---
title: "Request Approval"
description: "Pause until someone approves or rejects. Rejected uses a separate outlet."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/chat/request-approval"
---
# Request Approval

> Pause until someone approves or rejects. Rejected uses a separate outlet.

<block-meta block="Yes" channels="Any" folder="chat" group="Chat" groupTo="/build/workflows/blocks/chat" hitl="Yes" icon="i-lucide-user-check" pipe="Value" scope="Any" tool="Yes" type="chat.request-approval">



</block-meta>

**Request Approval** pauses until a person **approves** or **rejects** (including revoke). Assignees see the request on **Approvals**. Full product rules are on [Approval Flow](https://docs.vettero.com/concepts/approval-flow).

On a **chat** workflow you can choose **current user** or **roles**. On other channels, only **role** approval is available.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Message
      </strong>
    </td>
    
    <td>
      What the approver reads (required)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Approval mode
      </strong>
    </td>
    
    <td>
      On chat only: <strong>
        Require role approval
      </strong>
      
       or <strong>
        Require current user approval
      </strong>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Roles
      </strong>
    </td>
    
    <td>
      Who can decide. Required in role mode — pick at least one <a href="https://docs.vettero.com/configuration/roles">
        role
      </a>
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues when the request is <strong>
        approved
      </strong>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Rejected
      </strong>
    </td>
    
    <td>
      Continues when the request is <strong>
        rejected
      </strong>
      
       or <strong>
        revoked
      </strong>
    </td>
  </tr>
</tbody>
</table>

Connect both outlets if you need different follow-up for yes vs no.

## Pipe schema

The next block reads this on the data pipe (`pipe.value`).

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        decision
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Outcome of the request
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        decidedBy
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Who decided (may be empty)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        note
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Optional note from the approver (may be empty)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        approvalId
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Request id (may be empty)
    </td>
  </tr>
</tbody>
</table>

## Use case

- Gate a refund or send-email step until a manager approves.
- On chat, ask the person in the session to confirm before a destructive action.

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
