Subscription expiration nudge
When a paid subscription is approaching renewal or expiration, automatically remind the customer 7 days out, 3 days out, and 1 day out. Friendly tone for renewals, urgent tone for expirations. Catches churn before the card declines.
The problem this solves
A renewal failure is the most common reason a paying customer disappears. Most never notice until they try to use the product and find themselves locked out, by then they have moved on. A few well-timed reminders before renewal turn passive lapsers into active renewers.
What you end up with
Each morning a scheduled job finds subscriptions ending in 7, 3, or 1 day. Each subscriber gets a contextual message: 7 days out, "here's what you'll lose access to"; 3 days out, "update your payment method"; 1 day out, "last call". Renewals fire automatically; expirations get the urgency. The job skips anyone who already renewed or whose card was just updated.
How it works
- A scheduled job runs every morning at 9 AM in the user's timezone.
- It queries the subscription catalog for plans renewing or expiring exactly 7, 3, or 1 day from now.
- For each, an email is composed with the appropriate tone, "heads up" at 7 days, "update payment" at 3, "last call" at 1.
- Push notifications go to mobile users at the 1-day mark only (the urgency moment), with the same return link.
- Subscribers who already renewed, cancelled, or updated their card are filtered out, the job never double-pings.
Schedule
Daily at 9:00 AM KST
cron: 0 9 * * *
timezone: Asia/SeoulPrimitives used
The building blocks this recipe composes. Tap any to drill in.
Scheduled jobs (cron)
Scheduled jobsRun code on a schedule, every hour, every Monday morning, the first of the month. Cron jobs are built in: pick a schedule, describe what should happen, and the platform handles dispatching, retries, and authentication. The classic primitive for weekly reports, daily digests, expiration nudges, and any recurring automation.
Subscription management & comping
PaymentsView, filter, and cancel subscriptions in Payments. To grant a free/comp subscription without going through the payment gateway, use the grantSubscription tool, useful for trials, partner deals, or support overrides.
Subscription plans (Free, Pro, Enterprise, ...)
PaymentsDefine subscription plans (plan_id, name, price, interval) in Payments. Use the AI tool definePlans, or edit the plan catalog directly. Required before generating any code that references plan_ids, call getPlans first so plan_ids stay consistent.
Outbound email & AI rewrite
Email & pushSending email is built in: both the automatic emails your app sends (like receipts and password resets) and marketing campaigns. AI can rewrite your copy on demand for better results. There's no mail server to set up and nothing to configure; DontCode handles delivery.
Push notifications & in-app notification center
Email & pushPush notifications and an in-app notification center ship with every project. Subscribers self-manage; the platform handles subscription tokens, delivery, and badge counts. No FCM/APNS setup required.
Build this in your project
A ready-to-paste prompt for Insight. Open the App chat in your project and paste this, the build agent does the rest.
Build me a subscription renewal/expiration nudge. Every morning at 9 AM, find subscriptions that will renew or expire in exactly 7, 3, or 1 days. Email each subscriber with the right tone, friendly at 7 days ("heads up"), more urgent at 3 ("update your payment method"), urgent at 1 ("last call"). Send a push notification only at the 1-day mark. Skip anyone who already renewed, cancelled, or updated their card. Track sends to avoid duplicates.Open my projectRelated recipes
Abandoned checkout recovery
When a customer reaches checkout but does not complete the purchase, automatically email them a friendly reminder within a few hours, and a follow-up the next day. Typical recovery rate: 10-20% of abandoned orders convert.
New-signup welcome drip
A timed sequence of emails (and optional push notifications) that fires automatically when a new user signs up. Welcome them, walk them through key features, and nudge them at the right moments before they go cold.
Monthly investor & partner update
On the first of every month, send a polished update to your investors, advisors, and partners. The numbers come straight from your database (revenue, growth, retention, key wins). You add the narrative; the rest writes itself.