n8n Workflow: Google Sheets Churn Risk SMS with Gemini & Twilio
n8n Workflow: Google Sheets Churn Risk SMS with Gemini & Twilio
Regular price
£71.99
Regular price
£71.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Workflow: Google Sheets Churn Risk SMS with Gemini & Twilio
Regular price
£71.99
Regular price
£71.99
Sale price
Unit price
/
per
Run weekly churn-risk SMS campaigns from your Google Sheets—automatically
This n8n workflow analyzes Google Sheets attendance data, computes a 0–100 churn risk score, and uses Google Gemini to generate a personalized re-engagement SMS. Eligible members are messaged via Twilio, and every outreach is logged back to your Google Sheets—so you can turn churn signals into action without manual work.
What this workflow does
- Schedules weekly to keep your re-engagement outreach timely.
- Pulls all active members from the Google Sheets tab “Members”.
- Fetches each member’s attendance history from the Google Sheets tab “Attendance”.
- Calculates churn metrics: visits in the last 30 days vs. prior 30 days, attendance drop percentage, and days since the last visit—then derives a capped 0–100 churn risk score.
- Filters recipients to members with a churn signal and a risk score ≥ 60; others are skipped.
- Loads member details from “MemberProfiles” and sends profile + churn metrics to Google Gemini.
- Gemini returns:
- a short internal diagnosis,
- a ≤300-character SMS message,
- an SMS eligibility flag.
- If eligible, sends the message via Twilio (SMS/MMS/WhatsApp).
- Appends outreach details (sent message, timestamp, member ID, risk score) to “OutreachLog”.
Use cases
- Automate re-engagement for gym or fitness subscriptions when attendance drops.
- Reduce churn by sending targeted outreach only to members with meaningful risk signals (score ≥ 60).
- Generate personalized SMS copy at scale using Gemini while keeping messages within 300 characters.
Technical details
- Google Sheets via n8n using a Service Account credential shared to the spreadsheet: “Gym Member Management & Outreach Tracker”.
- Google Gemini (Google PaLM) for chat-based SMS generation and eligibility flagging.
- Twilio node to send SMS/MMS/WhatsApp and track delivery execution.
- n8n workflow logic nodes: if, code, no op, limit, plus documentation notes via sticky note.
