Библиотека / ИИ-агенты и ассистенты
ИИ-агенты и ассистенты
Учёт расходов из чата с помощью ИИ-агента в Google Sheets
Использует LLM для разбора сообщений о расходах, отправленных через чат n8n, в структурированный JSON и сохраняет каждое из них как строку в Google Sheets. Запускается при каждом сообщении в чате.
Что делает
## 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 "Workflow Input Trigger" properly when needed. ### 3. Activate the workflow to make chat work properly. Sent message to chat, something like "car wash; 59.3 usd; 25 jan 2024" you should get a response: Your expense saved, here is the output of save sub-workflow:{"cost":59.3,"descr":"car wash","date":"2024-01-25","msg":"car wash; 59.3 usd; 25 jan 2024"} and new row in Google sheets should be inserted!
Шаги
- AI Agent
- When chat message received
- Workflow Input Trigger
- OpenAI Chat Model
- Window Buffer Memory
- OpenAI Chat Model1
- Expense text to JSON parser
- Save expense into Google Sheets
- Parse msg and save to Sheets
- Error Handler
Похожие автоматизации
ИИ-агенты и ассистентыRoute webinar leads to sales with Google Sheets, Google Gemini, and SlackШагов: 23ИИ-агенты и ассистентыАссистент в Telegram для Gmail, календаря и Sheets с GeminiШагов: 14ИИ-агенты и ассистентыOptimize ASO keywords and app copy with Gemini, Apify, Google Sheets and SlackШагов: 18ИИ-агенты и ассистентыRoute WhatsApp leads and location alerts with Google Sheets, Gemini, and TelegramШагов: 23