---
title: Dynamic connections
slug: dynamic-connections
description: Create variables to dynamically define which connection to use for a particular scenario run
image: https://archbee-image-uploads.s3.amazonaws.com/oAyFj2GHlBeBVWF5OAir2/68ah5TWdQ-QytQoG5ZqQB_domino-zoomin-purple-a-1.png
docTags: 
createdAt: 2025-02-03T13:29:13.656Z
---

:::hint{type="info"}
This feature is available to Enterprise customers.
:::

A **dynamic connection** is a variable that contains a connection. It allows you to choose which connection a module uses in a scenario run. &#x20;

Imagine that your company uses Gmail to communicate with clients and prospects. Each team member has their own Gmail account and is responsible for a specific region. You have a scenario in Make that sends emails to prospects or deals, and you want those emails to be sent from the Gmail account of the team member responsible for the region.&#x20;

Without the dynamic connection, you can add a Router and set up filters for each region and manager, and manually select the connection in each module:

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/A3nEwr5QETSRWeJoz4oXN-20251218-144535.png" size="50" width="1038" height="996" position="center" showCaption="false"}

With the dynamic connection, however, you can group several connections into one variable:

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/HxVni6uKZccOiELu4TwCX-20251218-144651.png" size="50" width="1672" height="1138" position="center" showCaption="false"}

When you run a scenario, you can select which account will be used within the scenario inputs:&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/aGSvQxYhpYodSzCaKiKWS-20251218-144617.png" size="50" width="1406" height="1122" position="center" showCaption="false"}

This is particularly useful for complex scenarios with multiple modules and users. Instead of going through each module one by one to select the required connection or creating multiple scenarios, you can simply define which connection to use through the scenario inputs.

## Create a scenario with a dynamic connection

To create a scenario with a dynamic connection, you have to assign a connection to build the scenario. Make calls the initial connection as the "build-time value."

When you finish the scenario, you can assign a different connection to the dynamic connection anytime.

:::::WorkflowBlock
:::WorkflowBlockItem
Go to your scenario and select an app module.
:::

:::WorkflowBlockItem
Click the three dots next to **Create** **connection**, and then click **Create a dynamic connection.**

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/w-Xikbjkt0qzAxYLk-Ct9-20251009-101545.png" size="60" width="1252" height="604" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
In the **Dynamic connection name** field, type the name of the connection.
:::

:::WorkflowBlockItem
Set the **Build-time value** for the dynamic connection:

- In the **Build-time value**, choose an existing connection or click **Add&#x20;**&#x6F;&#x72;**&#x20;Create new connection&#x20;**&#x74;o create a new connection.

![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/KEVrwIoFBgXsv7_B8P5aL-20251009-101804.png)

- In case of creating a new connection, enter a name for the connection in the **Connection name** field of the emerging window.
- Click **Save**.&#x20;
- Grant Make access to your Dropbox account.
- Click **Save**.

You have set the build-time value for the dynamic connection. You can see the connection in the **Build-time value** field.
:::

:::WorkflowBlockItem
Then, select whether you want to use the build-time connection as the default or not. Make uses the default value to run the scenario.&#x20;

You will be able to select a different connection when you run the scenario on demand.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/P-GvWmijjV2ZuJWYBbanD-20251009-102405.png" size="60" width="1330" height="1098" position="center" showCaption="false"}
:::

::::WorkflowBlockItem
Optional: In the **Default value** field, you can select the default connection that will be used when a dynamic connection is selected.&#x20;

To create a new connection that will be set as the default value, click **Add** and follow the steps to create a connection.

:::hint{type="info"}
You can set the default value for the dynamic connection in the scenario inputs interface as well:&#x20;

1. In the Scenario Builder toolbar, click **Scenario inputs and outputs.&#x20;**
2. Expand the input to see the **Default value** field
3. Set the default.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/9nMBMIjFPJDM3tJQORu9N-20251219-161629.png" size="60" width="948" height="1064" position="center" showCaption="false"}

If you don't provide a default value for the dynamic connection, you can schedule the scenario to **On-demand&#x20;**&#x6F;nly.
:::
::::

:::WorkflowBlockItem
Click **Save**.
:::
:::::

You created a dynamic connection. Now you can continue configuring the module.

You can find your dynamic connections in:

::::Tabs
:::Tab{title="Module settings"}
::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/7VHMaj3GCElh9wGb79Qmw-20251222-100245.png" size="50" width="1000" height="1048" position="center" showCaption="false"}
:::

:::Tab{title="Scenario inputs window"}
::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/54UiwzZXzllfp3VXtwWM4-20251222-100321.png" size="40" width="980" height="1062" position="center" showCaption="false"}

In the **Build-time value&#x20;**&#x74;ab, you can also see the dynamic connection with the connection it's using:
:::
::::

In the **Build-time value&#x20;**&#x74;ab, you can also see the dynamic connection with the connection it's using:

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/Uwat2zhvck9omaXFRNaTA-20251222-100608.png" size="40" width="686" height="574" position="center" showCaption="false"}

## Run a scenario with a dynamic connection

A dynamic connection is like a variable or a container for connections, which is empty until you assign a connection to it. Thus, to run a scenario with a dynamic connection, you have to assign a connection to it or use a default. You can either create a new dynamic connection or use an existing one.

### Use an existing dynamic connection

To run a scenario with a dynamic connection, use the scenario inputs. In scenario inputs, assign a connection to the dynamic connection for your scenario run or use the default.

:::hint{type="info"}
To run your scenario on schedule, you have to provide a default for your dynamic connections. Make uses the default connection in scheduled scenario runs.
:::

::::WorkflowBlock
:::WorkflowBlockItem
Go to your scenario.
:::

:::WorkflowBlockItem
Click **Run once**. A scenario inputs window appears.
:::

:::WorkflowBlockItem
You can either set up a new connection or use an existing connection.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/V8jeLOAXcTqs3gJaEgivN-20251222-103414.png" size="60" width="1592" height="916" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
Click **OK**.
:::
::::

Make runs the scenario with the selected connections.

## Update a dynamic connection

Compared to other connections, dynamic connections are flexible and can change the value they contain. For example, you might want to assign a different connection to the dynamic connection with each scenario run. This might be practical when you want to frequently use different credentials in the scenario.

Another option is to update just the default for the dynamic connection for scheduled scenario runs.

You can update a dynamic connection:

- [In the module settings](docId\:l9Gc1XFkuEukW-x_QjRpZ)&#x20;
- [In the scenario inputs](./#update-dynamic-connections-in-the----inputs)&#x20;

### Update dynamic connections in the module settings

To update a dynamic connection in the module settings:

::::WorkflowBlock
:::WorkflowBlockItem
Open the **Connections** dropdown list in the app module and find the dynamic connection you want to edit.
:::

:::WorkflowBlockItem
Click **Edit**.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/IsR7BVSHlMZ7rJMwUp37r-20251009-122649.png" size="70" width="1236" height="948" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
Next, you can change the dynamic connection name (optional).
:::

:::WorkflowBlockItem
In the **Build-time value** dropdown list, select the connection you want to assign to the dynamic connection. Click **Add**, if you want to create a new connection.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/1eB02jL3NKR_oY1Js_pSZ-20251222-111245.png" size="40" width="668" height="752" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
Click **Save**.
:::
::::

You have updated the dynamic connection. When the scenario runs, the dynamic connection will use the connection you assigned.

### Update dynamic connections in the scenario inputs

To update a dynamic connection in the scenario inputs:

::::WorkflowBlock
:::WorkflowBlockItem
Go to the scenario in which you want to update the dynamic connection.
:::

:::WorkflowBlockItem
In the Scenario Builder toolbar, click **Scenario inputs and outputs.&#x20;**
:::

:::WorkflowBlockItem
Switch to the **Build-time value** tab.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/GXVdaB-u6ibpR-Cnl99IC-20251009-123645.png" size="40" width="682" height="676" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
Click **Edit**.
:::

:::WorkflowBlockItem
In the dropdown list, select another connection you want to assign to the dynamic connection. Click **Add** if you want to create a new connection.
:::

:::WorkflowBlockItem
Click **Save**.
:::
::::

You have updated the dynamic connection. When the scenario runs, the dynamic connection will use the connection you assigned.

## Delete a dynamic connection

To delete a dynamic connection:

::::WorkflowBlock
:::WorkflowBlockItem
Go to the scenario in which you want to delete the dynamic connection.
:::

:::WorkflowBlockItem
In the Scenario Builder toolbar, click **Scenario inputs and outputs.&#x20;**
:::

:::WorkflowBlockItem
In the **Scenario** **inputs** tab, click the delete icon next to the dynamic connection.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/j8vfPhvoiz3ppn4BpRm9s-20251222-111831.png" size="80" width="1594" height="854" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
Click **Save**.
:::
::::

You have deleted your dynamic connection.
