{
  "name": "Automate rental agreements with BoldSign, Google Sheets & Gemini AI",
  "nodes": [
    {
      "id": "17b26dbb-bd93-46a1-8466-c7c122a1e695",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -864,
        1040
      ]
    },
    {
      "id": "ce95b2c0-6541-4ac7-b568-0f6ea0a6c6cb",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -656,
        1040
      ]
    },
    {
      "id": "556443a3-2649-402d-bd20-629a7b5ca14f",
      "name": "Retrive Data from submitted form",
      "type": "n8n-nodes-base.set",
      "position": [
        -656,
        272
      ]
    },
    {
      "id": "8f1f7603-c00a-4600-9aec-3e741091e3d6",
      "name": "Retrieve Tenant Email",
      "type": "n8n-nodes-base.set",
      "position": [
        -384,
        1024
      ]
    },
    {
      "id": "7d66ba62-8b23-4858-97a4-dbe57e46185f",
      "name": "Save the tenant Details",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -480,
        272
      ]
    },
    {
      "id": "c891368d-0485-42e5-922d-4c17ccecd804",
      "name": "Update Agreement Status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -32,
        272
      ]
    },
    {
      "id": "1630c51e-4e77-4259-8401-7edd63a0d57b",
      "name": "Update Agreement Status as completed",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -144,
        1024
      ]
    },
    {
      "id": "595102da-32f5-4c23-a6d7-150728a2edd5",
      "name": "Send aggrement to Tenant's Email",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -224,
        272
      ]
    },
    {
      "id": "5e7c5348-16df-41cc-b231-615ecf068456",
      "name": "Tenant Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -832,
        272
      ]
    },
    {
      "id": "93bbad57-de1b-4c84-afbe-40cb7e9a249d",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        960,
        624
      ]
    },
    {
      "id": "f6447ad7-d917-43d0-ba35-f3693fc1f4f8",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1312,
        624
      ]
    },
    {
      "id": "fb7d2916-ce92-4009-9c8d-1c7cf2219812",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1280,
        864
      ]
    },
    {
      "id": "a69f2200-a777-4a1e-a52d-65d39b3c179c",
      "name": "Fetch Rental Agreements",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1536,
        864
      ]
    },
    {
      "id": "08cdb173-8f39-44f6-9721-c1cc394701db",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1920,
        624
      ]
    },
    {
      "id": "f58d91c1-b384-4d70-8992-22eb63ac32ae",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1392,
        32
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "01c09654-a4ec-4b42-b0a7-f4b9b528ad8d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -912,
        144
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "7c9678d4-b88d-44fc-ad35-cb573ec07212",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        144
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "063cef46-002b-4584-8265-145a203ba46d",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1392,
        816
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "10fae120-77e4-476f-af7a-a56240f71525",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -928,
        864
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "76eeea63-6205-4e62-bea1-7af2c3c4bd67",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -432,
        864
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a9624e8a-541f-4d55-a7ee-34206c3ac1dc",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        416
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "06a8bb36-0042-4924-91eb-2e13550cc926",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        896,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Retrieve Tenant Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tenant Form": {
      "main": [
        [
          {
            "node": "Retrive Data from submitted form",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Retrieve Tenant Email": {
      "main": [
        [
          {
            "node": "Update Agreement Status as completed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Rental Agreements": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Save the tenant Details": {
      "main": [
        [
          {
            "node": "Send aggrement to Tenant's Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Retrive Data from submitted form": {
      "main": [
        [
          {
            "node": "Save the tenant Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send aggrement to Tenant's Email": {
      "main": [
        [
          {
            "node": "Update Agreement Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}