{
  "name": "Automate job application processing from forms to Telegram for HR teams",
  "nodes": [
    {
      "id": "6b22551a-df2d-44e2-a3d3-8f90c5b9187e",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -400,
        -240
      ]
    },
    {
      "id": "ac5c2a8f-fc22-4ec0-8b0c-4aca47d205ae",
      "name": "If Have Resume",
      "type": "n8n-nodes-base.if",
      "position": [
        420,
        -260
      ]
    },
    {
      "id": "98afc53b-7245-4538-aff3-5c8dc6e465fa",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        200,
        -100
      ]
    },
    {
      "id": "f5ea7973-e865-4a61-af54-f94a69f3d975",
      "name": "Date & Time",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        0,
        60
      ]
    },
    {
      "id": "98fcf3cd-4c52-40cb-aa87-b94a41b5e970",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        420,
        -500
      ]
    },
    {
      "id": "aa4f6279-3b64-479e-b9ed-26582065cd9d",
      "name": "Send a Resume",
      "type": "n8n-nodes-base.telegram",
      "position": [
        920,
        -340
      ]
    },
    {
      "id": "c369c256-d5d2-4c6a-9d26-540c1b61772a",
      "name": "Send a Info",
      "type": "n8n-nodes-base.telegram",
      "position": [
        920,
        -115
      ]
    },
    {
      "id": "1634ef3c-a55a-4f64-9645-5e0a21396a26",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1260,
        -240
      ]
    },
    {
      "id": "5404267c-d6b1-4338-8436-78e33ce7f8b1",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -180,
        -80
      ]
    },
    {
      "id": "882c8ad4-90be-45ef-965b-7a80c3cdccb3",
      "name": "Overview Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        -560
      ],
      "parameters": {
        "width": 600,
        "height": 260,
        "content": "🔶 **Overview**: This workflow handles new career applications submitted via a web form.\n\n1. **On form submission**: Trigger when the form is submitted.\n2. **Code**: Normalize WhatsApp number formattin"
      }
    },
    {
      "id": "2c84d179-82af-41ec-b795-ba382aacd473",
      "name": "Form Trigger Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        -240
      ],
      "parameters": {
        "width": 400,
        "height": 120,
        "content": "**On form submission**: Receives all applicant fields. Uses a webhook to capture the form data."
      }
    },
    {
      "id": "260ea9b6-7523-41a6-ab5f-d247e6492509",
      "name": "Normalize Phone Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        -80
      ],
      "parameters": {
        "width": 360,
        "height": 100,
        "content": "**Code**: Ensures WhatsApp number starts with a leading zero if missing."
      }
    },
    {
      "id": "204a6f14-53d6-451f-9f21-ab4b53e79b56",
      "name": "Format Date Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -420,
        60
      ],
      "parameters": {
        "width": 360,
        "height": 100,
        "content": "**Date & Time**: Formats the \"Earliest Start Date\" into a standard date string."
      }
    },
    {
      "id": "01ab050b-5080-4062-bf7a-591e54f25e05",
      "name": "Map Fields Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        60
      ],
      "parameters": {
        "width": 400,
        "height": 120,
        "content": "**Edit Fields**: Renames and maps form fields to unified JSON properties for downstream use."
      }
    },
    {
      "id": "c841e2be-5a6a-4ba8-a8e8-aecefde46135",
      "name": "Branch Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -120
      ],
      "parameters": {
        "width": 440,
        "height": 140,
        "content": "**If Have Resume**: Routes to two paths based on whether a resume file was provided:\n- **True**: Send document.\n- **False**: Send plain text info."
      }
    },
    {
      "id": "dc212dcc-73e4-467e-ba37-75ff101543db",
      "name": "Merge Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        -500
      ],
      "parameters": {
        "width": 380,
        "height": 100,
        "content": "**Merge**: Combines the two branches back into a single item for final processing."
      }
    },
    {
      "id": "7c871645-9e7d-42af-9cb5-1c66e3dcd67a",
      "name": "Send Resume Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1060,
        -340
      ],
      "parameters": {
        "width": 400,
        "height": 120,
        "content": "**Send a Resume**: Sends the uploaded resume file to the HR Telegram group with applicant details in the caption."
      }
    },
    {
      "id": "28109d7d-6c31-49a4-b1bc-a520b7b6f97d",
      "name": "Send Info Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1060,
        -120
      ],
      "parameters": {
        "width": 400,
        "height": 120,
        "content": "**Send a Info**: Sends plain text applicant details when no resume file is present."
      }
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Date & Time",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Send a Resume",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "If Have Resume",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a Info": {
      "main": [
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a Resume": {
      "main": [
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Have Resume": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ],
        [
          {
            "node": "Send a Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          },
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}