WorkflowGoogle SheetsOpen

Expense tracker n8n workflow with Google Sheets and AI chat

This n8n workflow lets you log expenses by typing a chat message, then saves each one as a row in Google Sheets. It is for people and small teams who want a quick way to record spending without opening the spreadsheet.

What it does

An AI agent with an OpenAI chat model and buffer memory reads the message. A sub-workflow parses the text into structured JSON and appends it to the sheet, with an error handler for failed runs.

How to use it

Copy the provided Google Sheet (File, Make a copy) and choose it in the Save expense into Google Sheets node. Open the Parse msg and save to Sheets tool and select this same workflow in its dropdown so the agent can call it.

Requirements and limits

Needs OpenAI and Google Sheets credentials.

More in Google Sheets and the n8n workflow library.

Full text

Front matter
name: AI agent: expense tracker in Google Sheets and n8n chat
description: Triggered manually or by an app event. Connects Google Sheets, Stop And Error. ## Save your expenses via chat message. LLM will parse your message to structured JSON and save as a new row into Google Sheet. ## Installation ### 1. Set up Google Sheets: Clone this Sheet: {{ $env.WEBHOOK_URL }} (File -> Make a copy) Choose this sheet into "Save expense into Google Sheets" node. ### 2. Fix sub-workflow dropdown: open "Parse msg and save to Sheets" node (which is an n8n sub-workflow executor tool) and choose the SAME workflow in the dropdown. it will allow n8n to call "
category: Automation
kind: Workflow
software: Google Sheets|Stop And Error

AI agent: expense tracker in Google Sheets and n8n chat

Triggered manually or by an app event. Connects Google Sheets, Stop And Error. ## Save your expenses via chat message.

LLM will parse your message to structured JSON and save as a new row into Google Sheet.

Installation

1. Set up Google Sheets:

Clone this Sheet: {{ $env.WEBHOOK_URL }}

(File -> Make a copy)

Choose this sheet into "Save expense into Google Sheets" node.

2. Fix sub-workflow dropdown:

open "Parse msg and save to Sheets" node (which is an n8n sub-workflow executor tool) and choose the SAME workflow in the dropdown. it will allow n8n to call "

Steps

  • AI Agent (noOp)
  • When chat message received (noOp)
  • Workflow Input Trigger (executeWorkflowTrigger)
  • OpenAI Chat Model (noOp)
  • Window Buffer Memory (noOp)
  • Sticky Note (stickyNote)
  • OpenAI Chat Model1 (noOp)
  • Expense text to JSON parser (noOp)
  • Save expense into Google Sheets (googleSheets)
  • Parse msg and save to Sheets (noOp)
  • Error Handler (stopAndError)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source and license

Source: https://github.com/Zie619/n8n-workflows/blob/main/Googlesheets/1661_GoogleSheets_Stickynote_Monitor_Triggered.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.