Skip to main content

Automated CRM deal stage updates with Stripe & Google Sheets

Workflow preview

Automated CRM deal stage updates with Stripe & Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

Description:

Keep your CRM always up to date by automatically syncing closed deals from Stripe into Google Sheets. This n8n workflow fetches all paid invoices, finds matching customer records in your CRM tracking sheet, removes duplicates, marks the deal as β€œClosed,” and updates the sheet in real timeβ€”eliminating manual updates and ensuring your sales pipeline reflects actual revenue.

What This Template Does

  • ⏰ Scheduled Trigger (Cron): Runs automatically at your chosen frequency (daily/hourly) to check Stripe for new paid invoices.
  • πŸ’³ Fetch Paid Invoices from Stripe: Calls the Stripe API to retrieve all invoices with status = β€œpaid.”
  • πŸ“‹ Split Invoice Array: Breaks down the list of paid invoices into individual records for easier processing.
  • πŸ” Find Customer in CRM Sheet: Looks up each Stripe customer email against your Google Sheets CRM tracker to fetch HubSpot/Pipedrive Deal IDs.
  • 🧹 Clean Data & Mark as Closed (Code Node): Removes duplicates, filters out empty rows, and tags deals with status = β€œClosed” (customizable to β€œWon” or your CRM’s terminology).
  • βœ… Update CRM Sheet with Closed Deals: Updates your Google Sheet by matching records via Stripe Email and marking them as closed while preserving existing CRM IDs.
  • πŸ“ˆ Full Sync Summary: At the end, your CRM sheet reflects all customers who have completed payments in Stripe, ensuring your pipeline and revenue reporting stay aligned.

Required Integrations

βœ… Stripe API Credentials (for fetching paid invoices) βœ… Google Sheets OAuth2 API (for reading/writing CRM records)

Ideal Use Cases

πŸ’Ό Automatically close deals when payment is received πŸ“Š Keep CRM pipeline metrics aligned with Stripe transactions πŸ§‘β€πŸ’Ό Sync sales & finance teams on deal status 🏒 Perfect for SaaS, e-commerce, or agencies handling recurring payments

Why This Template is Powerful

βœ” Removes manual CRM updates βœ” Prevents duplicate or missed records βœ” Ensures instant revenue recognition in CRM βœ” Easy to extend to HubSpot, Pipedrive, or Zoho