Use this powerful n8n workflow to automatically fetch Pipedrive deal data and notes, clean the stage names, and leverage the OpenAI gpt-4o-mini model to generate actionable daily sales funnel summaries.
Download this n8n workflow template and start using it instantly.
Sales Managers seeking quick, summarized insights into funnel health.
Business Operations Specialists implementing AI automation.
Users looking for advanced n8n templates integrating CRM data with large language models.
Technical users wanting to learn how to connect multiple Pipedrive API calls within a single n8n workflow.
Keeping track of numerous active deals in a CRM like Pipedrive can be time-consuming. This n8n workflow solves this by streamlining data aggregation and analysis using artificial intelligence. It automatically pulls all necessary deal records and their corresponding notes, cleans up technical IDs into human-readable stage names, and then feeds this comprehensive dataset into an OpenAI agent. The final output is a concise, actionable daily summary generated by the gpt-4o-mini model, saving managers hours of manual data review. This powerful n8n workflow is a perfect example of modern AI automation.
The n8n workflow operates in a structured, multi-step process:
stageid values (e.g., 1, 2, 3) into descriptive text stagename values (e.g., Prospecting, Qualified).deal_id, concatenating all note content for a single, comprehensive view of communication and progress per deal.gpt-4o-mini model (linked via the OpenAI Chat Model n8n node) and a specific system prompt to analyze the comprehensive deal data string and generate the final, daily sales funnel summary. This n8n process ensures the AI receives all relevant context.To deploy this powerful n8n workflow template, follow these steps:
This n8n workflow relies on several specialized n8n node types to manage data flow and AI integration:
When clicking ‘Execute workflow’ (Manual Trigger n8n trigger):
Function: Starts the n8n workflow. Ideal for testing or manual execution. Should be replaced by a Schedule n8n trigger for production.
Key Configuration: None (Standard manual n8n trigger).
Get many deals (Pipedrive n8n node):
Function: Fetches all available deals from the connected Pipedrive account.
Key Configuration: Operation set to getAll, Return All enabled.
Code (Code n8n node):
Function: Transforms raw Pipedrive stageid numbers into descriptive stagename strings (e.g., '1' becomes 'Prospecting').
Key Configuration: Contains a JavaScript object map defining the stage ID translations.
Get many notes (Pipedrive n8n node):
Function: Retrieves all notes associated with the deals fetched previously, linked via expression dealid.
Key Configuration: Resource set to note, Operation set to getAll, using expression ={{ $json.id }} for filtering by deal ID.
Combine Notes (Summarize n8n node):
Function: Aggregates related notes together, grouping them by dealid and concatenating the note content into a single field.
Summarize Pipedrive (Langchain Agent n8n node):
Function: Acts as the processing layer. It sends the aggregated deal data string to the linked OpenAI model for analysis and summary creation.
Key Configuration: System Message provides context: "You are a helpful assistant. Do a daily summary of the deals in our pipedrive funnel."
OpenAI Chat Model3 (OpenAI Language Model n8n node):
Function: Provides the computational power for the Langchain Agent.
Key Configuration: Model selection is gpt-4o-mini, optimizing for cost-effective speed and quality.
Create powerful, automated Jira reports daily and weekly using this n8n workflow template. Summarize project tasks and identify blockers instantly with Azure OpenAI (GPT-4o-mini) and send results via Gmail.

Automate daily e-commerce reports using an advanced AI n8n workflow. The n8n agent retrieves orders from Supabase, summarizes them using GPT-4, and emails the results via Gmail. Get started with this n8n template.

Automate your morning routine with this advanced n8n workflow. Integrate Notion tasks, Stripe revenue, Google Calendar events, and GPT-4o motivation into a single daily email digest using an n8n trigger.

Automate daily RedOps security report generation using this powerful n8n workflow. It reads trap log data from Google Sheets, processes it with custom code, and sends a comprehensive HTML summary via a Gmail n8n node.

Use this reliable n8n workflow to automatically generate daily sales reports from Google Sheets data, structure the output using an n8n node, and send timely, formatted email summaries.

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.







































