Changing Google API's when switching between users

Hi everyone,

(To preface, I’m a complete beginner, started using n8n this weekend)

I have a question about Google’s API system.

For example, I made a simple chatbot through Telegram (that reads gmails, and google calendar), and I would like to share the bot between friends, so that they can give feedback and try it out.

The thing that I want is that, when they get their bot on the Telegram, they would sign in with their own Google Account.

Is that possible to do through the chatbot itself? Or would I have to go through the same repetitive task of signing in each tool with Google?

I greatly appreciate any help.

Thanks :blush:

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

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:

Hey @macomuck, welcome to community.
In this case, you’ll need to set up individual credentials for every Google user.

How can this be achieved if it is not possible to use an expression in the credential selection or configure the access token directly? I don’t see how this integration would be possible.

This is a good question and I would like to have this option too. @Jon

As for now you have to create separate node for it.

Would it be possible to achieve this by using a direct HTTP node for the Google Calendar API?

I didn’t try it by myself but I think it is achievable but you have to create a Service Account .

By setting up a service account with domain-wide delegation, you can authorize the HTTP Request node to access Google Calendar resources on behalf of users within your domain without requiring each user to individually grant permissions.

1 Like

Thank you! I’ll give it a try and let you know how it goes.

Yeah, please do let us know.
Sounds promising.

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