> ## Documentation Index
> Fetch the complete documentation index at: https://relevanceai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Steps

> Steps for tools

## Steps

Steps are the individual actions that your tool performs to generate outputs. They're the building blocks of your tool's functionality.

### Adding steps

Click the `Add Step` button to insert a new action in your tool's workflow.

<div
  style={{
width: '100%',
position: 'relative',
paddingTop: '61.46%',
}}
>
  <iframe
    src="https://fast.wistia.com/embed/medias/ofqf6ipvzu"
    frameBorder="0"
    style={{
  position: 'absolute',
  top: 0,left: 0, width: '100%', height: '100%',
  borderRadius: '10px',
}}
  />
</div>

### Naming steps

Give each step a descriptive name for easy reference.

<div
  style={{
width: '100%',
position: 'relative',
paddingTop: '61.46%',
}}
>
  <iframe
    src="https://fast.wistia.com/embed/medias/ri9hsssuyz"
    frameBorder="0"
    style={{
  position: 'absolute',
  top: 0,left: 0, width: '100%', height: '100%',
  borderRadius: '10px',
}}
  />
</div>

### Referencing steps

Use variables to reference outputs from previous steps in subsequent actions.

<div
  style={{
width: '100%',
position: 'relative',
paddingTop: '61.46%',
}}
>
  <iframe
    src="https://fast.wistia.com/embed/medias/n45j9rz7tm"
    frameBorder="0"
    style={{
  position: 'absolute',
  top: 0,left: 0, width: '100%', height: '100%',
  borderRadius: '10px',
}}
  />
</div>

### Running steps

Test individual steps to ensure they're working correctly.

<div
  style={{
width: '100%',
position: 'relative',
paddingTop: '61.46%',
}}
>
  <iframe
    src="https://fast.wistia.com/embed/medias/ame6eb5rr7"
    frameBorder="0"
    style={{
  position: 'absolute',
  top: 0,left: 0, width: '100%', height: '100%',
  borderRadius: '10px',
}}
  />
</div>

### Moving steps up or down

Rearrange the order of steps by moving them within the chain.

<div
  style={{
width: '100%',
position: 'relative',
paddingTop: '61.46%',
}}
>
  <iframe
    src="https://fast.wistia.com/embed/medias/aw2mvv2y8s"
    frameBorder="0"
    style={{
  position: 'absolute',
  top: 0,left: 0, width: '100%', height: '100%',
  borderRadius: '10px',
}}
  />
</div>

### Duplicating steps

Copy existing steps to create similar actions quickly.

<div
  style={{
width: '100%',
position: 'relative',
paddingTop: '61.46%',
}}
>
  <iframe
    src="https://fast.wistia.com/embed/medias/xsrenyqjt3"
    frameBorder="0"
    style={{
  position: 'absolute',
  top: 0,left: 0, width: '100%', height: '100%',
  borderRadius: '10px',
}}
  />
</div>
