Use this template
Open Stripe Failed Payment Investigation in Devin and create the automation with the default configuration. You can customize it before saving.
What this automation does
The Stripe MCP gives Devin read access to Stripe’s customer, charge, and dispute APIs. Combined with Slack as the trigger surface, this template turns your failed-payment channel into a self-investigating queue — support and finance teams get context-rich recommendations instead of raw webhook payloads.How it works
Trigger: Slack event —message
- Event:
slack:message- Conditions:
channeleq#payments-alerts
- Conditions:
Prerequisites
- Integrations:
- MCP servers:
- Stripe MCP — connects Devin to Stripe
Example prompt
The template ships with this prompt. You can edit it after clicking Use template, or leave it as-is.Setting it up
- Open Automations → Templates in Devin.
- Click Stripe Failed Payment Investigation. The create page opens with this template pre-filled.
- Connect any required integrations and install MCP servers if you haven’t already.
- Replace any placeholder values in the trigger conditions (for example, swap
your-org/your-repofor your actual repo). - Review the prompt and adjust it for your team’s language, conventions, and guardrails.
- Click Create automation.
When to use this template
- E-commerce and SaaS companies with non-trivial failed-payment volume
- Finance and billing teams without a dedicated payments engineer
- Reducing customer churn from recoverable payment failures
- Speeding up dispute and chargeback investigations
Customization ideas
- Filter by payment amount, customer segment, or error code
- Add automatic retry logic for transient failures
- Integrate with your CRM for enterprise-customer-specific handling
- Escalate to Slack DMs for high-value customers
