Help Needed with run-node-with-credentials-x for Dynamically Using Multiple Gmail Accounts

Hi everyone,

I have 6 Gmail accounts, and I’ve already set up service account credentials for each of them. My goal is to dynamically make API requests to these Gmail accounts without duplicating the main workflow 6 times.

I came across the node run-node-with-credentials-x and was wondering if it can help me achieve this. I want to use these credentials dynamically within a single workflow to process tasks for all 6 accounts efficiently.

Could anyone guide me on how to configure this community node or share a better approach if there’s one?

Thanks in advance for your help!

Cheers,
Rohit

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

I see @Jon has answerd ur question on discord. So I guess this is solved now?

@BramKn @Jon gave me a different solutions I want to try with your node as well

There is not much to it. Should be clear how to use it.

1 Like

For those that did not see the answer on Discord, is it possible to post it here as well?

1 Like

Where can I find the ID Credential?

It is in the credential details. You can get them bu opening the credentials and going to details.

1 Like

It worked for some and not for others. Is there any limitation?

With Google Drive, for example, this error occurs, but the credential exists.

The credential with ID “DfmrDKt7xQB7wd7U” does not exist for the type “googleDriveOAuth2Api”.

It should work. Never had any issue with it like this. Unless u use the wrong type or dont have access to it(or the flow doesnt)

I deleted everything and redid it and it worked…tkss

Have you developed anything for nodes tool with credentials?

Hi @brauliodiasribeiro
Nope, also not planning on adding it.

Hey there,
I’m trying to use the run-node-with-credentials-x, but getting the following error:
What’s the error about " “Cannot read properties of undefined (reading ‘0’)”"

1 Like

I’m not sure if this problem has the same origin that the one I’m facing right now…
I installed n8n in local docker.
After installed run-node-with-credentials-x via note the n8n client interface, I can not find the node in the open nodes panel at the workflow interface.
Did I miss something?