Templates / Process WhatsApp PDFs with AWS Textract OCR via S3

Process WhatsApp PDFs with AWS Textract OCR via S3

Ready for 3.0

by Spiritec ✓ · 138 views · created 2026-02-19 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs on WhatsApp events (messages). Along the way it connects AWS S3 and WhatsApp Business Cloud. It also calls textract.us-east-1.amazonaws.com over HTTP.

How it runs

Trigger: On WhatsApp events (messages).

  1. Get PDF (HTTP Request): calls an HTTP API
  2. File Download (HTTP Request): calls an HTTP API
  3. Upload File to S (AWS S3): upload
  4. Download File from S (AWS S3): uses AWS S3
  5. AWS StartDocumentAnalysis (HTTP Request): calls textract.us-east-1.amazonaws.com (POST)
  6. Wait: waits 30 seconds
  7. AWS GetDocumentAnalysis (HTTP Request): calls textract.us-east-1.amazonaws.com (POST)
  8. Extract Text (Code): runs custom JavaScript code

Services it uses

AWS S3WhatsApp Business Cloud

HTTP calls to: textract.us-east-1.amazonaws.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

This n8n template demonstrates how to automatically extract text content from PDF documents received via WhatsApp messages using OCR. It is designed for use cases where users submit documents through WhatsApp and the document content needs to be digitized for…

Excerpt from Spiritec's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.