{
  "name": "Resume Parser to Airtable",
  "nodes": [
    {
      "parameters": {
        "operation": "pdf",
        "binaryPropertyName": "resume",
        "options": {}
      },
      "type": "n8n-nodes-base.extractFromFile",
      "typeVersion": 1,
      "position": [
        -820,
        120
      ],
      "id": "b5444dab-7436-443d-9c4c-c3765c798674",
      "name": "Extract Resume"
    },
    {
      "parameters": {
        "formTitle": "Resume",
        "formDescription": "upload your resume here.",
        "formFields": {
          "values": [
            {
              "fieldLabel": "resume",
              "fieldType": "file",
              "multipleFiles": false
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.2,
      "position": [
        -1000,
        120
      ],
      "id": "65b45c34-3cff-4c05-b9cc-3d5cbeee6075",
      "name": "On Resume Submission",
      "webhookId": "2e8f079d-2456-4fdf-b5fa-1c5374c50816"
    },
    {
      "parameters": {
        "text": "={{ $json.text }}",
        "attributes": {
          "attributes": [
            {
              "name": "name",
              "description": "find a name"
            },
            {
              "name": "email",
              "description": "finding email"
            },
            {
              "name": "phone_number",
              "description": "find a phone_number"
            },
            {
              "name": "linkedin_link",
              "description": "finding linkedin_link"
            },
            {
              "name": "skill",
              "description": "find only skill"
            },
            {
              "name": "technical skill",
              "description": "find a technical skill"
            }
          ]
        },
        "options": {
          "systemPromptTemplate": "You are an expert extraction algorithm.\nOnly extract relevant information from the text.\nIf you do not know the value of an attribute asked to extract, you may omit the attribute's value."
        }
      },
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "typeVersion": 1,
      "position": [
        -660,
        120
      ],
      "id": "eb01f61c-5567-4638-a59e-752848dcc55d",
      "name": "Resume Extractor"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        -560,
        280
      ],
      "id": "b5a8013d-8d48-4afc-87c8-19e757ac17c9",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "id": "xYObejx0eIkwMS86",
          "name": "OpenAI account"
        }
      }
    },
    {
      "parameters": {
        "operation": "create",
        "base": {
          "__rl": true,
          "value": "appPpy7OlMovX9FcB",
          "mode": "list",
          "cachedResultName": "SaaS Support Management"
        },
        "table": {
          "__rl": true,
          "value": "tblPvl1iaPqJ1RaFj",
          "mode": "list",
          "cachedResultName": "Reports"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "Name": "={{ $json.output.name }}",
            "Email": "={{ $json.output.email }}",
            "Phone": "={{ $json.output.phone_number }}",
            "LinkedIn": "={{ $json.output.linkedin_link }}",
            "Skills": "={{ $json.output.skill }}",
            "Technical Skill": "={{ $json.output['technical skill'] }}"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "Name",
              "displayName": "Name",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "Email",
              "displayName": "Email",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "Phone",
              "displayName": "Phone",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "Skills",
              "displayName": "Skills",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "LinkedIn",
              "displayName": "LinkedIn",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "Technical Skill",
              "displayName": "Technical Skill",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        -340,
        120
      ],
      "id": "01a0fb4c-ffea-4446-b580-278eec133b6a",
      "name": "Create Airtable Record",
      "credentials": {
        "airtableTokenApi": {
          "id": "BZ3w6czydL0CijHy",
          "name": "Airtable account"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "Extract Resume": {
      "main": [
        [
          {
            "node": "Resume Extractor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On Resume Submission": {
      "main": [
        [
          {
            "node": "Extract Resume",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Resume Extractor": {
      "main": [
        [
          {
            "node": "Create Airtable Record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Resume Extractor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "75200610-0aae-4196-a06e-53ff1ad3636b",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "f1c26778ec36097a9722a22c47c5e9c01f00b8862dadd0121ec118026a370fa6"
  },
  "id": "hw4ONk4G67Of9iFa"
}