# Use the same workflow with different credentials?

**URL:** <https://community.n8n.io/t/use-the-same-workflow-with-different-credentials/56940>\
**Category:** Questions\
**Created:** [October 7, 2024, 10:44pm UTC](https://community.n8n.io/t/use-the-same-workflow-with-different-credentials/56940 "2024-10-07T22:44:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![russellkg](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/russellkg/32/41161_2.png) [@russellkg](https://community.n8n.io/u/russellkg)\
**Post date:** [October 7, 2024, 10:44pm UTC](https://community.n8n.io/t/use-the-same-workflow-with-different-credentials/56940/1 "2024-10-07T22:44:21Z")

</div>

I have another process question.

I have a set of workflows to keep contacts up to date in Google contacts, based on the information in HaloPSA. At this point it works with my contacts in Google. A co-worker has created the Oath 2 credentials so his contacts can be managed with my workflows.

I would like to know if it’s possible to run a workflow with a programatically chosen set of credentials?

Run 1 with my credentials.  
Run 2 with my coworkers credentials.  
Run 3…  
etc.

If not, then I will have to duplicate the entire set up workflows for each user. This is only four users, but there are 10 workflows for this process. This would then be 40 workflows.

Thanks in advance!

-Russ

## Information on your n8n setup

- **n8n version:** 1.60.0
- **Database (default: SQLite):** PostgresQL
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):** default
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** Docker on Digital Ocean
- **Operating system:** Ubuntu 22.04 LTS

---

<div class="post-metadata">

**Author:** ![pemontto](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pemontto/32/2684_2.png) [@pemontto](https://community.n8n.io/u/pemontto)\
**Post date:** [October 8, 2024, 1:25pm UTC](https://community.n8n.io/t/use-the-same-workflow-with-different-credentials/56940/3 "2024-10-08T13:25:32Z")

</div>

Please vote on these

- [Allow expression for credential selection - #14 by A\_Salim](http://community.n8n.io/t/allow-expression-for-credential-selection/20047/14)
- [Select credentials via expression - #8 by hubschrauber](http://community.n8n.io/t/select-credentials-via-expression/5150/8)

---

<div class="post-metadata">

**Author:** ![russellkg](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/russellkg/32/41161_2.png) [@russellkg](https://community.n8n.io/u/russellkg)\
**Post date:** [November 19, 2024, 1:17am UTC](https://community.n8n.io/t/use-the-same-workflow-with-different-credentials/56940/4 "2024-11-19T01:17:00Z")

</div>

Not really a solution.

---

<div class="post-metadata">

**Author:** ![pemontto](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pemontto/32/2684_2.png) [@pemontto](https://community.n8n.io/u/pemontto)\
**Post date:** [November 21, 2024, 4:13pm UTC](https://community.n8n.io/t/use-the-same-workflow-with-different-credentials/56940/5 "2024-11-21T16:13:12Z")

</div>

In those discussions there is a community node mentioned that might be useful to you if you’re self-hosted: [Allow expression for credential selection - #9 by BramKn](http://community.n8n.io/t/allow-expression-for-credential-selection/20047/9)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [November 28, 2024, 4:13pm UTC](https://community.n8n.io/t/use-the-same-workflow-with-different-credentials/56940/6 "2024-11-28T16:13:56Z")

</div>

Closed on November 28, 2024, 4:13pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
