Automation library · Content

Press releases (PDF & Word) into polished articles with Gmail

Started by an arriving email, and works across Gmail and Google Drive. It hands the judgement calls to Claude and OpenAI. 20 steps, 2 branches: a working afternoon to understand properly.

MediumCalls a model: Claude, OpenAI

20 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 9Logic 3Service 7

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

  1. 1Gmail TriggerGmail triggerStarts it
  2. 2Anthropic Chat ModelLm Chat AnthropicModel
  3. 3Anthropic Chat Model1Lm Chat AnthropicModel
  4. 4Anthropic Chat Model2Lm Chat AnthropicModel
  5. 5Code: delete all but pdf and wordCodeLogic
  6. 6AI Article Writer 3AgentModel
  7. 7AI Article Writer 2AgentModel
  8. 8AI Article Writer 1AgentModel
  9. 9has attachment?IfLogic
  10. 10OpenAI self assesmentOpen AiModel
  11. 11OpenAI self-assesmentOpen AiModel
  12. 12OpenAI self-assesment2Open AiModel
  13. 13PDF or WORD?IfLogic
  14. 14reply to sender (no attachment)GmailService
  15. 15reply to sender (word)GmailService
  16. 16reply to sender (pdf)GmailService
  17. 17Extrahiere aus PDF1Extract From FileService
  18. 18Google DriveGoogle DriveService
  19. 19HTTP Request2Http RequestService
  20. 20HTTP Request3Http RequestService

How it's built

Starts on
An arriving email
Steps
20, with 2 branches
Size
Medium: a working afternoon
Connects to
Gmail, Google Drive
Model
Claude, OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Drive accounts, and a key for Claude and OpenAI. 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 Claude and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 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 20 steps before you point it at anything that matters.