Templates / Automated revenue predictions from Stripe data with GPT-4 and Google Sheets

Automated revenue predictions from Stripe data with GPT-4 and Google Sheets

Needs changes

by Yaron Been ✓ · 1,263 views · created 2025-06-02 · Document Extraction, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 11 nodes and runs on a schedule (every day at 09:00). Along the way it connects OpenAI Chat Model, Pinecone Vector Store, Embeddings OpenAI and Stripe and 2 more.

How it runs

Trigger: On a schedule (every day at 09:00).

  1. Fetch Stripe Charges (Stripe): get many (charge)
  2. Summarize Sales (Code): runs custom JavaScript code
  3. Prepare data (Edit Fields (Set)): sets 1 field: summary
  4. Forecaster agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Pinecone Vector Store); output parser: Structured Output Parser
  5. Save Forecast to Supabase (Supabase): uses Supabase
  6. Log Forecast in Google Sheets (Google Sheets): append

Services it uses

OpenAI Chat ModelPinecone Vector StoreEmbeddings OpenAIStripeSupabaseGoogle Sheets

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Forecaster agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Forecaster agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

CFO Forecasting Agent - Marketplace Listing Headlines (Choose Your Favorite) Option 1 - Direct & Professional "AI-Powered CFO Forecasting Agent: Automated Revenue Predictions from Stripe Data" Option 2 - Benefit-Focused "Automate Your Financial Forecasting:…

Excerpt from Yaron Been's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.