Classify survey comments for churn risk with Claude Haiku, Supabase and n8n and get a weekly theme digest
A step-by-step build that tags each open-text survey response with themes, sentiment and a churn signal using a cheap Claude model, alerts on risky ones, and emails a weekly summary of themes.
Evidence: The source shows its work: steps, screenshots, code or data you can inspect.
The business problem
A SaaS founder collects survey comments but reads only a fraction of them, so churn warnings in the text go unnoticed.
What was tried
A survey with a 0 to 10 score and one comment field sends responses by webhook with metadata added from the product database. Two Supabase tables hold responses and weekly snapshots. One workflow calls Claude Haiku per response to assign one to three themes from nine, set sentiment, a churn signal and a summary as JSON, and emails an alert if the signal is raised. A Monday workflow aggregates the week, asks Claude for a short narrative and emails a digest with themes, quotes, churn patterns and one action. After about 50 responses the founder reviews ten against the tags and adjusts the definitions.
What was reported (not reported)
The author says the build takes about two hours and about $5 a month in API calls, and claims about 15 minutes of automation instead of 8 hours of manual review per cycle. No accuracy or case-study results are provided.
Limitations
The churn rules are heuristics with no evidence that they predict churn, and no classification accuracy is measured beyond a manual check of ten responses. Retry handling, the exact model version and personal-data handling for stored emails and comments are not covered, and the $5 estimate excludes n8n, Supabase, Resend and survey tool costs. The article links to the author's paid build service.
What you need
A webhook-capable survey tool, access to user metadata, and accounts for Supabase, n8n, the Anthropic API and Resend, plus basic SQL and n8n familiarity.
Sources
- Ekofi Pulse (Substack) ↗ Tutorial, published October 2, 2026
Source published: October 2, 2026. Last reviewed here: October 11, 2026. Spot a mistake? Tell us.
Tools in this workflow
- Claude: Classifies responses and writes the digestTry Claude
- n8n: Runs both workflowsTry n8n
- Supabase: Stores responses and weekly snapshotsTry Supabase
- Resend: Sends alerts and the digestTry Resend
Get new workflows like this by email
A short selection of the most useful new workflows, including the ones that did not work. Free, and you can unsubscribe at any time.
Related workflows
Hand your year-end bookkeeping checklist to Claude Code: it finds context in your email, reconciles in Xero and asks you only what it cannot find
The owner of a small UK company gave Claude Code his accountant's 37-item year-end checklist. Claude planned the job, reconciled about 200 bank lines in Xero, recategorised expenses and filled the form, with about an hour of his input over 80 short messages.
Check whether your pages can appear in Google AI Overviews with a short eligibility script, then accept that AI Overview clicks cannot be told apart in analytics
A solo founder with a dozen small sites read Google's own rules for AI Overviews, wrote a standard-library Python script that checks indexing and snippet settings, ran it on 20 URLs, then compared what his analytics can and cannot attribute to AI tools.
Put a carefully engineered AI tutor in front of four real pilot users and learn the tone was wrong despite passing synthetic evals
A solo engineer built a Socratic WhatsApp tutor for Indian Class 10 exams with a supervisor router, anti-answer guardrails and voice and notebook grading. Four pilot students said within minutes it talked down to them, and its replies were too long for chat.
Track ChatGPT visits by utm_source instead of referrer, then find they land on live-data tools rather than service pages
A small Israeli web agency found ChatGPT had become its second-largest traffic source once it filtered by utm_source instead of referrer: 769 sessions in 30 days, 76% on one free vehicle lookup tool and none on service pages. Visitors looked for contacts more often, but leads are unknown.