Quick overview
This workflow listens to Stripe billing events, classifies each event, and sends WhatsApp messages to customers and internal teams via SyncMate, with quiet-hours handling, invoice re-checks before chasing payments, and execution logging to Google Sheets.
How it works
- Triggers on Stripe events for payment failures, action-required payments, paid invoices, upcoming invoices, trial endings, and subscription cancellations.
- Fetches the Stripe customer, derives a WhatsApp-ready phone number (with opt-out handling), formats amounts, and classifies the event into a message type and optional team alert.
- Prevents duplicate processing by deduplicating Stripe webhook retries using the Stripe event ID and ignores events that don’t require outreach.
- Sends a WhatsApp alert to an internal WhatsApp group via SyncMate for high-value payment failures, final warnings, recovered payments, and churn due to non-payment.
- For customer-facing payment messages, delays sending during quiet hours and re-checks the invoice status in Stripe to confirm it is still unpaid before continuing.
- Routes to the appropriate customer message (failed payment, reminder, final warning, payment confirmation required, recovered payment, renewal reminder, trial ending, or win-back) and sends it via SyncMate with retries.
- Appends a row to Google Sheets for every outcome (sent, skipped, paid overnight, or failed) and sends a WhatsApp team alert via SyncMate if customer delivery fails.
Setup
- Add Stripe API credentials for the Stripe trigger and customer lookups, and ensure Stripe webhooks can deliver the selected billing events.
- Install the community node “WhatsApp Notifications by SyncMate” and add your SyncMate (Assistro) API token for the WhatsApp send and group alert steps.
- Update the Config values (business name, support contact, default country code, team WhatsApp group ID, Stripe billing portal URL, win-back URL, high-value threshold, and quiet hours).
- Connect Google Sheets credentials and select the target spreadsheet and sheet in the append step, with columns: Time, Customer, Email, Event, Amount, Phone, Status, Detail.
- Ensure your Stripe customers have a usable phone number (or set metadata.whatsapp) and optionally set metadata.whatsapp_opt_out=true for customers who should not be messaged.
Requirements
- Stripe account with an API key (test mode works for trying it out)
- SyncMate account (assistro.co) with a connected WhatsApp number and API token
- Verified community node: WhatsApp Notifications by SyncMate
- Google Sheets account (optional, for the delivery log)
Customization
- Edit the wording of each customer message in the "Message:" nodes
- Change highValueAmount in Config to control which failed payments alert your team
- Adjust quietHoursStart and quietHoursEnd, and set the workflow time zone to match your customers
- Delete the Google Sheets branch if you don't need a delivery log
Additional info
Built for live billing: Stripe webhook retries are de-duplicated by event ID, customers are never chased for an invoice that was paid while their message waited for quiet hours to end, and every sent, skipped or failed message is logged so nothing fails silently.