Turn Chatwork discussion to-dos into Chatwork tasks with Claude Haiku
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on a schedule (every minute) (plus 1 other trigger). Along the way it connects Anthropic Chat Model. It also calls api.chatwork.com over HTTP.
How it runs
Trigger: On a schedule (every minute) (plus 1 other trigger).
- Config (Edit Fields (Set)): sets 6 fields: room_id, context_size, max_age_minutes…
- Read the bot account (HTTP Request): calls api.chatwork.com
- Read room messages (HTTP Request): calls an HTTP API
- Read room members (HTTP Request): calls an HTTP API
- Read the log (Data table): get (row)
- Find a new mention (Code): runs custom JavaScript code
- Ask Claude for the to-dos (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Haiku 5.
- Check quotes, assignees and due dates (Code): runs custom JavaScript code
- Any tasks to create? (If): checks a condition and branches into true / false
- One item per task (Code): runs custom JavaScript code
…plus 5 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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
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 - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - If
n8n-nodes-base.if
From the author
Quick overview This workflow monitors a Chatwork room for new mentions of a bot, uses Anthropic Claude to extract agreed to-dos from recent messages, and then creates corresponding Chatwork tasks with validated assignees and optional due dates, replying in…