# Automate Job applications with Gemini and OpenAI: n8n workflow

> Started by someone opening a chat with it, and works across Gmail. It puts Gemini and OpenAI behind a retrieval step, so answers are drawn from documents...

Source: https://millionrounds.com/workflow/automate-job-applications-with-gemini-and-openai (Millionrounds; every figure on the page links to its filing or article)

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

# Automate Job applications with Gemini and OpenAI

Started by someone opening a chat with it, and works across Gmail. It puts Gemini and OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 25 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini, OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-job-applications-with-gemini-and-openai)

**25 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 2 Model 14 Logic 6 Service 3

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

- 1 **When chat message received** Chat trigger *Starts it*
- 2 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 3 **Context7** Mcp Client Tool *Model*
- 4 **PredictLeads** Mcp Client Tool *Model*
- 5 **Simple Memory** Memory Buffer Window *Model*
- 6 **Structured Output Parser** Output Parser Structured *Model*
- 7 **Google Gemini Chat Model1** Lm Chat Google Gemini *Model*
- 8 **When Executed by Another Workflow** Execute Workflow trigger *Starts it*
- 9 **Send email** Tool Workflow *Model*
- 10 **PredictLeads Agent** Agent *Model*
- 11 **Links Extractor** Chain Llm *Model*
- 12 **Job application Agent** Agent *Model*
- 13 **Chat1** Chat *Model*
- 14 **Chat** Chat *Model*
- 15 **Chat2** Chat *Model*
- 16 **Get CV** Http Request *Service*
- 17 **Create email** Chat Hitl Tool *Model*
- 18 **Parser** Code *Logic*
- 19 **Split Out** Split Out *Logic*
- 20 **Loop Over Items** Split In Batches *Logic*
- 21 **Create a draft** Gmail *Service*
- 22 **If list?** If *Logic*
- 23 **Limit** Limit *Logic*
- 24 **Scrape Job** Scrapegraph Ai *Service*
- 25 **Contain email?** If *Logic*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 25, with 2 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail
- **Model:** Gemini, OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

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

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls Gemini and OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 25 steps it is large: read it before trusting it with anything live.

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 25 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%2Fautomate-job-applications-with-gemini-and-openai)
- **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)

## Workflows like it

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

- [**AI inbox assistant with OpenAI and Gmail** 25 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/ai-inbox-assistant-with-openai-and-gmail)
- [**Turn your portfolio into an AI assistant with OpenAI** 25 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/turn-your-portfolio-into-an-ai-assistant-with-openai)
- [**AI-powered multi-channel customer journey with SMS and OpenAI** 24 steps · calls a model · Gmail, Twilio](https://millionrounds.com/workflow/ai-powered-multi-channel-customer-journey-with-sms-and-opena)
- [**Email-to-task automation with Outlook and Microsoft To Do** 26 steps · calls a model · Gmail, Google Tasks](https://millionrounds.com/workflow/email-to-task-automation-with-outlook-and-microsoft-to-do)
- [**GPT-4.1 mini-powered learning management automation** 24 steps · calls a model · Gmail](https://millionrounds.com/workflow/gpt-4-1-mini-powered-learning-management-automation)
- [**AI voice & text note-taking with LINE Messaging** 27 steps · calls a model · Gmail, Supabase vectors](https://millionrounds.com/workflow/ai-voice-and-text-note-taking-with-line-messaging)
