Scan business cards from LINE with Gemini to Sheets, Slack, and Gmail
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets, Slack, Gmail and Google Gemini Chat Model. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Respond to LINE immediately (Respond to Webhook): sends the response back to the webhook caller
- Set config values (Edit Fields (Set)): sets 6 fields: config.lineChannelAccessToken, config.slackChannel, config.googleSheetId…
- Is image message? (If): checks a condition and branches into true / false
- Download image from LINE (HTTP Request): calls an HTTP API
- Reply no-image message on LINE (HTTP Request): calls api.line.me (POST)
- Extract business card data with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
- Parse Gemini JSON response (Code): runs custom JavaScript code
- Save contact to Google Sheets (Google Sheets): append
- Notify team on Slack (Slack): uses Slack
- Has email address? (If): checks a condition and branches into true / false
…plus 2 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
HTTP calls to: 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 (11)
- Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
From the author
Who is this for This workflow is designed for sales professionals, account managers, and small business owners in Japan who frequently exchange business cards. Instead of manually entering contact details, you can instantly capture and store them by sending a…