{
  "name": "Predict tenant default risk with GPT-4o, Gmail, Slack and collections APIs",
  "nodes": [
    {
      "id": "b0775c20-5bf9-42d6-95f7-9c3163bc5567",
      "name": "Daily Risk Assessment Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -528,
        592
      ]
    },
    {
      "id": "55917262-5a0a-4e3f-9e3f-d920c7c01299",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -304,
        592
      ]
    },
    {
      "id": "e5f3dfe1-f30d-4d9b-8655-6e7ec6c22e28",
      "name": "Fetch Credit Bureau Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -80,
        672
      ]
    },
    {
      "id": "9f71f956-659d-4831-b718-d00acd81b5aa",
      "name": "Merge Tenant Data",
      "type": "n8n-nodes-base.set",
      "position": [
        176,
        592
      ]
    },
    {
      "id": "c291f70c-4649-490c-894c-2263b1453c9e",
      "name": "Risk Analysis AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        368,
        592
      ]
    },
    {
      "id": "6f677afc-d204-45bc-9f78-b24112e186c9",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        384,
        816
      ]
    },
    {
      "id": "ac1335e4-12fd-4775-97ea-457915c7f290",
      "name": "Risk Score Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        512,
        816
      ]
    },
    {
      "id": "91bb5dca-233e-4a80-bb18-646c0a392379",
      "name": "Route by Risk Level",
      "type": "n8n-nodes-base.switch",
      "position": [
        720,
        576
      ]
    },
    {
      "id": "175af419-1674-4c27-a056-d20a8b977a13",
      "name": "Send High Risk Alert Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        944,
        496
      ]
    },
    {
      "id": "21e20d47-304b-4284-aa27-2e420e78169c",
      "name": "Send Medium Risk Notification",
      "type": "n8n-nodes-base.slack",
      "position": [
        1168,
        688
      ]
    },
    {
      "id": "2a08cda8-1017-4ca7-940c-2e37b95c292d",
      "name": "Trigger Automated Collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1168,
        496
      ]
    },
    {
      "id": "f78c195c-d495-493b-8c00-91de3b7535ed",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        384
      ],
      "parameters": {
        "width": 912,
        "height": 768,
        "content": "## Multi-Source Data Aggregation\n\n**What:** Fetches rent payment history, credit bureau data, and employment records \n\n**Why:** Fragmented data creates blind spots in risk assessment. "
      }
    },
    {
      "id": "57acefd0-fa78-43ce-be53-174b1a130a16",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        64
      ],
      "parameters": {
        "width": 672,
        "height": 288,
        "content": "## Prerequisites\nPayment system API, credit bureau access, employment verification API\n## Use Cases\nRental application screening, existing tenant monitoring \n## Customization\nModify risk scoring crite"
      }
    },
    {
      "id": "caced8da-50a0-4b35-9368-3feb19bb304d",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        80
      ],
      "parameters": {
        "width": 352,
        "height": null,
        "content": "## Setup Steps\n1. Configure payment history, credit bureau, and employment credentials in fetch nodes\n2. Add OpenAI API key for risk analysis and set Gmail/Slack credentials for alerts\n3. Customize ri"
      }
    },
    {
      "id": "8085016d-d906-449d-9118-92890b13dc77",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -608,
        64
      ],
      "parameters": {
        "width": 656,
        "height": 256,
        "content": "## How It Works\nThis workflow automates tenant screening by analyzing payment history, credit, and employment data to predict rental risks. Designed for property managers, landlords, and real estate a"
      }
    },
    {
      "id": "0fafd82b-1926-4a24-96f7-8a0c09e68b6b",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        416
      ],
      "parameters": {
        "width": 1392,
        "height": 672,
        "content": "## AI Risk Scoring & Automated Response\n\n**What:** AI agent analyzes merged data, calculates risk scores, routes alerts by severity  \n\n**Why:** Manual risk evaluation is subjective and slow. AI delive"
      }
    },
    {
      "id": "e1f42d20-c20d-4f1a-aec1-152a1bc86c8d",
      "name": "Fetch Employment Records",
      "type": "n8n-nodes-base.bambooHr",
      "position": [
        -80,
        848
      ]
    },
    {
      "id": "bc4f44a4-746c-48cc-aa52-ce8650e6b59c",
      "name": "Get a rent payment item",
      "type": "n8n-nodes-base.payPal",
      "position": [
        -80,
        512
      ]
    },
    {
      "id": "31d3b348-cefd-4df9-9a44-2d72f6056442",
      "name": "Create or update a record",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1424,
        592
      ]
    }
  ],
  "connections": {
    "Merge Tenant Data": {
      "main": [
        [
          {
            "node": "Risk Analysis AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Risk Analysis AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Route by Risk Level": {
      "main": [
        [
          {
            "node": "Send High Risk Alert Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Medium Risk Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Risk Analysis AI Agent": {
      "main": [
        [
          {
            "node": "Route by Risk Level",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch Credit Bureau Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get a rent payment item",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Employment Records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a rent payment item": {
      "main": [
        [
          {
            "node": "Merge Tenant Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Credit Bureau Data": {
      "main": [
        [
          {
            "node": "Merge Tenant Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Employment Records": {
      "main": [
        [
          {
            "node": "Merge Tenant Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Risk Score Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Risk Analysis AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Send High Risk Alert Email": {
      "main": [
        [
          {
            "node": "Trigger Automated Collection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger Automated Collection": {
      "main": [
        [
          {
            "node": "Create or update a record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Medium Risk Notification": {
      "main": [
        [
          {
            "node": "Create or update a record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Risk Assessment Schedule": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}