Sales professionals, account managers, and anyone who exchanges business cards regularly. Designed especially for LINE users (Japan, Taiwan, Thailand, etc.) who want to eliminate manual data entry after networking events or client meetings.
When a user sends a business card photo to a LINE bot, Gemini AI automatically extracts contact information (name, company, job title, phone number, email, postal address) and saves it to Google Sheets. Duplicate entries are detected by email address and skipped automatically. The team receives a Slack notification for every new contact, and the user gets an instant LINE confirmation.
Adjust Google Sheets columns to match your CRM fields. Add a HubSpot or Salesforce node after the Sheets node to sync contacts directly to your CRM. Replace Slack with Microsoft Teams or Discord for team notifications.
| # | Node Name | Type | Role |
|---|---|---|---|
| 1 | Set Configuration Parameters | Set | Centralizes all credentials and config values |
| 2 | When LINE Event Received | Webhook | Receives LINE Webhook events (POST) |
| 3 | If Image Message | If | Checks whether the message contains an image |
| 4 | Fetch Image from LINE API | HTTP Request | Downloads image from LINE Content API |
| 5 | Encode Image as Base64 | Code | Converts image binary to Base64 string |
| 6 | Setup Gemini for Card Data | Gemini Chat Model | Gemini 1.5 Flash model definition |
| 7 | Extract Card Info with Gemini | LLM Chain | Extracts contact info from card image as JSON |
| 8 | Parse Gemini Output Data | Code | Parses Gemini response into structured data |
| 9 | Read Contacts from Sheets | Google Sheets | Searches existing records by email address |
| 10 | If Contact Exists | If | Checks whether a duplicate record exists |
| 11 | Append Contact to Sheets | Google Sheets | Appends new contact to Google Sheets |
| 12 | Post New Contact to Slack | HTTP Request | Sends Slack notification for new contact |
| 13 | Send Success Reply via LINE | HTTP Request | Sends registration confirmation via LINE |
| 14 | Send Duplicate Reply via LINE | HTTP Request | Sends duplicate notification via LINE |
| 15 | Respond Not Image to LINE | Respond to Webhook | Responds to non-image messages |
| 16 | Acknowledge OK Webhook | Respond to Webhook | Returns HTTP 200 on success |
| 17 | Acknowledge Duplicate Webhook | Respond to Webhook | Returns HTTP 200 on duplicate |
Total: 17 nodes (+ 8 Sticky Notes)
| # | Sticky Note Title | Color | Role |
|---|---|---|---|
| 1 | Main Sticky Note (Overview) | Yellow | Workflow overview, How it works, Setup steps, Customization |
| 2 | Configuration setup | White | Covers credentials and config |
| 3 | Webhook event handling | White | Covers LINE webhook reception and image check |
| 4 | Image download and conversion | White | Covers image fetch and Base64 encoding |
| 5 | Card data extraction | White | Covers Gemini extraction and parsing |
| 6 | Duplicate check and contact saving | White | Covers Sheets read/write and duplicate logic |
| 7 | Messaging and webhook response | White | Covers Slack post, LINE replies, and webhook responses |
| 8 | Gemini configuration | White | Covers Gemini model setup |
All sticky notes use H2 headings (## ) and follow n8n public guidelines.
| A | B | C | D | E | F | G | H |
|---|---|---|---|---|---|---|---|
| Timestamp | Name | Company | Title | Phone | Address | LINE_UID |
/d/ and /edit)LINE_CHANNEL_ACCESS_TOKENGOOGLE_SHEET_IDSLACK_WEBHOOK_URLai gemini line google-sheets slack crm image-recognition automation