{
  "name": "Generate AI sales proposals using Anthropic Claude, PDF Noodle and your CRM",
  "nodes": [
    {
      "id": "527c6762-da17-4bed-ad3c-00a6e6a1c44a",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        160,
        0
      ]
    },
    {
      "id": "5ca04c3b-037d-4fe5-bb6a-9b2b170ff4df",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        528,
        0
      ]
    },
    {
      "id": "4808ebe4-875d-44c3-8d4f-e077934300ce",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        528,
        208
      ]
    },
    {
      "id": "1cbe35bb-6f2e-468d-81b8-6fa3accb8d11",
      "name": "Generate PDF syncronously",
      "type": "n8n-nodes-pdforge.pdforge",
      "position": [
        880,
        0
      ]
    },
    {
      "id": "f025da41-9037-41c2-bef2-fd66929a3d1a",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1312,
        0
      ]
    },
    {
      "id": "f675fcd3-be4e-4dd6-9634-e58446490952",
      "name": "Download PDF binary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1088,
        0
      ]
    },
    {
      "id": "dab20f7b-f3e6-4504-9ad0-105410c2af76",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        -48
      ],
      "parameters": {
        "width": 420,
        "height": 520,
        "content": "## Welcome to Generate Custom Proposal with AI Workflow!\n\n**This workflow has the following sequence:**\n1. Webhook trigger (connected to your CRM)\n2. Map all the fields we're going to need on the work"
      }
    },
    {
      "id": "1d290060-5a97-4fee-926a-8557dc86e264",
      "name": "Fields Mapping",
      "type": "n8n-nodes-base.set",
      "position": [
        352,
        0
      ]
    },
    {
      "id": "5366041f-a700-45b8-981c-767c616e925f",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        704,
        208
      ]
    },
    {
      "id": "c7a5699e-dbc5-4ce8-b0ab-6862863c6759",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        144,
        -80
      ],
      "parameters": {
        "width": 336,
        "height": 256,
        "content": "### 1. Receiving and mapping data from CRM"
      }
    },
    {
      "id": "58455044-2427-4d73-bc5f-1d153e7e5c35",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        -672
      ],
      "parameters": {
        "width": 768,
        "height": 448,
        "content": "@[youtube](yRlHu5yvuSA)"
      }
    },
    {
      "id": "1f4c3021-32b8-42c3-ba57-02c04469983f",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        -80
      ],
      "parameters": {
        "width": 336,
        "height": 448,
        "content": "### 2. AI Agents formatting the data into the expected format for the PDF generation"
      }
    },
    {
      "id": "225d9005-ad06-48c0-af33-ce1d2fb449bf",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        864,
        -80
      ],
      "parameters": {
        "width": 368,
        "height": 272,
        "content": "### 3. Generating and downloading the PDF of the proposal"
      }
    },
    {
      "id": "d435b77f-953f-4105-95c4-9d3863dc081e",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1248,
        -80
      ],
      "parameters": {
        "width": null,
        "height": 272,
        "content": "### 4. Sending an e-mail to the prospect with the PDF Proposal attached to it"
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Fields Mapping",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Generate PDF syncronously",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fields Mapping": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download PDF binary": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Generate PDF syncronously": {
      "main": [
        [
          {
            "node": "Download PDF binary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}