The flow
Starts it 2Logic 14Service 6
The steps in the order they run, from what starts it.
- 1Weekly Schedule TriggerSchedule triggerStarts it
- 2On Global ErrorError triggerStarts it
- 3Set Workflow ConfigSetLogic
- 4Post Error to SlackSlackService
- 5If Alerts EnabledIfLogic
- 6Fetch Customer DataGraphqlService
- 7Calculate Churn RiskCodeLogic
- 8If Batch Has Risky CustomersIfLogic
- 9Save Batch to MemoryCodeLogic
- 10Check for Next PageIfLogic
- 11Limit to 1 ItemLimitLogic
- 12Retrieve Customer DataCodeLogic
- 13If Risky Customers FoundIfLogic
- 14If Klaviyo EnabledIfLogic
- 15Aggregate Churn ResultsCodeLogic
- 16Create CSV ExportConvert To FileService
- 17Send to Klaviyo APIHttp RequestService
- 18Combine Export DataMergeLogic
- 19If Email Notifications OnIfLogic
- 20If Slack Notifications OnIfLogic
- 21Send Email AlertGmailService
- 22Send CSV to Slack ChannelSlackService
How it's built
- Starts on
- A clock
- Steps
- 22, with 7 branches
- Size
- Large: read it before trusting it with anything live
- Connects to
- Gmail, Slack
- Model
- None. This is plumbing, not judgement
Questions
What does it need to run?
An n8n account, plus your own Gmail and Slack accounts. You connect your own accounts after importing it; none are included.
What starts it?
It starts on a clock.
Does it use AI?
No. Every step is fixed logic or a call to a service, so it does the same thing every time.
How long does it take to set up?
Take your time. At 22 steps it is large: read it before trusting it with anything live.
How do I import it?
Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.
Before you run itNothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.