Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Automated Invoice Processing with Telegram, GPT-4o, OCR and SAP Integration

n8n template #4849
++HOW IT WORKS:++ This workflow automates the processing of invoices sent via Telegram. It extracts the data using LlamaIndex OCR, logs it in Google Sheets, and optionally pushes the structured data to SAP Business One 🔹 1. Receive Invoice via Telegram: A user sends a PDF of an invoice through Telegram A Telegram Trigger node listens for incoming messages and captures the file and metadata The document is downloaded and prepared for OCR 🔹 2. OCR with LlamaIndex: The file is uploaded to the LlamaIndex OCR API. The workflow polls the API until the processing status returns SUCCESS Once ready, the parsed content is fetched in Markdown format 🔹 3. Data Extraction via LLM (editable): The Markd

How to set it up

  1. Open template #4849 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 3 credentials under Credentials → Add credential: Google Sheets, Telegram, OpenAI Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the OpenAI Chat Model node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Automated Invoice Processing with Telegram, GPT-4o, OCR and SAP Integration" (https://n8n.io/workflows/4849). It uses: Google Sheets, HTTP Request, Telegram, Code, Basic LLM Chain, OpenAI Chat Model, Structured Output Parser. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Raquel Giugliano published it free on n8n.io as a verified creator, and it has 13K views. It runs on n8n Cloud or a self-hosted n8n instance.

Google Sheets, Telegram, OpenAI Chat Model. The other 4 nodes are built into n8n.

Similar workflows

NameViews
  1. Create & Upload AI-Generated ASMR YouTube Shorts with Seedance, Fal AI, and GPT-424K
  2. AI Email Analyzer: Process PDFs, Images & Save to Google Drive + Telegram21K
  3. Extract data from resume and create PDF with Gotenberg15K
  4. Automate SEO blog content creation with GPT-4, Perplexity AI and WordPress6,949
  5. Automate SEO blog creation + social media with GPT-4, Perplexity and WordPress5,798
  6. Explore n8n Nodes in a Visual Reference Library5,197
  7. Automated Research Report Generation with AI, Wiki, Search & Gmail/Telegram4,632
  8. Generate AI Viral Videos with Seedance and Upload to TikTok, YouTube & Instagram215K