Create spaced-repetition LINE book quizzes with Claude Sonnet 5
Ready for 3.0What this workflow does
This AI workflow has 37 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Anthropic Chat Model. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- settings (Edit Fields (Set)): sets 3 fields: question_count, review_limit, review_intervals
- is_webhook (If): checks a condition and branches into true / false
- split_events (Split Out): splits a list into separate items
- get_all_progress (Data table): get
- is_image (If): checks a condition and branches into true / false
- pick_due (Code): runs custom JavaScript code
- get_image (HTTP Request): calls an HTTP API
- is_postback (If): checks a condition and branches into true / false
- get_due_question (Data table): get
- reply (HTTP Request): calls an HTTP API (POST)
…plus 23 more steps. See the full node list below.
Services it uses
Other LINE + Anthropic templates (6)
HTTP calls to: api.line.me
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 (11)
- Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview This workflow connects a LINE Messaging API bot with Anthropic Claude and n8n Data Tables to turn book-page photos into multiple-choice quizzes, track each user’s results, and send scheduled spaced-repetition review questions back to users…