API change connection fast way

Dear Community,

Is there a way to change the API connection for all modules at once? Or do I need to update each module individually by selecting a new connection?

The current API is linked to our former account.

TL;DR - download the blueprint, edit it in a text editor to change the connection IDs, and upload it again.

To see what this might look like, create a new scenario with just one example module from your current connection. Export the blueprint and name the file “blueprint-current-conn.json”

Now edit the module and pick the future connection you want for your primary scenario. Save and export the blueprint. Rename the file “blueprint-future-conn.json”.

Use a tool like Diffchecker - Compare text online to find the difference between two text files to compare the differences of the two files.

For example, switching between two TelegramBot connections:

Now you know what change needs to be made to your big scenario.

Download its blueprint, make the same change throughout - e.g. change __IMTCONN__, change connection labels, etc, and import this edited blueprint. Check + test it.

If it goes terribly, you can re-import your original blueprint backup. But it works for me.

1 Like

Another way is to use the Integromat/Make Dev Tool to Swap Connections.
You update one connection then use the tool to copy that connection to all the other modules using the same app.

5 Likes

@Donald_Mitchell Yup! That would be my preferred way also :+1:

Perfect! This was very easy, Thank you!

1 Like