Use this robust n8n workflow to automate sales feedback analysis. It integrates Google Sheets with Azure OpenAI Agents to categorize deal outcomes and generate regular summary email reports.
Download this n8n workflow template and start using it instantly.
Analyzing raw sales notes and email correspondence to derive structured, actionable insights is a time-consuming manual task. This expert n8n workflow solves this by fully automating the process using sophisticated AI agents.
This specific n8n automation ingests raw feedback data stored in Google Sheets, utilizes an Azure OpenAI model via the AI Agent n8n node to categorize and summarize the content, and then saves the structured results back to a second sheet. Furthermore, the n8n workflow includes a second layer of analysis where a separate AI agent analyzes the aggregated data to generate a high-level summary report. Finally, this summary is delivered as an actionable email digest, providing sales leadership with up-to-the-minute business intelligence. This powerful n8n solution demonstrates the immense capability of connecting core business data with advanced AI tools.
This comprehensive n8n workflow operates in two main phases: detailed item analysis and aggregate reporting.
Get row(s) in sheet n8n node fetches the raw sales feedback data from a specified Google Sheet.Extract Notes/Emails n8n node (Code) cleans and extracts the necessary text fields from the input data, preparing it for AI consumption.Loop Over Items n8n node ensures that each record is processed individually, enabling focused AI analysis.AI Agent (LangChain) utilizes the Azure OpenAI Chat Model to analyze the extracted notes, categorize the outcome, and generate structured data (e.g., classifying win/loss reasons).Edit Fields (Set) and Parse AI Response (Code) n8n nodes, which structure the AI's textual response into defined JSON fields. The Save to Google Sheets n8n node then writes this newly categorized and structured data back to a separate results sheet.Fetch Google Sheet Data n8n node.AI Agent1, using Azure OpenAI Chat Model1, analyzes this aggregated dataset. This n8n node’s task is to identify trends, summarize key takeaways, and draft a concise executive digest.Filter Recent Data n8n node ensures only relevant or recent data drives the final output. The workflow concludes with the Send Email Digest n8n node, sending the AI-generated report summary to stakeholders.To set up this advanced n8n workflow using the provided n8n templates, follow these steps:
Get row(s) in sheet, Save to Google Sheets, Fetch Google Sheet Data). You will need to set up a Google Sheets credential in n8n and specify the Spreadsheet IDs and Sheet Names for your source feedback data and your processed results output.Azure OpenAI Chat Model and Azure OpenAI Chat Model1 n8n nodes. This requires setting up an Azure OpenAI credential in n8n, specifying your Resource Name, Deployment Name, and API Key.Extract Notes/Emails and Parse AI Response n8n nodes to ensure the data field references match the specific column headers in your Google Sheet data.Send Email Digest n8n node with the correct sender, recipient addresses, and subject line. Ensure you have an active Email Send credential (SMTP, SendGrid, etc.) configured in n8n.When clicking ‘Execute workflow’ n8n trigger to ensure all connections and AI processes are functioning correctly. Once confirmed, you can activate the workflow. When clicking ‘Execute workflow’ (Manual Trigger): The initiating n8n trigger for the entire n8n workflow. Used for immediate testing or scheduled execution if changed later.
Get row(s) in sheet (Google Sheets n8n node): Fetches the raw sales data or feedback notes from the source spreadsheet. Essential for feeding the AI analysis.
Extract Notes/Emails (Code n8n node): Custom JavaScript code to extract and format specific columns (like 'Notes' or 'Email Body') into a clean variable structure needed by the downstream AI Agent n8n node.
Loop Over Items (Split In Batches n8n node): Ensures that the resource-intensive AI analysis is performed on each individual sales record, maintaining data separation.
AI Agent / Azure OpenAI Chat Model (LangChain n8n node): The primary categorization engine. This n8n node uses the large language model to read unstructured text and output structured classification (e.g., reason for loss, sentiment, deal type).
Parse AI Response (Code n8n node): Essential for transforming the raw AI output (which is often textual JSON) into a proper JSON object that can be easily mapped for saving.
Save to Google Sheets (Google Sheets n8n node): Writes the newly structured and AI-analyzed data (e.g., categorized feedback) into the reporting spreadsheet.
AI Agent1 / Azure OpenAI Chat Model1 (LangChain n8n node): The secondary AI n8n node responsible for analyzing the aggregate data set to generate high-level trends and summaries for the executive email digest.
Automate sales coaching using this advanced n8n workflow. It analyzes tldv transcripts with GPT-4, calculates performance KPIs, and sends detailed coaching reports via Slack while archiving metrics in Google Sheets.

Automate lead routing and qualification using n8n and GPT-4o. This n8n workflow analyzes sales call transcripts, classifies leads (Hot/Warm) based on budget, and routes data to Airtable, Trello, and Slack. Get this n8n template for sales automation.

Use this powerful n8n workflow to analyze sales call objections from Fireflies transcripts using GPT-4o, instantly delivering structured coaching feedback via Slack and archiving results in Google Drive. Get these n8n templates today.

Automate weekly sales territory analysis by scraping performance data using a powerful n8n workflow agent, cleaning the output with GPT-4o, and logging structured results in Google Sheets.

Automate SERP analysis using this powerful n8n workflow. Scrape Google data via Bright Data, classify keyword intent with Gemini AI, and track results in Google Sheets. Get this n8n template.

Rahul Joshi is a seasoned technology leader specializing in the n8n automation tool and AI-driven workflow automation. With deep expertise in building open-source workflow automation and self-hosted automation platforms, he helps organizations eliminate manual processes through intelligent n8n ai agent automation solutions.







































