{
  "name": "Automate employee onboarding and Google Workspace account creation with Gmail, Google Sheets, PDFBro and Google Gemini",
  "nodes": [
    {
      "id": "ba6d7b9b-4bfa-4e32-8323-300de16562e1",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -416,
        -576
      ]
    },
    {
      "id": "e9b853ac-ac83-4e73-a7c5-c3c0dae58176",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -208,
        -576
      ]
    },
    {
      "id": "d55a72d3-5a61-4072-bd4c-6beadb2f97a2",
      "name": "Generate Offer Letter",
      "type": "n8n-nodes-pdfbro.pdfBro",
      "position": [
        288,
        -576
      ]
    },
    {
      "id": "80f9fd09-e2a0-4193-9b2a-ca43c783afa4",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -400,
        160
      ]
    },
    {
      "id": "c690a85a-1394-48f2-aeea-a2a16a380b9e",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        304,
        336
      ]
    },
    {
      "id": "5d23021a-4628-4923-90c6-33ae3543455c",
      "name": "Get row(s) in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -192,
        160
      ]
    },
    {
      "id": "6aaae1a7-6225-4d5b-9854-30a13ec84d82",
      "name": "Send a message1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1344,
        128
      ]
    },
    {
      "id": "2489330d-9949-462e-892f-ad836000c46c",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        896,
        128
      ]
    },
    {
      "id": "7b7773f5-2d23-4eb6-b36c-cc5ca8a6db44",
      "name": "Update row in sheet1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1584,
        128
      ]
    },
    {
      "id": "9b85c9b0-7cf7-4d9d-a73e-d04155d1a2e0",
      "name": "check OL status",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        304,
        144
      ]
    },
    {
      "id": "6d22910e-33d4-41d6-94a0-6bf31d580944",
      "name": "check for acceptance of OL",
      "type": "n8n-nodes-base.if",
      "position": [
        624,
        144
      ]
    },
    {
      "id": "8650d586-4a34-4dfa-bf01-b2ee9dc606d9",
      "name": "Send Offer letter via mail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        528,
        -576
      ]
    },
    {
      "id": "da66a609-6c28-49e0-8842-6de7bd560b67",
      "name": "Save Candidates Details to DB",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        32,
        -576
      ]
    },
    {
      "id": "cb1a8381-bafd-487c-88d7-b171d2c034a5",
      "name": "Filter Only Candidate Emails",
      "type": "n8n-nodes-base.if",
      "position": [
        16,
        160
      ]
    },
    {
      "id": "0e31f6e7-5be5-4013-8bf0-277e98e972d4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        -880
      ],
      "parameters": {
        "width": 512,
        "height": 672,
        "content": "## 1. Automated Offer Letter Creation and Sending\n\nThis intake engine automates the candidate-to-employee transition by eliminating manual document generation.\n\n### How it Works\n* **Intake:** A Webhoo"
      }
    },
    {
      "id": "7ac41975-7e22-47a0-b546-ea4f755a5a5d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        -160
      ],
      "parameters": {
        "width": 512,
        "height": 688,
        "content": "## 2. Offer Letter Acceptance Verifier & Work Account Creator\n\nThis intelligent workflow monitors replies and automatically provisions corporate access upon acceptance.\n\n### How it Works\n* **Monitorin"
      }
    },
    {
      "id": "803a8882-0d33-4a05-a9cf-46af121dd968",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -432,
        -656
      ],
      "parameters": {
        "width": 640,
        "height": 288,
        "content": "## Candidate Details Procurement"
      }
    },
    {
      "id": "72c23658-a3a0-4805-b36e-d1cfd8140182",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        224,
        -656
      ],
      "parameters": {
        "width": 640,
        "height": 288,
        "content": "## Offer Letter Creation and sending email"
      }
    },
    {
      "id": "cbf0211c-e270-4377-8cba-5b7bab8d1010",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -416,
        64
      ],
      "parameters": {
        "width": 640,
        "height": 288,
        "content": "## Strict Verification for candidates email"
      }
    },
    {
      "id": "533031c8-ba14-46bd-b715-56bb607d59d7",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        32
      ],
      "parameters": {
        "width": 608,
        "height": 448,
        "content": "## AI based Offer Letter Acceptance checker"
      }
    },
    {
      "id": "e3494e3e-cf39-46c1-ac2d-d4ad5d5e62dd",
      "name": "Create a user",
      "type": "n8n-nodes-base.gSuiteAdmin",
      "position": [
        1120,
        128
      ]
    },
    {
      "id": "784ff229-512e-4060-a471-b7138897961f",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        864,
        32
      ],
      "parameters": {
        "width": 608,
        "height": 288,
        "content": "## Creates temporary passsword and create internal work account and send those details via email"
      }
    },
    {
      "id": "c6727139-f845-404b-8567-5219e2569b38",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        32
      ],
      "parameters": {
        "width": 288,
        "height": 288,
        "content": "## Change the status of work account delivery"
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Save Candidates Details to DB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a user": {
      "main": [
        [
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message1": {
      "main": [
        [
          {
            "node": "Update row in sheet1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "check OL status": {
      "main": [
        [
          {
            "node": "check for acceptance of OL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Create a user",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet": {
      "main": [
        [
          {
            "node": "Filter Only Candidate Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Offer Letter": {
      "main": [
        [
          {
            "node": "Send Offer letter via mail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "check OL status",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "check for acceptance of OL": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Filter Only Candidate Emails": {
      "main": [
        [
          {
            "node": "check OL status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Candidates Details to DB": {
      "main": [
        [
          {
            "node": "Generate Offer Letter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}