# Read palm lines and send AI reports with Gemini and Gmail: n8n workflow

> Started by another system calling it, and works across Gmail and Google Calendar. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/read-palm-lines-and-send-ai-reports-with-gemini-and-gmail (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Read palm lines and send AI reports with Gemini and Gmail

Started by another system calling it, and works across Gmail and Google Calendar. It hands the judgement calls to Gemini. 12 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fread-palm-lines-and-send-ai-reports-with-gemini-and-gmail)

**12 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 2 Logic 3 Service 5

The steps in the order they run, from what starts it.

- 1 **Receive LINE webhook** Webhook *Starts it*
- 2 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 3 **Set config variables** Set *Logic*
- 4 **Analyze palm lines with Gemini** Chain Llm *Model*
- 5 **Check if message is image** If *Logic*
- 6 **Parse Gemini response** Set *Logic*
- 7 **Download image from LINE** Http Request *Service*
- 8 **Reply with error for non-image message** Http Request *Service*
- 9 **Reply to LINE with summary** Http Request *Service*
- 10 **Send detailed report via Gmail** Gmail *Service*
- 11 **Register lucky days in Google Calendar** Google Calendar *Service*
- 12 **Respond to webhook** Respond To Webhook *Starts it*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 12, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Google Calendar
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Calendar accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 12 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 12 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fread-palm-lines-and-send-ai-reports-with-gemini-and-gmail)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**AI meeting summary & action item tracker with Notion and Slack** 12 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/ai-meeting-summary-and-action-item-tracker-with-notion-and-s)
- [**Answer Telegram booking requests with Gemini** 12 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/answer-telegram-booking-requests-with-gemini)
- [**Auto-send FireFlies meeting summaries with Gemini** 12 steps · calls a model · Gmail](https://millionrounds.com/workflow/auto-send-fireflies-meeting-summaries-with-gemini)
- [**Classify and route DevOps chat requests with Mattermost** 12 steps · calls a model · Google Calendar, Qdrant](https://millionrounds.com/workflow/classify-and-route-devops-chat-requests-with-mattermost)
- [**Convert event text to calendar entries with NextCloud** 12 steps · calls a model · Google Calendar](https://millionrounds.com/workflow/convert-event-text-to-calendar-entries-with-nextcloud)
- [**Create a WhatsApp voice assistant with Twilio and VAPI** 12 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/create-a-whatsapp-voice-assistant-with-twilio-and-vapi)
