Templates / Analyze sales deal outcomes with Azure OpenAI and Google Sheets reporting

Analyze sales deal outcomes with Azure OpenAI and Google Sheets reporting

Ready for 3.0

by Rahul Joshi ✓ · 81 views · created 2025-09-11 · CRM, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 14 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and Azure OpenAI Chat Model.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Get row(s) in sheet (Google Sheets): uses Google Sheets
  2. Extract Notes/Emails (Code): runs custom JavaScript code
  3. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Fetch Google Sheet Data (Google Sheets): uses Google Sheets
  5. AI Agent: runs an AI agent, with model: Azure OpenAI Chat Model
  6. AI Agent: runs an AI agent, with model: Azure OpenAI Chat Model
  7. Edit Fields (Edit Fields (Set)): sets or maps fields
  8. Filter Recent Data (Code): runs custom JavaScript code
  9. Parse AI Response (Code): runs custom JavaScript code
  10. Send Email: sends an email over SMTP

…plus 1 more step. See the full node list below.

Services it uses

Google SheetsAzure OpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

Description: Turn raw sales deal outcomes into actionable insights with this smart n8n workflow template! Automatically pull deal data from Google Sheets, analyze won/lost reasons with AI, generate structured insights, and deliver polished weekly reports—no…

Excerpt from Rahul Joshi'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.