Record Chatwork expense and sales notes to Google Sheets with Claude checks
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs on a schedule (every 5 minutes) (plus 2 other triggers). Along the way it connects Google Sheets and Anthropic. It also calls api.chatwork.com over HTTP.
How it runs
Trigger: On a schedule (every 5 minutes) (plus 2 other triggers).
- Config (Edit Fields (Set)): sets 10 fields: room_ids, keyword, strip_keyword…
- Spreadsheet ID (Edit Fields (Set)): sets 1 field: spreadsheet_id
- Get room names (HTTP Request): calls api.chatwork.com (GET)
- Add the log and records tabs (HTTP Request): calls an HTTP API (POST)
- Split rooms (Code): runs custom JavaScript code
- Write the header rows (HTTP Request): calls an HTTP API (POST)
- Get messages (HTTP Request): calls an HTTP API (GET)
- Add room (Edit Fields (Set)): sets 2 fields: room_id, room_name
- Clean messages (Code): runs custom JavaScript code
- Keep new messages only (Remove Duplicates): removes duplicate items
…plus 9 more steps. See the full node list below.
Services it uses
HTTP calls to: api.chatwork.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Remove Duplicates
n8n-nodes-base.removeDuplicates - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Anthropic
@n8n/n8n-nodes-langchain.anthropic
From the author
Quick overview This workflow polls selected Chatwork rooms every 5 minutes, logs new messages to Google Sheets, uses Anthropic Claude to extract expense and sales records from keyword-tagged notes, validates the results with custom code, writes structured…