Immediate Charge Failure Support Automation
Respond to charge failures right in the customer's email thread. No jumping between apps, no missed replies.
Trigger
Charge Failed Trigger
Triggered when a direct charge fails in Stripe's legacy Charges API
Action
Reply to email thread
Sends a reply within a specific gmail thread using the original thread's subject, requiring a valid `thread id` and correctly formatted email addresses. supports attachments via the `attachment` parameter with valid `s3key`, `mimetype`, and `name`.
Why this helps
Charge failures need a quick, supportive response, but replying means context-switching between Stripe and Gmail. By the time you switch, you've lost your train of thought.
- Customers get immediate support without you context-switching
- Entire conversation stays in one thread, easy to reference later
- Demonstrates responsiveness and care when things go wrong
- Reduces the cognitive load of tracking multiple conversations
Setup
Build it in a few focused steps.
- 1Connect your Stripe and Gmail integrations to Notis.
- 2Create an automation: 'When a charge fails in Stripe, find the related email thread with the customer and reply with a supportive message explaining the failure, how to fix it, and how to reach support if they need help.'
- 3Set 'Charge Failed' as your trigger.
- 4Choose your notification channel.
- 5Test by triggering a charge failure and verifying Notis replies in the customer thread.
Questions about this workflow
How does Notis find the right customer email thread?
Notis matches the customer's email address from the failed charge to their recent emails in Gmail and replies to the most relevant thread.
Can I customize the reply tone?
Yes. In your prompt, describe the tone: 'Keep it warm and human, acknowledge their frustration, then provide a solution.'
What if there's no existing email thread?
Notis will send an email instead. Include in your prompt: 'If there's no thread, send a new email' as a fallback.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Stripe to Gmail. A trigger fires from one place; an action lands in another.
Stripe triggers
Gmail actions
Charge Failed Trigger
Triggered when a direct charge fails in Stripe's legacy Charges API
Modify email labels
Adds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).
Checkout Session Completed Trigger
Triggered when a checkout session is completed in Stripe
Create email draft
Creates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.
Invoice Payment Succeeded Trigger
Triggered when an invoice payment is successful in Stripe
Create label
Creates a new label with a unique name in the specified user's gmail account.
Payment Intent Failed Trigger
Triggered when a payment intent fails in Stripe
Delete Draft
Permanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.
Product Created Trigger
Triggered when a product is created in Stripe
Delete message
Permanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.
Subscription Added Trigger
Triggered when a subscription is added in Stripe
Fetch emails
Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
Subscription Deleted Trigger
Triggered when a subscription is deleted in Stripe
Fetch message by message ID
Fetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.
Fetch Message by Thread ID
Retrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.
Connect any two apps with Notis in the middle.
Not just Stripe and Gmail. Any combination from 985+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Gmail.
