Reusing connections

When using connections, you don’t want to use more than needed.

There are two main methods to reduce the connections you and your users need to provide:

Both work in a different way, but they can be used separately or together.

Reuse a connection in the Bridge template

In the template editor under the Connection field, check Reuse connection and select an existing connection from a different module.

This will simplify the flow for your user, as they will only have to submit one connection instead of both.

Use the parameter allowReusingComponents for a flow

You can also reuse connections when initializing a flow.

When calling the endpoint, there are two parameters you can pass in the body. These are not only used for connections, but for all components, such as: web-hooks, connections, data structures, and data stores.

  • allowReusingComponents allows the user the select a compatible component they have entered before in any flow.

  • allowCreatingComponents allows the user to add a new component. Note: Recommended to be set to true, so users can complete the flow with a new component.

For example, if your user wants to create a second scenario with a Google Sheets connection after creating the first scenario, they can reuse the connection from the first scenario without authorizing it again.

Last updated