Templates / Automate LINE & Google account linking with OAuth2 authentication

Automate LINE & Google account linking with OAuth2 authentication

Ready for 3.0

by s3110 ✓ · 139 views · created 2025-11-18 · Miscellaneous

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls oauth2.googleapis.com, googleapis.com and api.line.me over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. If: checks a condition and branches into true / false
  2. Get Google Access Token (HTTP Request): calls oauth2.googleapis.com (POST)
  3. Create Google Auth URL (Edit Fields (Set)): sets 1 field: googleAuthUrl
  4. Get Google User Info (HTTP Request): calls googleapis.com
  5. Send Auth Link to LINE (HTTP Request): calls api.line.me (POST)
  6. Send Completion Message to LINE (HTTP Request): calls api.line.me (POST)
  7. Redirect to LINE OA (Respond to Webhook): sends the response back to the webhook caller

HTTP calls to: oauth2.googleapis.com, googleapis.com, api.line.me

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

LINE x Google Account Linking Workflow This workflow automates the process of linking a new user on your LINE Official Account to their Google Account. When a user adds your LINE account as a friend, this workflow automatically sends them a message with a…

Excerpt from s3110's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.