{
  "name": "Generate client proposals with OpenAI, Google Sheets, Slides, Gmail, and Drive",
  "nodes": [
    {
      "id": "0c2071b6-0c90-41e2-a236-de443ad4b455",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -224,
        288
      ]
    },
    {
      "id": "cad37542-1346-4292-a120-dc8f04723b3f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        128
      ],
      "parameters": {
        "width": 1476,
        "height": 904,
        "content": "# AI Proposal Engine\nAutomatically creates a personalized client proposal from form inputs using Google Slides."
      }
    },
    {
      "id": "88cdc1e8-90c7-4087-827b-3c799c381a9e",
      "name": "Google Sheets Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -224,
        752
      ]
    },
    {
      "id": "40ae0dd6-c6f6-4fe4-8cf4-3221bca46097",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        240,
        752
      ]
    },
    {
      "id": "55eafb87-0493-4c71-bd63-f68f05f3d671",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "eb91b514-ca2b-41a7-bbb8-033db0af5f92",
      "name": "Generate Proposal Data",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        32,
        288
      ]
    },
    {
      "id": "3e5e2739-f453-48f5-b8d3-2121239c3981",
      "name": "Parse Json for Proposal Data",
      "type": "n8n-nodes-base.code",
      "position": [
        368,
        288
      ]
    },
    {
      "id": "8c0604e1-9473-4711-9815-aa1bcee2db3c",
      "name": "Copy Template",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        592,
        288
      ]
    },
    {
      "id": "089c7743-d132-4d90-81a0-1811664ce2f9",
      "name": "Move to Folder",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        832,
        288
      ]
    },
    {
      "id": "dd610cbc-ebbd-45df-991c-feb30933b35d",
      "name": "Inject generated Text",
      "type": "n8n-nodes-base.googleSlides",
      "position": [
        64,
        480
      ]
    },
    {
      "id": "f9981102-a6fc-48e3-ba29-e90787fd159b",
      "name": "Generate Email Draft",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        288,
        480
      ]
    },
    {
      "id": "acd5f45e-470c-4b32-a7a2-03bbc9bed74a",
      "name": "Parse Email Data",
      "type": "n8n-nodes-base.code",
      "position": [
        592,
        480
      ]
    },
    {
      "id": "ee961cb0-9ee4-475b-9411-566e783a0e74",
      "name": "Append In Database",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        848,
        480
      ]
    },
    {
      "id": "3246cb36-dc76-4b29-b495-811e5536cb38",
      "name": "Filter Ready Drafts",
      "type": "n8n-nodes-base.filter",
      "position": [
        32,
        752
      ]
    },
    {
      "id": "bf83a4e7-4ec0-4da5-b68e-bc34673724ff",
      "name": "Download Proposal in PDF",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        480,
        768
      ]
    },
    {
      "id": "f1f55f0c-3bca-45f7-8fe8-d57147a6adff",
      "name": "Send Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        640,
        768
      ]
    },
    {
      "id": "3e2c6ebd-cb33-4345-a0ed-239f3943ad85",
      "name": "Update Status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        784,
        768
      ]
    },
    {
      "id": "60053c38-0901-4074-b345-6203c2811676",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        736
      ],
      "parameters": {
        "width": null,
        "height": 176,
        "content": ""
      }
    },
    {
      "id": "5081a102-acb9-48bf-9134-ca1ccc267eb2",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        1168
      ],
      "parameters": {
        "width": 416,
        "height": 592,
        "content": "[![AI Proposal Engine](https://raw.githubusercontent.com/AtharvaJaiswal005/Assests/refs/heads/main/Proposal%20Engine/AI-Powered%20Proposal%20%26%20Operations%20Automation%20Engine_page-0001.jpg)](http"
      }
    },
    {
      "id": "23abdf9e-79ae-4887-91a3-cebca1d45cba",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        1152
      ],
      "parameters": {
        "width": 432,
        "height": 608,
        "content": "[![AI Proposal Engine](https://raw.githubusercontent.com/AtharvaJaiswal005/Assests/refs/heads/main/Proposal%20Engine/AI-Powered%20Proposal%20and%20Operations%20Automation%20Engine_page-0001.jpg)](http"
      }
    },
    {
      "id": "b4e1f513-1ef4-4dc4-a792-2afdbbf5e325",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        624,
        1152
      ],
      "parameters": {
        "width": 432,
        "height": 608,
        "content": "[![AI Proposal Engine](https://raw.githubusercontent.com/AtharvaJaiswal005/Assests/refs/heads/main/Proposal%20Engine/AI-Powered%20Proposal%20and%20Operations%20Automation%20Engine_pages-to-jpg-0001.jp"
      }
    },
    {
      "id": "985b3648-92f9-403b-be7f-9e1f2d576dfb",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        1056
      ],
      "parameters": {
        "width": 1430,
        "height": 752,
        "content": "# FREE PROPOSAL TEMPLATES"
      }
    },
    {
      "id": "64661e3f-9f1d-4032-a2d6-d2c02a9b79aa",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        144
      ],
      "parameters": {
        "width": 320,
        "height": 880,
        "content": "## 📄 AI Proposal Generator Engine\n\nThe AI Proposal Generator Engine is a simple system built to create client proposals very quickly ⚡. After a sales call, once the requirements are clear, you can ent"
      }
    },
    {
      "id": "745561d7-4cf7-46d0-8ef3-04c2cf9dac41",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1136,
        112
      ],
      "parameters": {
        "width": 1072,
        "height": 1680,
        "content": "## ⚙️ Proposal Generator Engine – Setup Guide \n\nThis guide shows how to set up the workflow so proposals can be created and sent automatically.\n\n---\n\n### 1️⃣ Google Credentials\n\nGo to Google Cloud Con"
      }
    },
    {
      "id": "6ffc84a8-ff1f-433e-9262-11e9172dd57e",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -784,
        1056
      ],
      "parameters": {
        "width": 464,
        "height": 736,
        "content": "# SHEETS DATABASE ATTACHED"
      }
    },
    {
      "id": "3a78542d-7f91-47e1-8347-610e0751f489",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        1184
      ],
      "parameters": {
        "width": 416,
        "height": 592,
        "content": "[![AI Proposal Engine](https://raw.githubusercontent.com/AtharvaJaiswal005/Assests/refs/heads/main/Proposal%20Engine/proposal_generation_tracker.png)](https://docs.google.com/spreadsheets/d/1Ix9zw7bCD"
      }
    }
  ],
  "connections": {
    "Send Email": {
      "main": [
        [
          {
            "node": "Update Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Copy Template": {
      "main": [
        [
          {
            "node": "Move to Folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Status": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Move to Folder": {
      "main": [
        [
          {
            "node": "Inject generated Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Download Proposal in PDF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Email Data": {
      "main": [
        [
          {
            "node": "Append In Database",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Generate Proposal Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Ready Drafts": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Email Draft": {
      "main": [
        [
          {
            "node": "Parse Email Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "Filter Ready Drafts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Inject generated Text": {
      "main": [
        [
          {
            "node": "Generate Email Draft",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Proposal Data": {
      "main": [
        [
          {
            "node": "Parse Json for Proposal Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Proposal in PDF": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Json for Proposal Data": {
      "main": [
        [
          {
            "node": "Copy Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}