Skip to main content

Automated sales proposal & summary generator using GPT-4o, Sheets, Drive & Gmail

Workflow preview

Workflow preview
100%
Automated sales proposal & summary generator using GPT-4o, Sheets, Drive & Gmail preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Description: This workflow automates the creation, storage, and reporting of personalized sales collateral for booked leads using GPT 4o, Google Sheets, Google Drive, and Gmail. It pulls leads f...

Best for

  • CRM automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.lmchatazureopenai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.code, n8n-nodes-base.googledrive, n8n-nodes-base.gmail

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automated sales proposal & summary generator using GPT-4o, Sheets, Drive & Gmail
Workflow name
Automated sales proposal & summary generator using GPT-4o, Sheets, Drive & Gmail

📘 Description:

This workflow automates the creation, storage, and reporting of personalized sales collateral for booked leads using GPT-4o, Google Sheets, Google Drive, and Gmail. It pulls leads from a central sheet, filters booked ones, generates AI-written sales materials (summary, one-pager, and proposal), uploads the output to Drive, updates the sheet with proposal links, and emails a consolidated HTML summary to the marketing inbox. It serves as a full-cycle AI-powered outreach content generator that transforms structured lead data into ready-to-use collateral in minutes.

⚙️ What This Workflow Does (Step-by-Step)

▶️ When Clicking ‘Execute Workflow’ (Manual Trigger) Starts the automation manually, fetching the latest lead records for batch processing.

📊 Retrieve Lead Records from Google Sheets Pulls all lead details (company name, contact, email, booking status, etc.) from the outreach automation sheet used as the CRM base.

🧩 Validate Lead Data Payload Checks each row for a valid email format. ✅ Valid entries proceed to booking filter. ❌ Invalid ones are logged to an error sheet.

⚠️ Log Invalid Leads to Google Sheets Stores incomplete or malformed lead data in a separate tab for cleanup without interrupting execution.

🎯 Filter for Booked Leads Isolates leads marked as BOOKED—the confirmed clients eligible for personalized collateral generation.

⚙️ Configure GPT-4o Model (Azure OpenAI) Initializes the GPT-4o model to generate tailored text content based on lead data (company, title, industry, etc.).

🧠 Generate Sales Collateral (AI) Uses GPT-4o to produce three structured assets per lead: 1️⃣ Sales Summary — a concise 80-word follow-up note. 2️⃣ One-Pager — headline + three selling points + CTA. 3️⃣ Proposal Draft — introduction, scope, timeline, and next steps. All outputs returned as structured JSON for parsing.

🧹 Parse AI JSON Output Cleans and normalizes GPT-4o responses, ensuring JSON integrity and consistency across all generated materials.

📄 Convert Collateral into Text Reports Compiles each lead’s collateral into a .txt report containing all three sections. Formatting uses clean dividers and labeled blocks for readability.

☁️ Upload Sales Collateral to Google Drive Uploads each generated file to the collatral data Drive folder. Returns both view and download links for each report.

🔗 Map Uploaded Files with Lead Data Cross-references uploaded files with corresponding leads using index mapping. Prepares structured data with Email, ProposalLink, and timestamps.

✅ Update Lead Record with Proposal Link Updates the source Google Sheet, attaching each lead’s proposal link for traceability and internal access.

🗂️ Aggregate Uploaded File Metadata Compiles an HTML-formatted list of uploaded reports (file names and links). Calculates total processed leads for the summary section.

✉️ Generate Sales Summary Email (AI) Uses GPT-4o to create a clean HTML report section containing: Total booked leads processed Linked list of uploaded files Short insights paragraph summarizing sales activity

📧 Send Sales Summary Email via Gmail Delivers the HTML report to the internal inbox (e.g., [email protected]) with subject “Sales Collateral Summary.” The email is formatted for Gmail/Outlook rendering and ready for forwarding to management.

🧩 Prerequisites

Google Sheets and Drive OAuth setup (Techdome account) Azure OpenAI GPT-4o credentials Gmail integration for report delivery

💡 Key Benefits

✅ Eliminates manual collateral drafting for booked leads ✅ Auto-updates CRM sheets with proposal links ✅ Generates consistent, professional B2B materials in real time ✅ Provides an instant HTML summary for daily or weekly reporting ✅ Ensures full traceability of every proposal created

👥 Perfect For

  • B2B marketing and pre-sales teams
  • Agencies managing client acquisition pipelines
  • Business development operations using Google Sheets as CRM
  • Teams seeking AI-driven, hands-off collateral generation and reporting

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 - Retrieve Lead Records from Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 3 - Validate Lead Data Payload

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - Log Invalid Leads to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 5 - Filter for Booked Leads

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 6 - Configure GPT-4o Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - lmChatAzureOpenAi
Config choices
Version 1

Block 7 - Configure GPT-4o Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - lmChatAzureOpenAi
Config choices
Version 1

Block 8 - Generate Sales Collateral (AI)

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

Block 9 - Parse AI JSON Output

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

Block 10 - Convert Collateral into Text Reports

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

Block 11 - Upload Sales Collateral to Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 12 - Map Uploaded Files with Lead Data

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

Block 13 - Update Lead Record with Proposal Link

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 14 - Generate Sales Summary Email

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

Block 15 - Send Sales Summary Email via Gmail

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 16 - Aggregate Uploaded File Metadata

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

Block 17 - Sticky Note

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

Block 18 - Sticky Note1

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

Block 19 - Sticky Note2

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

Block 20 - Sticky Note3

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

Block 21 - Sticky Note4

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

Block 22 - Sticky Note5

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

Block 23 - Sticky Note6

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

Block 24 - Sticky Note7

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

Showing the first 24 of 31 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automated sales proposal & summary generator using GPT-4o, Sheets, Drive & Gmail
Complexity advanced
Nodes 31
Categories CRM, Multimodal AI
Author Rahul Joshi
Published 14 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10836/10836.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 Automated sales proposal & summary generator using GPT-4o, Sheets, Drive & Gmail do?

Description: This workflow automates the creation, storage, and reporting of personalized sales collateral for booked leads using GPT 4o, Google Sheets, Google Drive, and Gmail. It pulls leads f...

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 CRM, Multimodal AI use case.