---
title: Repeats
slug: repeats
docTags: 
createdAt: 2025-08-11T11:13:46.000Z
---

Playbooks allow you to repeat actions. Arrays are the only repeatable property types.

## Add Repeats to an Action

Repeat actions can be static or dynamic.

:::hint{type="info"}
Dynamic actions are reserved for string inputs only.
:::

To add a repeat to an action:

1. Add an action.
2. From **ACTION**, click **Configure**.
   From here, decide which fields you need to complete.
3. If you want to repeat a static value, click the **Repeat** plus icon.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/TdsIqBsYh1kZCsrhFa3dr_repeats-plus-icon.png" size="78" width="1774" height="765" darkWidth="800" darkHeight="345" position="center" indent="2" showCaption="false"}

4. Click the drop-down menu and select *Static value*.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/PB8tpVKLb9zZSjQKcgenm_repeats-static-value.png" size="26" width="350" height="400" darkWidth="800" darkHeight="914" position="center" indent="2" showCaption="false"}

5. Click **Configure Static Values**.
6. Click **Add an item** to add an item to your array and select the value type.
7. Once you have entered any values, click **Apply**.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/_TTn-kEhEOH1OsVWlcNSM_repeats-configure-static-value.png" size="52" width="994" height="661" darkWidth="800" darkHeight="531" position="center" indent="2" showCaption="false"}

The action will repeat as many times as items on the array.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/HktYGp6IK973SUPz0O9A0_repeats-completed-static-value.png" size="32" width="381" height="420" darkWidth="800" darkHeight="881" position="center" showCaption="false"}

***

## Playbook Property Repeats

To add a playbook property repeat to an action:

1. Add an action.
2. From **ACTION**, click **Configure**.
   The available mapped playbook inputs show under **Action Inputs**.
3. If you want to repeat a playbook property, click the **Repeat** plus icon.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/TdsIqBsYh1kZCsrhFa3dr_repeats-plus-icon.png" size="68" width="1774" height="765" darkWidth="800" darkHeight="345" position="center" indent="2" showCaption="false"}

4. Click the drop-down menu and select *Playbook property*.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/nl7aL2b9hv6DetWvlNXZf_repeats-playbook-property.png" size="34" width="550" height="393" darkWidth="800" darkHeight="571" position="center" indent="2" showCaption="false"}

5. Select only playbook inputs that are the array property type.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/rzrLAZik8b_eHSpPYr3pP_repeats-pb-array-inputs.png" size="72" width="1753" height="756" position="center" indent="2" showCaption="false"}

The input displays in the Repeat section.

1. From the inputs, select a property that has a **Static value** drop-down. Then, select **Repeat property**.
2. Enter the required fields and click **Apply**.

The repeat shows in the playbook action.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/zkSP0DKvcOQpBVM93zcpj_repeat-action-ui.png" size="22" width="288" height="202" position="center" showCaption="false"}

***

## Expression Repeats

To add an expression repeat to an action:

1. Add an action.
2. From **ACTION**, click **Configure**.
   From here, decide which fields you need to complete.
3. Click the **Repeat** plus icon.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/TdsIqBsYh1kZCsrhFa3dr_repeats-plus-icon.png" size="76" width="1774" height="765" darkWidth="800" darkHeight="345" position="center" indent="2" showCaption="false"}

4. Click the drop-down menu and select **Expression**.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/WV5Q0cE7px6lxFDEPCVLE_repeats-expression.png" size="54" width="605" height="459" position="center" indent="2" showCaption="false"}

5. Enter an expression using JavaScript notation.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/ajw1a6OJwTz4a37IPimBN_repeats-completed-expression.png" size="64" width="1756" height="762" position="center" indent="2" showCaption="false"}

6. The repeat expression shows under **Additional Options**.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/d93GKrgBTw6iISxcFd6Gc_repeats-expression-additional-options.png" size="66" width="1763" height="756" position="center" indent="2" showCaption="false"}

7. From the inputs, select a property that has a **Static value** drop-down. Then, select **Repeat property**.
8. From the action, click **Apply**.
9. The repeat shows in the playbook action.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/zkSP0DKvcOQpBVM93zcpj_repeat-action-ui.png" size="26" width="288" height="202" position="center" indent="2" showCaption="false"}

***

## Repeat Outputs

Repeats only provide output results for a single action. By using action repeats, you can:

- Retrieve aggregated output results over a list of values.
- Configure repeats that have a list of values in nested playbooks.
- Better troubleshoot by reviewing an action through the playbook run results.

:::hint{type="info"}
Arrays are the only repeatable property types.
:::

Before promoting any action repeat outputs, ensure that you:

1. Add an action.
2. Add one of the following repeat types: static value, playbook property repeats, expression repeats.
3. Navigate to **Playbook Outputs**.
4. Click **Promote an output.**

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/lLylW4DsCJ1d56K0QTWcM_repeats-playbook-outputs.png" size="68" width="1920" height="937" position="center" indent="2" showCaption="false"}

5. From **Select an available playbook property**, click the desired repeat action.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/lPFNJEhqU6ggUhAi8DOSB_select-playbook-property.png" size="60" width="1218" height="522" position="center" indent="2" showCaption="false"}

The repeat action displays. Select the repeat.

The repeat is promoted.

![](https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/jvU7lDI3fd6_leEgzlxY__promoted-repeat.png)
