Save business card contacts from LINE photos to Google Sheets using Gemini
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Gemini Chat Model and Google Sheets. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- If: checks a condition and branches into true / false
- Fetch Image from LINE API (HTTP Request): calls an HTTP API
- Respond Not Image to LINE (Respond to Webhook): sends the response back to the webhook caller
- Encode Image as Base (Code): runs custom JavaScript code
- Extract Card Info with Gemini (Basic LLM Chain): sends a prompt to an LLM
- Parse Gemini Output Data (Code): runs custom JavaScript code
- Read Contacts from Sheets (Google Sheets): uses Google Sheets
- If: checks a condition and branches into true / false
- Send Duplicate Reply via LINE (HTTP Request): calls api.line.me (POST)
- Append Contact to Sheets (Google Sheets): append
…plus 6 more steps. See the full node list below.
Services it uses
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 (9)
- Edit Fields (Set)
n8n-nodes-base.set - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Sheets
n8n-nodes-base.googleSheets - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Save business card contacts from LINE photos to Google Sheets with Gemini --- Who is this for Sales professionals, account managers, and anyone who exchanges business cards regularly. Designed especially for LINE users (Japan, Taiwan, Thailand, etc.) who want…