Users with a failed payment
Users whose payment was declined in the last two weeks, so you can recover the money before the subscription lapses.
Authored by Sid Chaudhary
Founder & CEO at Intempt
Agentic workflow
Install now1 step Blu runs end to end. It drafts a plan and nothing runs until you approve it.
- 1
Build the failed-payment list
Install nowBlu builds Segment
About this recipe
When to use it
A failed payment isn't a cancellation, it's a recoverable problem if you catch it fast. This segment flags users with a payment failure in the last 14 days so dunning and recovery flows can trigger before the account lapses.
What it delivers
Segments users with a payment failure in the last 14 days, building the dunning/recovery cohort needed to catch involuntary churn before it finalizes.
How you prompt this
Describe the outcome in your own words and Blu Agent maps it to this recipe, or run it by name. It drafts a plan first and nothing runs until you approve it.
Tell Blu Agent what you want
“Users whose payment was declined in the last two weeks, so you can recover the money before the subscription lapses.”
recipe.md preview
Built from the published catalog. Blu Agent's full step prompts load in your workspace when you run it.
Inputs & outputs
What the recipe needs before it runs, and what it leaves in your workspace.
Inputs
- Nothing declared beyond an Intempt workspace. Blu asks for anything else it needs as it goes.
Outputs
- 01Segment
How the recipe runs
Blu follows the steps in order and shows you each one before anything goes live.
- 01Build the failed-payment listBuild a segment of users named "Failed-Payment Users". A user is in the segment when any of these is true: - they did the Payment failed event at least once in the last 14 days - they did the Invoice payment failed event at least once in the last 14 days - they did the Billing failed event at least once in the last 14 days - they did the Charge failed event at least once in the last 14 daysSegment
Install Intempt and run it
- 1
Sign up
Create a free Intempt workspace.
- 2
Connect your data
Add the sources this recipe reads from.
- 3
Ask Blu
Type /failed-payment-accounts in Blu once this recipe is live there.
- 4
Review and approve
Blu builds each step and waits for your OK before anything goes live.
