Describe the problem/error/question
I’m trying to build a task that involves extracting data from multi-page PDF files into documents. To achieve this, I’ve set up three distinct workflows:
- Workflow 1: Receives data from Telegram and saves it to a Google Sheet (including Telegram ID, file name, and file ID).
- Workflow 2: Periodically retrieves data from the Google Sheet, processes each row, and then provides feedback to the end-user.
- Workflow 3: Handles the core task: receiving a large PDF file and extracting text (by converting the PDF to PNG and using Gemini LLM for OCR).
However, I’m encountering a few issues:
- Workflow 1: When a user sends 5 PDF files simultaneously from Telegram, the Google Sheet only saves 1 or 2 rows (they seem to be overwriting each other).
- Workflow 2: Sending multiple PDF files to Workflow 3 causes n8n to run out of memory.
I’ve already tried using loops in Workflow 2, but the error persists.
Any advice on how to resolve these issues and ensure smooth end-to-end data processing?
What is the error message (if any)?
Problem in node ‘Execute Workflow‘ Error executing workflow with item at index 0
Problem in node ‘Execute Workflow‘ Error executing workflow with item at index 1
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- **n8n version:1.99.1
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- **Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
- **Operating system:ubuntu 24.04