I’ve created a workflow in n8n that fetches lead information from my Salesforce account and generates a Google Doc with the lead details. It works great for my use case!
Now, I want to take it a step further and build an app where onboarded users can use this workflow but with their own connected Salesforce and Google Docs accounts.
How can I manage this kind of multi-user functionality? Would moving to the n8n API be the right approach for enabling users to connect their own credentials for Salesforce and Google Docs?
Essentially, I’m looking to allow users to link their own accounts (Salesforce, Google Docs) and seamlessly use this workflow through a chatbot or an automated interface.
Any guidance or suggestions would be greatly appreciated!
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
That implies to any JSON output you would like to share with us.
Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!
I would imagine that the user that connects to both services would have to be a dedicated admin with access to all the users’ documents, not a personal user account.