---
title: "Rating"
description: "Pause and collect a star rating up to a maximum."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/in/rating"
---
# Rating

> Pause and collect a star rating up to a maximum.

<block-meta block="Yes" channels="Chat" folder="basic/input" group="Input" groupTo="/build/workflows/blocks/in" hitl="Yes" icon="i-lucide-star" pipe="Value" scope="Any" tool="No" type="in.rating">



</block-meta>

**Rating** (palette name **Rating**) asks the person in a **chat** session for a score from 1 up to **Max Rating** (default 5), then continues. Shared bind, navigation, and error options are on [Input](https://docs.vettero.com/build/workflows/blocks/in).

## Configure

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

<tbody>
  <tr>
    <td>
      <strong>
        Max Rating
      </strong>
    </td>
    
    <td>
      Highest allowed score (integer, at least 1)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Prompt
      </strong>
    </td>
    
    <td>
      Optional message before the stars
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Error Handler
      </strong>
      
       / <strong>
        Navigation
      </strong>
      
       / <strong>
        Binding Variable
      </strong>
    </td>
    
    <td>
      Shared input options
    </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 after a rating (or skip / ignore)
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`). The value is an `integer` from 1 through **Max Rating**.

If **Binding Variable → Key** is set, the same number is stored under that name.

## Use case

- CSAT after a support flow.
- Branch with a [condition](https://docs.vettero.com/build/workflows/blocks/condition) when the score is below a threshold.

<block-page-nav>



</block-page-nav>


## Sitemap

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