Product
Look into every cancellation
When a customer cancels, Merlin checks their usage and support history. It posts the likely reason and the evidence behind it in #product.
@Merlin whenever Stripe reports a subscription update, check whether the customer canceled and skip unless they did. Look up the customer in Stripe, their product usage over the last 90 days in PostHog and their Intercom conversations. Post the account, the plan and the most likely reason here, with the evidence behind it. Don't contact the customer or change anything in Stripe.
- Starts whenStripe tells Merlin's webhook that a subscription changed
Merlin worksClaude Code or Codex skips changes that aren't cancellations, then reads the account's usage in PostHog and its Intercom conversations
- You getThe account, its plan and the likely reason with the evidence, in
#product
Tools
- Stripe
- PostHog
- Intercom
- Slack
Capabilities
- Automations
- Integrations
- Your agent's MCP
How it works
From a Stripe subscription change to the likely reason in #product.
When a subscription changes, Stripe sends
customer.subscription.updatedto Merlin's webhook and the automation starts a run.Claude Code or Codex ends the run without posting unless the customer canceled. For a cancellation, it reads the customer in Stripe, 90 days of usage in PostHog and their Intercom conversations.
A new post in
#productnames the account, its plan and the most likely reason, with the evidence behind it. Nobody is contacted and nothing changes in Stripe.
When a subscription changes, Stripe sends customer.subscription.updated to Merlin's webhook and the automation starts a run.
Claude Code or Codex ends the run without posting unless the customer canceled. For a cancellation, it reads the customer in Stripe, 90 days of usage in PostHog and their Intercom conversations.
A new post in #product names the account, its plan and the most likely reason, with the evidence behind it. Nobody is contacted and nothing changes in Stripe.
Overview
Agents
Skills
Memory
Automations
Integrations
Settings
Look into every cancellation
PauseDetailsRun history
Trigger
Where events come from, the event that starts a run, and the filters it must match.
Run
What Merlin does each time, where it runs, and where the result goes.
whenever Stripe reports a subscription update, check whether the customer canceled and skip unless they did. Look up the customer in Stripe, their product usage over the last 90 days in PostHog and their Intercom conversations. Post the account, the plan and the most likely reason here, with the evidence behind it. Don't contact the customer or change anything in Stripe.
Before and after
Every cancellation gets a reason while it's still fresh.
Without Merlin
Someone notices the cancellation days later, then pieces the story together from three tools.
- 01Spot the cancellation email
- 02Look up the customer
- 03Check the plan and end date
- 04Look for failed payments
- 05Pull 90 days of usage
- 06Find when usage dropped
- 07Read their conversations
- 08Ask the account owner what happened
- 09Write up the likely reason
- 10Post it in #product
With Merlin
The cancellation starts the work, and the team reads the reason in #product.
- Stripe reports a subscription changeTo Merlin's Stripe webhook
Checks usage and support historyClaude Code with Stripe, PostHog and Intercom
- The likely reason in
#productOnly for cancellations
Setup
Send Stripe's subscription events to Merlin and give your agent the history.
Set these up once and each cancellation lands in #product with its likely reason. Merlin never contacts the customer or changes anything in Stripe.
- 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
- 02Send Stripe events to MerlinWebhooksAdd Merlin's webhook in Stripe with its setup steps. Nothing starts until its first event arrives.
- 03Add Stripe to your agentYour agent's MCPConnect the Stripe MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 04Add PostHog to your agentYour agent's MCPConnect the PostHog MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 05Add Intercom to your agentYour agent's MCPConnect the Intercom MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 06Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 07Expect a run for every subscription changeAutomations
Stripe sends the same event for upgrades, seat changes and cancellations, so each change starts a run and counts as a request. Runs that find no cancellation end without posting.
- 08Use a read-only Stripe keyYour agent's MCP
Connect Stripe's MCP server on the creator's machine with a restricted key that can only read, so a run can look up the customer but never change anything.
- 09Paste the setup promptAutomationsSend the prompt below to @Merlin in Slack, in the channel it should post to. Merlin creates the automation and tells you what it set up.
Prompt
Have Merlin look into every cancellation with one prompt.
@Merlin whenever Stripe reports a subscription update, check whether the customer canceled and skip unless they did. Look up the customer in Stripe, their product usage over the last 90 days in PostHog and their Intercom conversations. Post the account, the plan and the most likely reason here, with the evidence behind it. Don't contact the customer or change anything in Stripe.
Once, when you send it
- PromptYou send the prompt to @Merlin
- WebhookYou add Merlin's webhook in Stripe
- AutomationMerlin creates the automation
Every time the event arrives
- EventStripe sends the event
- RuntimeMerlin picks the creator's machine first
- ContextThe run gathers context
- WorkClaude Code or Codex reads usage and support history
- ResultMerlin posts the likely reason in #product
- SteeringReplies in its thread follow up
Related use cases
More tasks you can hand to Merlin.
- IntegrationsYour agent's MCP
Product
Count who asked for a feature
Ask Merlin in #product who wants a feature. You get the accounts that asked for it in Linear, Intercom and #feedback, each with a quote and a link.
@Merlinin#productAccounts with quotes in the thread - AutomationsYour agent's MCP
Sales
Flag renewals at risk every month
Every month, Merlin checks the renewals due in the next 90 days. You get the ones with falling usage or open escalations in your sales channel.
Day 1 of every month at09:00Renewals at risk in#sales - IntegrationsYour agent's MCP
Product
Synthesize a round of user interviews
Ask Merlin in #research to pull a round of interviews together. It reads the notes in Granola and writes the themes with quotes into a Notion page.
@Merlinin#researchThemes with quotes in a Notion page
Bring your coding agents into the tools your team already uses.
Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.