The First Project
Google Cloud (Drive, Sheets, Gmail)
Short video explanation: https://www.youtube.com/shorts/m8oazWzHtUA
Uses a single "OAuth2" credential for all three services.
- Create Project: Go to the Google Cloud Console, create a New Project, and name it (e.g., "n8n-automation").
- Enable APIs: Go to APIs & Services > Library. Search for and enable these three APIs:
- Google Drive API
- Google Sheets API
- Gmail API
- Configure Consent Screen: Go to APIs & Services > OAuth consent screen.
- Select External (unless you are a Workspace admin, then Internal is easier).
- Fill in the App Name (e.g., "n8n") and Support Email.
- Important: Under "Test Users", add your own Google email address (required for External apps in testing mode).
- Create Credentials:
- Go to APIs & Services > Credentials.
- Click Create Credentials > OAuth client ID.
- Application type: Web application.
- Authorized redirect URIs: Paste the "OAuth Callback URL" provided in your n8n Google credential window (e.g.,
https://[your-n8n-instance]/rest/oauth2-credential/callback). - Click Create.
- Connect in n8n: Copy the Client ID and Client Secret into your n8n Google OAuth2 credential fields and click "Sign in with Google".