Extract spend details (template)
24 nodes · gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini
- Engine
- n8n
- Nodes
- 24
- Trigger
- scheduled/triggered
- Source file
- 1935_Splitout_Extractfromfile_Automation_Triggered.json
Workflow flow
Get invoice
Gmail
Get payment
Gmail
Structured Output Parser1
@n8n/n8n-nodes-langchain.outputParserStructured
Google Gemini Chat Model1
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Extract invoice
ExtractFromFile
Extract payment
ExtractFromFile
Invoice data
Set
Payment data
Set
Switch
Switch
HTML
Html
Set data 1
Set
Set data 2
Set
Split Out
Split Out
Extract details1
@n8n/n8n-nodes-langchain.chainLlm
Set data 0
Set
Send1
Google Sheets
Merge
Merge
Extract details
@n8n/n8n-nodes-langchain.chainLlm
Send
Google Sheets
21 steps · flows top to bottom, branches left to right
Browse by integration
Import into n8n
- Download the n8n JSON file (full or sanitized).
- In n8n: Workflows → Import from file.
- Open each node and reconnect credentials to your accounts.
- Test with manual execution before enabling triggers.
Sanitized JSON removes credential IDs — safer for sharing. Flow graph JSON is OpenRuna's lightweight format for diagrams and other tools, not n8n import.
Overview
Extract spend details (template) is a free n8n workflow on OpenRuna — 24 nodes connecting gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini, googleSheets, switch. Download the JSON, view the flow diagram, and import it into your n8n instance.
What this workflow does
"Extract spend details (template)" is an n8n automation built from 24 nodes spanning gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini, googleSheets, switch. 24 nodes · gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini It starts from a scheduled/triggered trigger and routes data through every node in order. OpenRuna renders the node graph and offers the JSON export so you can import and adapt it in minutes. Use it to learn integration patterns, fork it for your own use case, or deploy it quickly after reconnecting credentials.
Use cases
- Use it as a starting template when wiring gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini, googleSheets, switch — adjust node parameters to your accounts and record IDs.
- Import "Extract spend details (template)" into n8n, reconnect credentials for gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini, googleSheets, switch, and run the same automation in your own workspace.
- Share it with your team as a documented reference for scheduled/triggered automations in the gmail stack.
- Study how data moves from gmail to extractFromFile before building your own variant.
Example output
Imported into n8n, "Extract spend details (template)" exposes 24 configured nodes. Trigger type: scheduled/triggered. Integrations: gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini, googleSheets, switch. Set your credentials on the gmail node, then verify each downstream node picks them up. Run it once in test mode to verify any branch logic (Switch/IF nodes) before enabling production triggers.
Tips by platform
Claude
Paste the exported JSON for "Extract spend details (template)" into Claude and ask it to explain each of the 24 nodes. Claude is good at suggesting credential mappings for gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini, googleSheets, switch, plus error-handling and idempotency improvements before you run it in production.
ChatGPT
Have ChatGPT generate a checklist for adapting "Extract spend details (template)" to your accounts — which gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini, googleSheets, switch credentials to create and which node parameters to change first.
Cursor
Open the downloaded JSON in Cursor and use Agent mode to refactor hard-coded URLs into env vars, or to generate tests for any Code nodes. Keep the OpenRuna flow diagram open so you do not break connection order across the 24 nodes.
Frequently asked questions
- How do I import "Extract spend details (template)" into n8n?
- Click Download n8n JSON on this page, then in n8n choose Workflows → Import from file and select the downloaded file. Reconnect credentials on each node — the export carries credential IDs from the original author's instance, not working secrets.
- Which integrations does "Extract spend details (template)" use?
- It uses: gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini, googleSheets, switch. The flow diagram above shows how each service connects across the 24 nodes. Filter OpenRuna by integration to find related workflows and tools.
- Can I import a sanitized export without credentials?
- Yes. Use "Download sanitized JSON" to strip credential references before sharing internally. You will still add your own gmail and extractFromFile credentials in n8n after import.
- What trigger type does "Extract spend details (template)" use?
- Trigger type: scheduled/triggered. After import, confirm the trigger node (webhook, schedule, or app event) matches your environment, then activate the workflow when you are ready to run it.
- Is "Extract spend details (template)" free to use?
- OpenRuna catalogs community n8n workflows under open licenses. Check the source corpus link for the original license; commercial use may require verifying the third-party API terms for gmail, extractFromFile, html, splitOut, outputParserStructured, lmChatGoogleGemini, googleSheets, switch.
Related resources
- Agent
PraisonAI
24/7 AI employee team for automating complex challenges. Low-code multi-agent framework with handoffs, guardrails, memory, RAG, and 100+ LLM providers
- Agent
Prompt Optimizer
AI prompt optimization tool with multi-round iterative improvements, dual-mode optimization for system and user prompts, and multi-model support. Available as web app, desktop app, Chrome extension, and Docker deployment. AGPL-3.0 licensed
- Agent
Archon
Workflow engine for deterministic AI coding agents. Define development processes as YAML workflows (planning → implementation → validation → review → PR) with isolated Git worktrees for parallel execution. MIT licensed
- Agent
A2A Protocol
Agent2Agent (A2A) open protocol enabling communication and interoperability between opaque agentic applications. Donated to Linux Foundation by Google with 50+ technology partners. Apache 2.0 licensed
- Agent
CAMEL
First and best multi-agent framework for building scalable agent systems. Apache 2.0 licensed with extensive tooling for agent communication and task automation
- Agent
Neuron AI
PHP Agentic Framework for building production-ready AI driven applications. Connect components (LLMs, vector DBs, memory) to agents that can interact with your data. MIT licensed
- Agent
smolagents
Lightweight agent framework centered on tool use and code-executing workflows
- Agent
Supermemory
Memory API and app for AI agents that provides fast, scalable, context-aware storage and retrieval across projects. MIT licensed
