Each export, import, lookup, and API step uses one connection, and you can change it at any time. You can change the connection for a single step, replace a connection everywhere it's used in a flow, or replace it everywhere it's used in an API. Spreading flows across connections, and adjusting each connection's concurrency, lets you control how much data each flow requests so high-priority records reach their destination first. See Manage connection concurrency and rate limits.
Change the connection for a flow step
When you create or edit an export, import, or lookup, the Connection setting lets you do any of the following:
- Select an existing connection — The list shows connections to the same application that are registered to the current integration. See Review integration connections.
- Create a connection — Select Create connection, then enter the connection's name and authentication settings. The new connection is applied to this step and is available across your account. For the settings to enter and how to test them, see Create a connection.
-
Edit a connection — Select Edit
next to a connection in the list to change its settings. Changes apply to every step that uses that connection.
The Connection setting works the same way whether you open the step from Flow builder or from Resources > Exports or Imports.
Replace a connection throughout a flow
Replacing a connection updates every step in the flow that uses it. Steps that use a different connection, even to the same application, aren't affected.
Caution: Replacing a connection in a flow cancels all of the flow's jobs that are running or queued to run.
Prerequisites: The new connection exists. To create one, see Create a connection.
- Open the flow in Flow builder.
- Select Connections, and then find the connection you want to replace.
- Select Actions
> Replace connection.
- In Connection, select the replacement. The list shows only connections to the same application.
- Select Replace.
Replace a connection in API builder
If an API uses the same connection in several steps, you can replace it in all of them at once. Your API stays available to callers while the replacement runs.
Prerequisites: You can edit the API's integration, and the replacement connection is the same type as the original and is registered to the API's integration.
- Go to Build
, and then select APIs.
- Open your API in API builder.
- Select Connections.
- Next to the connection you want to replace, select Actions
> Replace connection.
- Select the replacement connection.
- Review how many steps will be updated, and then confirm.
All affected steps update together; if the replacement can't be applied to every step, none of them changes. Mappings, scripts, and other step settings stay as they were. The original connection isn't deleted and stays in use anywhere else it's referenced.
The Connections list in API builder can also show connections that this action doesn't change, such as override and async helper connections. Replacing one of these, or a connection no step uses, finishes with 0 steps updated.