n8n Use Cases

Below are the ways I have been using n8n to get work done.

Book a time.

10,000 email in your inbox

Regain control of your Gmail InBox.

10,000 emails is about an hour’s work, $95.00 USD.

We need to set up OAuth access to your InBox.

Your InBox will be cleaned up in to a new YEARS  folder, with sub folders per year, i.e. YEARS/2025, YEARS/2024 eytc.

managing Users

  1. Create a Google form for staff to apply for an email address/
  2. Create an auto spreadsheet from this form.
  3. Let N8N have access to this form.
  4. Run N8N.
    1. Staff User is created.
    2. Staff User is sent a login email
    3. Staff User is set up on your website

Setting up Google API

Before you can do any work with Google and N8N, you need to set up your APIs.

One-on-One Online

We provide one on one training, best done if you have a website with us.

Please make sure TeamViewer is installed.

Choose a time that suits you.

These times are from 2 PM to 5 PM Hawaii Time; you will see them in your Browser in your time zone.
You can book up to a day before.

Let’s partner.

Let me know what it is you would like to do.

Email address

tony@ainet.biz

Granting OAUTH access to your INBOX aND mORE

Have TeamViewer installed.

How to Set Up Google OAuth in n8n (using a Gmail account)

You must create a Google Cloud project and generate OAuth credentials. Here’s how:

1. Create a Google Cloud Project

  1. Go to Google Cloud Console:
    https://console.cloud.google.com
  2. Sign in with your gmail.com account.
  3. Click Select Project → New Project.
  4. Give it any name → Create.

This is most likely where you want to get us involved.


2. Enable the required APIs

Depending on what you want to connect (Gmail, Drive, Sheets, etc.):

  1. In the left menu, go to APIs & Services → Library.
  2. Search and enable:
    • Gmail API
    • Google Sheets API
    • Google Docs API
    • Google Slides API
    • Google Calendar API
    • Google Drive API
    • Google Maps & Geocoding API
    • Google Natural Language API
    • Google Cloud Storage API
    • Google Admin API
    • Google Analytics Admin API
    • Google Gemini API (DO NOT TURN ON)
    • (Enable whichever you plan to use with n8n)


3. Configure OAuth Consent Screen

  1. Go to APIs & Services → OAuth Consent Screen
  2. Choose External (since you’re using a regular Gmail account)
  3. Fill:
    • App name (anything)
    • User support email
    • Developer email
  4. Scopes:
    Add only what you need, e.g.:
    • …/auth/gmail
    • …/auth/drive
    • …/auth/spreadsheets
  5. Test users:
    Add your gmail.com email.
  6. Save.

4. Create OAuth Client ID

  1. Go to Credentials → Create Credentials → OAuth client ID
  2. Application type: Web application
  3. Add Authorized redirect URIs:

IMPORTANT — FOR n8n

If you’re using n8n Cloud (their hosted service):

https://api.n8n.io/oauth2/callback 

If you’re self-hosting n8n at a domain, use:

https://your-domain.com/rest/oauth2-credential/callback

If you’re running local n8n on default port:

http://localhost:5678/rest/oauth2-credential/callback

  1. Save → Google gives you:
    • Client ID
    • Client Secret

5. Add Credentials in n8n

  1. In n8n, open Credentials.
  2. Add Google OAuth2 API.
  3. Enter:
    • Client ID
    • Client Secret
  4. Set the scope (depends on what your workflow needs)
  5. Click Connect / OAuth → Google login will appear
  6. Approve permissions

✔ Done!

n8n is now authorized to work with your Google account.

Fair Use