Block 1 - Gmail Trigger
- Type / Role
- n8n-nodes-base.gmailTrigger - gmailTrigger
- Config choices
- Version 1.3
This workflow is provided as-is. Please review and test before using in production.
How It Works 1. Trigger : Watches for new emails in Gmail with PDF/image attachments. 2. OCR : Sends the attachment to OCR.space API (https://ocr.space/OCRAPI) to extract invoice text. 3. Parsing :...
n8n-nodes-base.gmailtrigger, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.slack, n8n-nodes-base.if, n8n-nodes-base.gmail, n8n-nodes-base.xero, n8n-nodes-base.httprequest
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Abi Odedeyi.
Original n8n.io sourceHow It Works
Set up steps
• Estimated setup time: 45-60 mins • You’ll need connected credentials for Gmail, Slack, Google Sheets, and Xero • Replace the default API key for OCR.space with your own (in the HTTP Request node) • Update Slack channel IDs and label IDs to match your workspace • Adjust invoice validation rules as needed (e.g. currency, red flag conditions)
All detailed explanations and field mappings are provided in sticky notes within the workflow.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Automate invoice processing with Gmail, OCR.space, Slack & Xero |
|---|---|
| Complexity | advanced |
| Nodes | 24 |
| Categories | Invoice Processing, AI Summarization |
| Author | Abi Odedeyi |
| Published | 19 Oct 2025 |
Use the JSON export at /data/workflows/9905/9905.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
How It Works 1. Trigger : Watches for new emails in Gmail with PDF/image attachments. 2. OCR : Sends the attachment to OCR.space API (https://ocr.space/OCRAPI) to extract invoice text. 3. Parsing :...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Invoice Processing, AI Summarization use case.