Deals close, payments land, and then someone has to remember to update Salesforce. This recipe removes that gap. When a payment completes in Stripe, the agent automatically moves the corresponding Salesforce opportunity to "Closed Won" and updates the contact record with payment details.
What You'll Need
- A Stripe account processing live payments
- A Salesforce account with opportunity tracking set up
- Both integrations connected in Pipeworks
The Workflow
Fetch completed Stripe payments
The agent retrieves recent successful payments from Stripe. It collects the customer email, payment amount, invoice number, and timestamp for each transaction.
Look up the Salesforce opportunity
Using the customer email from Stripe, the agent searches Salesforce for matching contacts and their associated opportunities. It looks for opportunities that are still in an open stage — like "Negotiation" or "Proposal Sent."
Move the opportunity to Closed Won
Once matched, the agent updates the opportunity stage to "Closed Won," sets the close date to the payment date, and fills in the actual amount from Stripe. This keeps your revenue reporting accurate without manual updates.
Add a payment note to the contact
The agent also adds a note to the Salesforce contact record with the Stripe charge ID and payment details. This creates an audit trail your team can reference later if questions come up about when or how much was paid.
What Happens
Your CRM stays accurate in real time. Opportunities move to "Closed Won" the moment payment is confirmed, giving your sales managers trustworthy pipeline and revenue data. No more chasing reps to update their deals after closing.
If your sales process has multiple payment milestones, you can customize the agent to update specific opportunity stages based on the payment amount or invoice metadata.