# Score job listings and generate tailored cover letters: n8n workflow

> Started by a clock, and works across Apify, Gmail, Google Docs and Google Sheets. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/score-job-listings-and-generate-tailored-cover-letters (Millionrounds; every figure on the page links to its filing or article)

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

# Score job listings and generate tailored cover letters

Started by a clock, and works across Apify, Gmail, Google Docs and Google Sheets. It hands the judgement calls to OpenAI. 39 steps, 6 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscore-job-listings-and-generate-tailored-cover-letters)

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

**6** Branches: places the flow splits

**1** Loop or waits

**4** Services it connects to

## The flow

Starts it 3 Model 3 Logic 22 Service 11

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

- 1 **Manual trigger** Manual trigger *Starts it*
- 2 **Schedule trigger** Schedule trigger *Starts it*
- 3 **Error: catch all** Error trigger *Starts it*
- 4 **Configure Workflow Variables** Set *Logic*
- 5 **Set: format error message** Set *Logic*
- 6 **Set: Google Jobs config** Set *Logic*
- 7 **Set: Career Site API config** Set *Logic*
- 8 **Merge: error outputs** Merge *Logic*
- 9 **Apify: run Google Jobs actor** Apify *Service*
- 10 **Apify: run Career Site API actor** Apify *Service*
- 11 **Gmail: send error notification** Gmail *Service*
- 12 **Apify: get Google Jobs dataset** Apify *Service*
- 13 **Apify: get Career Site dataset** Apify *Service*
- 14 **Code: normalise Google Jobs** Code *Logic*
- 15 **Code: normalise Career Site API** Code *Logic*
- 16 **Merge: platform results** Merge *Logic*
- 17 **Loop: process batch** Split In Batches *Logic*
- 18 **Set: batch complete** Set *Logic*
- 19 **Google Sheets: check if job exists** Google Sheets *Service*
- 20 **Set: restore job data** Set *Logic*
- 21 **IF: already in sheet?** If *Logic*
- 22 **IF: apply URL present?** If *Logic*
- 23 **IF: description >= 200 chars?** If *Logic*
- 24 **IF: mid-level or senior?** If *Logic*
- 25 **Google Docs: GET base resume** Google Docs *Service*
- 26 **OpenAI: score job relevance** Open Ai *Model*
- 27 **Code: parse + validate score JSON** Code *Logic*
- 28 **Filter: valid score only** Filter *Logic*
- 29 **IF: score >= 7?** If *Logic*
- 30 **OpenAI: write cover letter** Open Ai *Model*
- 31 **Set: store cover letter** Set *Logic*
- 32 **IF: score >= 8?** If *Logic*
- 33 **OpenAI: write tailored resume** Open Ai *Model*
- 34 **Set: no resume URL** Set *Logic*
- 35 **Google Docs: create resume doc** Google Docs *Service*
- 36 **Google Sheets: append or update row** Google Sheets *Service*
- 37 **Google Docs: update doc content** Google Docs *Service*
- 38 **HTTP: make resume doc public** Http Request *Service*
- 39 **Set: resume URL** Set *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 39, with 6 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Apify, Gmail, Google Docs, Google Sheets
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on a clock.

Does it use AI?

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

How long does it take to set up?

Take your time. At 39 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 39 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%2Fscore-job-listings-and-generate-tailored-cover-letters)
- **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.

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

## Workflows like it

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

- [**AI-Powered news (stock, economy...) collector with Gemini** 41 steps · calls a model · Gmail, RSS](https://millionrounds.com/workflow/ai-powered-news-stock-economy-collector-with-gemini)
- [**An email assistant to manage your Gmail inbox with Gemini** 37 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/an-email-assistant-to-manage-your-gmail-inbox-with-gemini)
- [**Automate LinkedIn requests & icebreaker with Browserflow** 37 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automate-linkedin-requests-and-icebreaker-with-browserflow)
- [**Collect student absence reasons with WhatsApp** 41 steps · calls a model · Google Sheets, Redis](https://millionrounds.com/workflow/collect-student-absence-reasons-with-whatsapp)
- [**Track n8n workflow changes over time with Google Sheets** 37 steps · Google Sheets](https://millionrounds.com/workflow/track-n8n-workflow-changes-over-time-with-google-sheets)
- [**AI real estate agent: end-to-end ops automation with OpenAI** 42 steps · calls a model · Google Docs, Google Sheets](https://millionrounds.com/workflow/ai-real-estate-agent-end-to-end-ops-automation-with-openai)
