Read palm lines and send AI reports via LINE, Gemini, Gmail and Calendar
Go to WorkflowDescription
Template description (paste this into the n8n Creator Dashboard)
Who is this for
This workflow is for anyone who wants to offer a fun, automated palm reading experience through LINE — Japan's dominant messaging app with over 90 million active users. It suits indie developers, wellness creators, fortune-telling services, or anyone curious about combining AI vision with multi-channel automation.
What this workflow does
When a user sends a photo of their palm via LINE, the workflow springs into action across five tools:
LINE Messaging API receives the image via webhook
Google Gemini analyzes the palm and produces three outputs: a short LINE-ready summary (under 100 characters), a full reading covering the life line, heart line, head line, and fate line, and three lucky day suggestions with reasons
LINE reply sends the short summary back to the user instantly
Gmail delivers a formatted HTML report with the complete reading to a specified address
Google Calendar registers the three lucky days as calendar events so the user never forgets them
Non-image messages (text, stickers) are caught early and trigger a friendly prompt asking the user to send a palm photo instead.
How to set up
Open the Set config variables node and fill in your LINE_CHANNEL_ACCESS_TOKEN, GMAIL_FROM, GMAIL_TO, and GOOGLE_CALENDAR_ID
Connect your Google Gemini API credential to the Google Gemini Chat Model node
Connect your Gmail OAuth2 credential to the Gmail node
Connect your Google Calendar OAuth2 credential to the Calendar node
Activate the workflow and copy the webhook URL
Paste the webhook URL into your LINE Developer Console under the Messaging API channel settings
Requirements
LINE Developer account and a Messaging API channel (free)
Google Gemini API key (free tier available at Google AI Studio)
Gmail account with OAuth2 set up in n8n
Google Calendar with OAuth2 set up in n8n
How to customize
Change the reading language: edit the prompt in the **Analyze palm lines with Gemini node — swap English for Japanese, Spanish, or any language Gemini supports
Adjust the report destination**: update GMAIL_TO in the config node to send the report to the user's own address (you could collect it via a prior LINE conversation)
Change lucky day timing**: the Calendar node currently schedules events starting 7 days from now — adjust the $now.plus() expression to fit your use case
Extend the AI prompt**: add astrology, tarot, or numerology sections to the Gemini prompt for a richer reading experience