Automate LINE & Google Account Linking with OAuth2 Authentication — n8n 工作流
概览
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 unique authentication link. After the user approves the connection, their Google profile information is fetched, and a confirmation message is sent, completing the loop.
Prerequisites
Before you begin, ensure you have the following:
An n8n
使用的节点
HTTP Request
工作流预览
⚡
R
Redirect to LINE OA
Get Google Access Token
Get Google User Info
Send Completion Message …
I
If Follow Event
C
Create Google Auth URL
Send Auth Link to LINE
⚡
L
LINE Webhook
⚡
G
Google Auth Callback
9 nodes7 edges
工作原理
- 1
触发器
工作流由 webhook 触发器启动。
- 2
处理
数据流经 9 个节点, connecting httprequest, if, respondtowebhook。
- 3
输出
工作流完成自动化并将结果发送到配置的目标。
节点详情 (9)
HT#1
HTTP Request
httpRequest
如何导入此工作流
- 1点击右侧 下载 JSON 按钮保存工作流文件。
- 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入。
- 3选择下载的
automate-line-google-account-linking-with-oauth2-authentication文件并点击导入。 - 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
- 5点击 测试工作流 验证一切正常,然后激活它。
或直接在 n8n → 从 JSON 导入 中粘贴:
{ "name": "Automate LINE & Google Account Linking with OAuth2 Authentication", "nodes": [...], ...}
集成
httprequestifrespondtowebhooksetwebhook
创建者
s3110
@s3110
标签
httprequestifrespondtowebhooksetwebhook