/
/
Put Stripe churn signals on the Salesforce renewal
For account managers who want billing risk from Stripe recorded on a Salesforce opportunity's next step by asking their AI assistant.
On this page
Connector
Connect Stripe, pick your AI tool and paste the prompt.
The problem
A healthy-looking renewal with billing trouble behind it
A renewal opportunity in Salesforce can look healthy while the customer's Stripe subscription is past due, set to cancel or under dispute. Reps only find out by asking finance, and the signals never reach the opportunity where the team can see them.
Without PopdockAI
- Ask finance about the customer's billing
- Log into Stripe to check subscriptions and invoices
- Look for disputes by hand
- Type a note on the opportunity, if you remember
With PopdockAI
- Account contacts are matched to Stripe customers by email
- Subscriptions, open invoices and disputes are read for churn signals
- It stops without writing when there are no signals
- You approve the new next step, and only that field changes
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** For the open Salesforce opportunity `{opportunity-name}`, check the account's Stripe billing for churn signals and, only after the user confirms, update the opportunity's next step to record them.
**Step 1: Find the opportunity in Salesforce**
Call `salesforce-get-opportunity` with `name.contains` set to `{opportunity-name}` and `closed` set to false. If more than one matches, list them (name, account, amount, close-date) and stop, asking which one. If none matches, say so and stop.
**Step 2: Carry the account to Stripe**
Call `salesforce-get-contact` with `account-id` set to the opportunity's account-id and collect the emails. Call `stripe-get-customer` with `email` set to each. If none matches, report that the account is not billed in Stripe and stop without writing.
**Step 3: Read churn signals**
For each matched customer-id, call `stripe-get-subscription` (customer-id), `stripe-get-invoice` (customer-id, status open) and `stripe-get-dispute` (customer-id). Signals: subscription status past_due, unpaid or canceled; cancel-at-period-end true; delinquent true; open invoices past due-date; open disputes. If there are no signals, report the account as healthy and stop without writing.
**Step 4: Propose the update and wait**
Show the current next-step and the proposed one: "Stripe churn risk: <signals, under 200 characters>". Keep any existing next-step text after it. Ask the user to confirm. Do not write until they say yes.
**Step 5: Write once, then confirm**
After a yes, call `salesforce-update-opportunity` once with `id` set to the opportunity-id and `next-step` set to the agreed text. Change no other field. Then call `salesforce-get-opportunity` with `opportunity-id` and report the stored next-step.
**Rules & Guidelines:**
* `salesforce-get-opportunity`, `salesforce-get-contact` and `salesforce-update-opportunity` are on the salesforce server. `stripe-get-customer`, `stripe-get-subscription`, `stripe-get-invoice` and `stripe-get-dispute` are on the stripe server.
* `salesforce-update-opportunity` is the only tool that may write, once, after the user confirms, and only the next-step field. Do not change stage, amount, probability or close-date. Do not call `salesforce-add-task`, `salesforce-update-account`, `salesforce-add-case` or any other salesforce add or update tool.
* `{risk-note}` (optional) is extra text from the user to append to the next step; leave it out when empty.
**Validation:**
* If the update returns an error, report it verbatim and stop.
* The join is contact email against Stripe customer email, matched case-insensitively and trimmed.Who it's for
One answer, three teams that use it
Account executives
Walk into the renewal informed
Know about past-due invoices or cancellations before the renewal conversation starts.
Check the Fabrikam renewal in Salesforce for Stripe churn risk and update the next step.
Customer success managers
Flag risk where the deal team sees it
The risk note sits on the opportunity, so everyone working the renewal sees it.
Is the Northwind Traders renewal at risk based on their Stripe subscription and disputes?
Sales managers
Spot at-risk renewals early
Billing signals on opportunities help you prioritise which renewals need attention.
Note any Stripe churn signals on the Contoso Q4 renewal opportunity.
How it works
What PopdockAI does when you ask
You name an open opportunity, and your AI assistant checks the account's Stripe billing for churn signals. Nothing is written until you confirm, and existing next step text is kept.
01
Ask
You name an open Salesforce opportunity.
02
Check
It matches the account's contacts to Stripe and reads subscriptions, invoices and disputes.
03
Confirm
You see the current and proposed next step and say yes.
04
Update
It changes only the next step and reads the value back.
What PopdockAI provides
The tools behind the answer
Ready made tools for Stripe and one secure connection to your AI tool. No code, no exports.
salesforce-get-opportunity
salesforce-get-contact
stripe-get-customer
stripe-get-subscription
stripe-get-invoice
stripe-get-dispute
salesforce-update-opportunity
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Churn signals on the renewal where the team plans
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
