Automation library · Customer support

WhatsApp personal AI assistant with PDF

Started by an incoming WhatsApp message, and works across Airtable, Gmail, Google Calendar and WhatsApp. It puts Claude and OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 35 steps, 3 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: Claude, OpenAIRetrieval

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

The flow

Starts it 1Model 8Logic 8Service 18

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

  1. 1SerpAPI Web Search ToolTool Serp ApiModel
  2. 2Claude Sonnet ModelLm Chat AnthropicModel
  3. 3Airtable Email DatabaseAirtable ToolService
  4. 4Add Email to AirtableAirtable ToolService
  5. 5Search Google DriveGoogle Drive ToolService
  6. 6Create Google Calendar EventGoogle Calendar ToolService
  7. 7Send Email via GmailGmail ToolService
  8. 8Send Discord MessageDiscord ToolService
  9. 9Search Gmail EmailsGmail ToolService
  10. 10Get Google Calendar EventsGoogle Calendar ToolService
  11. 11Calculator ToolTool CalculatorModel
  12. 12When WhatsApp Message ReceivedWhats App triggerStarts it
  13. 13Conversation Memory BufferMemory Buffer WindowModel
  14. 14Personal Assistant AgentAgentModel
  15. 15Route by Input TypeSwitchLogic
  16. 16If Reply Should Be AudioIfLogic
  17. 17Set Text InputSetLogic
  18. 18Get WhatsApp Audio URLWhats AppService
  19. 19Get WhatsApp Image URLWhats AppService
  20. 20If Message is PDF DocumentIfLogic
  21. 21OpenAI Generate Audio ReplyOpen AiModel
  22. 22Send Text Reply via WhatsAppWhats AppService
  23. 23Fetch Audio from URLHttp RequestService
  24. 24Fetch Image from URLHttp RequestService
  25. 25Get WhatsApp File URLWhats AppService
  26. 26Send Incorrect Format ErrorWhats AppService
  27. 27Fix Audio MIME TypeCodeLogic
  28. 28OpenAI Transcribe AudioOpen AiModel
  29. 29OpenAI Analyze ImageOpen AiModel
  30. 30Fetch PDF File from URLHttp RequestService
  31. 31Send Audio via WhatsAppWhats AppService
  32. 32Set Audio Transcript TextSetLogic
  33. 33Set Image Analysis TextSetLogic
  34. 34Extract Text from PDFExtract From FileService
  35. 35Set File Content TextSetLogic

How it's built

Starts on
An incoming WhatsApp message
Steps
35, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Airtable, Gmail, Google Calendar, WhatsApp
Model
Claude, OpenAI
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own Airtable, Gmail, Google Calendar and WhatsApp 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 incoming WhatsApp message.

Does it use AI?

Yes. It calls Claude and OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 35 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 35 steps before you point it at anything that matters.