Enrich new Stripe customers with Apollo and post wins to Salesforce and Slack

By General Input

When a new Stripe charge succeeds, enrich the buyer with Apollo, upsert firmographics into the matching Salesforce account, and celebrate the win in Slack.

Integrations

  • Stripe
  • Apollo
  • Salesforce
  • Slack

Type

Deterministic Code

Categories

  • Sales
  • Operations

Build a code workflow that turns every successful Stripe charge into an enriched Salesforce account update and a Slack celebration.

Trigger: poll Stripe for new charges (event type: new_charge). Only continue when the charge succeeded.

Step 1. Use Stripe Retrieve Customer with the customer ID from the charge to pull the customer's email, name, and metadata.

Step 2. Call Apollo People Enrichment with the customer's email to get their title, seniority, LinkedIn URL, and employment history.

Step 3. Extract the company domain from the customer's email (or from Apollo's people enrichment response) and call Apollo Organization Enrichment with that domain to get industry, employee count, estimated annual revenue, funding stage, and technologies.

Step 4. Use Salesforce Create or Update Account (Upsert) to find or create the matching account by domain (Website or a Domain external ID field). Write the firmographics from Apollo onto the account: Industry, NumberOfEmployees, AnnualRevenue, and a custom Funding Stage field if one exists.

Step 5. Use Salesforce Add Note to Account on that same account. Title the note "New Stripe charge: {{amount}} on {{date}}" and include the charge ID, amount, currency, and the buyer's name and title in the body.

Step 6. Use Slack Send a Message to post in the #wins channel. Format it as a celebratory message with the customer's name, company, charge amount, and a short firmographic summary, for example: "New $4,800 from Acme Inc. (Series B, 240 employees, SaaS). Buyer: Jamie Chen, VP Eng."

Run every step in order. If Apollo enrichment returns no match, skip the firmographic fields but still upsert the Salesforce account, add the note, and post to Slack so the team always sees the win.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredLet support send one-off Loops emails without an engineerCustomer lifecycle inspector for Loops, Stripe and PostHogChat quality review board for LiveChat support leadsWin back no-show and cancelled appointments every morningLive Loop returns analytics with product-level drill-downMonth-end Stripe finance pack, stored and shared in SlackNewsletter pre-flight and approval board for Mailjet sendsTurn a prospect spreadsheet into personalized sequence enrollments