Templates / Extract invoice data from Slack PDFs to Google Sheets with GPT-4o

Extract invoice data from Slack PDFs to Google Sheets with GPT-4o

Ready for 3.0

by Toshiki Hirao ✓ · 334 views · created 2025-09-09 · Invoice Processing, 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-10-19.

What this workflow does

This AI workflow has 8 nodes and runs on Slack events. Along the way it connects Google Sheets, Slack and OpenAI Chat Model.

How it runs

Trigger: On Slack events.

  1. Fetch the pdf (HTTP Request): calls an HTTP API
  2. Extract information from pdf (Extract from File): extracts data from a file (pdf)
  3. Extract invoice information (AI Agent): runs an AI agent, with model: AI model; output parser: Structure Output
  4. Append row in sheet (Google Sheets): append
  5. Send a message (Slack): uses Slack

Services it uses

Google SheetsSlackOpenAI Chat Model

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.

  • Still check Slack Trigger requires a signing secret on the Slack API credential (Receive invoice pdf).

Nodes used (8)

From the author

Managing invoices manually can be time-consuming and error-prone. This workflow automates the process by extracting key invoice details from PDFs shared in Slack, structuring the information with AI, saving it to Google Sheets, and sending a confirmation back…

Excerpt from Toshiki Hirao'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.