Templates / Send re-engagement emails to inactive users with Supabase, Claude and SMTP

Send re-engagement emails to inactive users with Supabase, Claude and SMTP

Ready for 3.0

by Aumadi Technologies ✓ · 5 views · created 2026-06-16

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 8 nodes and runs on a schedule (every day at 09:00). Along the way it connects Supabase. It also calls api.anthropic.com over HTTP.

How it runs

Trigger: On a schedule (every day at 09:00).

  1. ⚙️ Config (Edit Fields (Set)): sets 4 fields: inactiveDays, mailType, fromEmail…
  2. Get Email Guidance (3 directions) (Supabase): get many
  3. Get Inactive Users (Supabase): get many
  4. 🧠 Claude: Write Email (HTTP Request): calls api.anthropic.com (POST)
  5. Extract Email (Code): runs custom JavaScript code
  6. Send Email: sends an email over SMTP
  7. Mark Re-engaged (Supabase): update

Services it uses

Supabase

HTTP calls to: api.anthropic.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 (6)

From the author

Quick Overview This workflow runs daily to find inactive users in Supabase, generates personalized re-engagement emails with Anthropic Claude using brand directions stored in an emailguidance table, sends the emails via SMTP, and updates the user record to…

Excerpt from Aumadi Technologies's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.