Automation library · Research and reporting

Process & summarize PDFs from email & messaging apps

Started by an incoming WhatsApp message, and works across Gmail, Outlook, Telegram and WhatsApp. It hands the judgement calls to OpenAI. 22 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

22 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
4Services it connects to

The flow

Starts it 2Model 2Logic 10Service 8

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

  1. 1Gmail Email MonitorGmailService
  2. 2Outlook Email MonitorMicrosoft OutlookService
  3. 3Telegram Bot ReceiverTelegram triggerStarts it
  4. 4WhatsApp Business ReceiverWhats App triggerStarts it
  5. 5Summarize PDFLm Chat Open AiModel
  6. 6Extract Gmail DataSetLogic
  7. 7Extract Outlook DataSetLogic
  8. 8Extract Telegram DataSetLogic
  9. 9Extract WhatsApp DataSetLogic
  10. 10AI PDF SummarizerAgentModel
  11. 11Check Email Attachments1IfLogic
  12. 12Validate Telegram PDFIfLogic
  13. 13Validate WhatsApp PDFIfLogic
  14. 14Prepare Response DataSetLogic
  15. 15Filter PDF AttachmentsCodeLogic
  16. 16Download Telegram PDFTelegramService
  17. 17Download WhatsApp PDFWhats AppService
  18. 18Route Response by PlatformIfLogic
  19. 19Extract PDF Text ContentExtract From FileService
  20. 20Send WhatsApp SummaryWhats AppService
  21. 21Notify Email PDF ProcessingWhats AppService
  22. 22Send Telegram SummaryTelegramService

How it's built

Starts on
An incoming WhatsApp message
Steps
22, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Outlook, Telegram, WhatsApp
Model
OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on an incoming WhatsApp message.

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 22 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 22 steps before you point it at anything that matters.