What the agent does
After launch, some people who signed up for the production site will cancel or delete their account. Their reason is the most useful feedback there is. Add a short, optional exit survey to cancellation and account deletion, store the answers, and make sure it never makes leaving harder.
1. Find the exits
List every way a user leaves: cancelling a subscription (in the app or the billing provider's portal), downgrading, and deleting the account. Note which ones the app controls.
2. One question
Add a single optional question at the exits the app controls: "What is the main reason you are leaving?" with five or six reasons (too expensive, missing a feature, too hard to use, switched to another tool, no longer needed, other) and an optional text box. A visible skip button; cancelling works with no answer.
3. Store and summarise
Store the reason, note, plan and how long they were a customer, without extra personal data. Give me a query or a small admin view that counts reasons by month.
4. Follow up with care
If a reason points to a fix (a missing feature that exists, a bug), propose an optional, honest follow-up message I can send, never automatic, never a guilt trip.
Done means
- Every exit the app controls has one optional question with a visible skip.
- Cancelling and deleting work with no answer.
- Answers are stored with plan and tenure, and I can count reasons by month.
Questions
Should I offer a discount when people cancel?
Some products do, but never block or delay cancelling to do it. Making cancellation hard is against the rules in many places and costs trust.
How many questions should an exit survey have?
One, with an optional note. Every extra question lowers the answer rate.
What if cancellation happens in the billing portal?
Many billing providers let you add a cancellation reason question in their portal. The prompt covers the exits your app controls and points out the others.
Does this prompt add links to Aback Launch to my site?
No. Nothing in the prompt mentions Aback Launch or asks your agent to link to us. The only exception is an optional badge step, which stays off unless you tick it. Some prompt libraries slip their own link into your codebase by default; we think that should always be your choice.
Which coding agents does it work with?
Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and any agent that can read your project and edit files. You can copy it as a plain prompt, save it as a Claude Code skill or a Cursor rule, or add it to AGENTS.md.
Is it safe to run on my real codebase?
The prompt makes the agent read first, show a plan and wait for your approval, and it forbids touching secrets, deploying and deleting data. Still review the changes and run your tests before you deploy, as with any change.
Changelog
- v1.0First version.