Skip to main content

Generate daily Pipedrive deal summaries with GPT-4o-mini

Workflow preview

Workflow preview
100%
Generate daily Pipedrive deal summaries with GPT-4o-mini preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow fetches deals and their notes from Pipedrive , cleans up stage IDs into names, aggregates the information, and uses OpenAI to generate a daily summary of your funnel. ️ Setup Instruc...

Best for

  • AI Summarization automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.pipedrive, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.stickynote, n8n-nodes-base.summarize, n8n-nodes-base.set, n8n-nodes-base.aggregate

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Robert Breen.

Original n8n.io source

1.1 Workflow description

Title
Generate daily Pipedrive deal summaries with GPT-4o-mini
Workflow name
Generate daily Pipedrive deal summaries with GPT-4o-mini

This workflow fetches deals and their notes from Pipedrive, cleans up stage IDs into names, aggregates the information, and uses OpenAI to generate a daily summary of your funnel.


⚙️ Setup Instructions

1️⃣ Set Up OpenAI Connection

  1. Go to OpenAI Platform
  2. Navigate to OpenAI Billing
  3. Add funds to your billing account
  4. Copy your API key into the OpenAI credentials in n8n

2️⃣ Connect Pipedrive

  1. In PipedrivePersonal preferences → API → copy your API token
    • URL shortcut: https://{your-company}.pipedrive.com/settings/personal/api
  2. In n8nCredentials → New → Pipedrive API
    • Company domain: {your-company} (the subdomain in your Pipedrive URL)
    • API Token: paste the token from step 1 → Save
  3. In the Pipedrive nodes, select your Pipedrive credential and (optionally) set filters (e.g., owner, label, created time).

🧠 How It Works

  • Trigger: Workflow runs on manual execution (can be scheduled).
  • Get many deals: Pulls all deals from your Pipedrive.
  • Code node: Maps stage_id numbers into friendly stage names (Prospecting, Qualified, Proposal Sent, etc.).
  • Get many notes: Fetches notes attached to each deal.
  • Combine Notes: Groups notes by deal, concatenates content, and keeps deal titles.
  • Set Field Names: Normalizes the fields for summarization.
  • Aggregate for Agent: Collects data into one object.
  • Turn Objects to Text: Prepares text data for AI.
  • OpenAI Chat Model + Summarize Agent: Generates a daily natural-language summary of deals and their current stage.

💬 Example Prompts

  • “Summarize today’s deal activity.”
  • “Which deals are still in negotiation?”
  • “What updates were added to closed-won deals this week?”

📬 Contact

Need help extending this (e.g., send summaries by Slack/Email, or auto-create tasks in Pipedrive)?

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Get many deals

Type / Role
n8n-nodes-base.pipedrive - pipedrive
Config choices
Version 1

Block 3 - Get many notes

Type / Role
n8n-nodes-base.pipedrive - pipedrive
Config choices
Version 1

Block 4 - Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - OpenAI Chat Model3

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 6 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note56

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Combine Notes

Type / Role
n8n-nodes-base.summarize - summarize
Config choices
Version 1.1

Block 11 - Set Field Names

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Aggregate for Agent

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 13 - Turn Objects to Text

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - Summarize Pipedrive

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

3. Summary Table

Workflow Generate daily Pipedrive deal summaries with GPT-4o-mini
Complexity intermediate
Nodes 14
Categories AI Summarization, Multimodal AI
Author Robert Breen
Published 20 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7672/7672.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate daily Pipedrive deal summaries with GPT-4o-mini do?

This workflow fetches deals and their notes from Pipedrive , cleans up stage IDs into names, aggregates the information, and uses OpenAI to generate a daily summary of your funnel. ️ Setup Instruc...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI Summarization, Multimodal AI use case.