# HARO automation with OpenRouter and Gmail: n8n workflow

> Started by an arriving email, and works across Gmail and Outlook. It hands the judgement calls to OpenRouter.

Source: https://millionrounds.com/workflow/haro-automation-with-openrouter-and-gmail (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)

# HARO automation with OpenRouter and Gmail

Started by an arriving email, and works across Gmail and Outlook. It hands the judgement calls to OpenRouter. 14 steps: a working afternoon to understand properly.

Medium Calls a model: OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fharo-automation-with-openrouter-and-gmail)

**14 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 6 Logic 2 Service 5

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

- 1 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 2 **Gmail Trigger** Gmail trigger *Starts it*
- 3 **Structured Output Parser** Output Parser Structured *Model*
- 4 **Structured Output Parser1** Output Parser Structured *Model*
- 5 **OpenRouter Chat Model1** Lm Chat Open Router *Model*
- 6 **AI Agent** Agent *Model*
- 7 **Get a message** Gmail *Service*
- 8 **AI Agent1** Agent *Model*
- 9 **Split Out** Split Out *Logic*
- 10 **Split Out1** Split Out *Logic*
- 11 **Send a message** Microsoft Outlook *Service*
- 12 **Send a message1** Microsoft Outlook *Service*
- 13 **Send a message2** Microsoft Outlook *Service*
- 14 **Send a message3** Microsoft Outlook *Service*

## How it's built

- **Starts on:** An arriving email
- **Steps:** 14
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Outlook
- **Model:** OpenRouter

## Questions

What does it need to run?

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

What starts it?

It starts on an arriving email.

Does it use AI?

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

How long does it take to set up?

Plan an afternoon. 14 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 14 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%2Fharo-automation-with-openrouter-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)[Outlook](https://millionrounds.com/workflows?service=Outlook#library)

## Workflows like it

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

- [**AI real estate agent with RAG** 14 steps · calls a model · Gmail](https://millionrounds.com/workflow/ai-real-estate-agent-with-rag)
- [**AI voice travel agent with OpenAI and OpenRouter** 14 steps · calls a model · Gmail](https://millionrounds.com/workflow/ai-voice-travel-agent-with-openai-and-openrouter)
- [**Analyze inflation hedges with OpenAI and Gmail** 14 steps · calls a model · Gmail](https://millionrounds.com/workflow/analyze-inflation-hedges-with-openai-and-gmail)
- [**Automate Reuters economic news filtering and delivery** 14 steps · calls a model · Gmail](https://millionrounds.com/workflow/automate-reuters-economic-news-filtering-and-delivery)
- [**Automate client onboarding with Google Forms and OpenAI** 14 steps · calls a model · ClickUp, Gmail](https://millionrounds.com/workflow/automate-client-onboarding-with-google-forms-and-openai)
- [**Automated LinkedIn job hunter: get your best daily job matches** 14 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/automated-linkedin-job-hunter-get-your-best-daily-job-matche)
