n8n workflow template · 11 nodes · OpenAI
Reconcile Rent Payments with Local Excel Spreadsheet and OpenAI is a free n8n workflow template that starts from the Local File Trigger node and works with OpenAI. It has 11 nodes, 5 of them AI nodes (Code Tool, Structured Output Parser, OpenAI Chat Model and AI Agent). The notes inside the workflow say: “Join the Discord or ask in the Forum!” To run it, you add your own credentials for OpenAI API.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
Join the Discord or ask in the Forum!
Some nodes in this workflow are only available to the self-hosted version of n8n.
Read more about the local file triggers
For this demo, we'll show that n8n is more than capable working with the local filesystem. This gives great benefits in terms of privacy and data security.
For our datastore, we're using a locally hosted XLSX Excel file which we'll query and update throughout this workflow.
Read more about AI Agents
An AI agent can not only check against agreed amounts and compare due dates but also consider contract exceptions and tenant notes before deciding to take action. In a scenario of 10+ of tenants, this can save a lot of admin time.
For this demo, we're using a remote LLM Model but this can easily be swapped out for other self-hosted LLMS models that support function calling.
Read more about using the Code Node
After the AI Agent has helped identify issues to action, we can generate a report and update a locally hosted xlsx file. This again helps keep workflows private to nothing senstive goes over the wire.
Though n8n lacks a builtin node for editing local xlsx file, we can tap into the sheetJS library available to the "Code" node.
With code comes great responsibility! There is a risk you may overwrite/delete data you didn't intend. Always makes backups and test on a copy of your spreadsheets!
The 11 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:
Configure your own credentials after importing. Create each credential in n8n, then select it in the node.
Do you need somewhere to run it? Read our guide to self-hosted n8n.
We can adapt this workflow to your apps, data and process, then deploy and support it.
Contact Us