# Process & summarize PDFs from email & messaging apps: n8n workflow

> Started by an incoming WhatsApp message, and works across Gmail, Outlook, Telegram and WhatsApp. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/process-and-summarize-pdfs-from-email-and-messaging-apps (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# 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.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fprocess-and-summarize-pdfs-from-email-and-messaging-apps)

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

**4** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 2 Model 2 Logic 10 Service 8

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

- 1 **Gmail Email Monitor** Gmail *Service*
- 2 **Outlook Email Monitor** Microsoft Outlook *Service*
- 3 **Telegram Bot Receiver** Telegram trigger *Starts it*
- 4 **WhatsApp Business Receiver** Whats App trigger *Starts it*
- 5 **Summarize PDF** Lm Chat Open Ai *Model*
- 6 **Extract Gmail Data** Set *Logic*
- 7 **Extract Outlook Data** Set *Logic*
- 8 **Extract Telegram Data** Set *Logic*
- 9 **Extract WhatsApp Data** Set *Logic*
- 10 **AI PDF Summarizer** Agent *Model*
- 11 **Check Email Attachments1** If *Logic*
- 12 **Validate Telegram PDF** If *Logic*
- 13 **Validate WhatsApp PDF** If *Logic*
- 14 **Prepare Response Data** Set *Logic*
- 15 **Filter PDF Attachments** Code *Logic*
- 16 **Download Telegram PDF** Telegram *Service*
- 17 **Download WhatsApp PDF** Whats App *Service*
- 18 **Route Response by Platform** If *Logic*
- 19 **Extract PDF Text Content** Extract From File *Service*
- 20 **Send WhatsApp Summary** Whats App *Service*
- 21 **Notify Email PDF Processing** Whats App *Service*
- 22 **Send Telegram Summary** Telegram *Service*

## 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.

## 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%2Fprocess-and-summarize-pdfs-from-email-and-messaging-apps)
- **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)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**AI-Powered Vendor Policy & RSS Feed Analysis** 22 steps · calls a model · Gmail, RSS](https://millionrounds.com/workflow/ai-powered-vendor-policy-and-rss-feed-analysis)
- [**AI-powered viral trend analysis for TikTok and Instagram** 22 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-viral-trend-analysis-for-tiktok-and-instagram)
- [**Automate UX research planning with Gemini and Google Docs** 22 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/automate-ux-research-planning-with-gemini-and-google-docs)
- [**Conversational Razorpay Analytics with Gemini and Telegram Bot** 22 steps · calls a model · Telegram](https://millionrounds.com/workflow/conversational-razorpay-analytics-with-gemini-and-telegram-b)
- [**CryptoMind AI: Multi-Model Market Analyst with Gemini** 22 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/cryptomind-ai-multi-model-market-analyst-with-gemini)
- [**Effortless email management with DeepSeek and OpenAI** 22 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/effortless-email-management-with-deepseek-and-openai)
