{
  "name": "Generate AI sales proposals with Gemini and Google Docs",
  "nodes": [
    {
      "id": "95aec752-5f78-481d-b7df-11097d6521c5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1920,
        448
      ],
      "parameters": {
        "width": 380,
        "height": 816,
        "content": "## How it works\n\nThis workflow generates professional sales proposals from a simple form:\n\n1. **Form** - Sales rep submits client details, pain points, and pricing\n2. **Calculate** - Computes ROI, sav"
      }
    },
    {
      "id": "9a99fd38-b5fe-45e8-9f9c-f9318bc3b3c0",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        608
      ],
      "parameters": {
        "width": 280,
        "height": 96,
        "content": "**Data preparation**\nForm collects client info. Code node calculates ROI, savings, and break-even from financials."
      }
    },
    {
      "id": "5b84d41d-8a9a-402a-8eef-a3bb0628fc86",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2816,
        608
      ],
      "parameters": {
        "width": 280,
        "height": 96,
        "content": "**AI generation**\nGemini writes proposal sections based on pain points and financials. Parser extracts JSON fields."
      }
    },
    {
      "id": "cd31ccaa-8356-4b3a-b266-e5ead83fef69",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3376,
        608
      ],
      "parameters": {
        "width": 300,
        "height": 96,
        "content": "**Document creation**\nCopies template, formats bullet points, and replaces all placeholders with generated content."
      }
    },
    {
      "id": "49b28a3b-13e6-4e01-9453-6144be48c82d",
      "name": "Receive proposal details",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        2400,
        752
      ]
    },
    {
      "id": "a2afdd6b-a539-44a5-8740-cfb714337059",
      "name": "Calculate ROI metrics",
      "type": "n8n-nodes-base.code",
      "position": [
        2608,
        752
      ]
    },
    {
      "id": "a1eac7e9-acf9-497b-88d8-670b643deded",
      "name": "Generate proposal content",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2816,
        752
      ]
    },
    {
      "id": "317d80a5-dd25-47a2-a385-43a424014653",
      "name": "Gemini 1.5 Flash",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2800,
        960
      ]
    },
    {
      "id": "7aea949b-296c-408f-8c38-dd419a53e182",
      "name": "Parse AI response",
      "type": "n8n-nodes-base.code",
      "position": [
        3168,
        752
      ]
    },
    {
      "id": "7965738d-fdd8-4877-bc93-c32bb1287367",
      "name": "Copy proposal template",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        3376,
        752
      ]
    },
    {
      "id": "dca9cd9e-4dc8-47e6-8138-a93d9a925f16",
      "name": "Format bullet points",
      "type": "n8n-nodes-base.code",
      "position": [
        3584,
        752
      ]
    },
    {
      "id": "c46fc679-3e25-4459-81a5-cb376acaf2ca",
      "name": "Populate proposal document",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        3792,
        752
      ]
    }
  ],
  "connections": {
    "Gemini 1.5 Flash": {
      "ai_languageModel": [
        [
          {
            "node": "Generate proposal content",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI response": {
      "main": [
        [
          {
            "node": "Copy proposal template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format bullet points": {
      "main": [
        [
          {
            "node": "Populate proposal document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate ROI metrics": {
      "main": [
        [
          {
            "node": "Generate proposal content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Copy proposal template": {
      "main": [
        [
          {
            "node": "Format bullet points",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive proposal details": {
      "main": [
        [
          {
            "node": "Calculate ROI metrics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate proposal content": {
      "main": [
        [
          {
            "node": "Parse AI response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}