AutomationFlowsAI & RAG › Especialistaextracao

Especialistaextracao

EspecialistaExtracao. Uses lmChatOpenRouter, googleDrive, agent, httpRequest. Webhook trigger; 24 nodes.

Webhook trigger★★★★☆ complexityAI-powered24 nodesOpenRouter ChatGoogle DriveAgentHTTP Request
AI & RAG Trigger: Webhook Nodes: 24 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow follows the Agent → Google Drive recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "EspecialistaExtracao",
  "nodes": [
    {
      "parameters": {
        "operation": "pdf",
        "options": {}
      },
      "type": "n8n-nodes-base.extractFromFile",
      "typeVersion": 1.1,
      "position": [
        400,
        48
      ],
      "id": "8b982b17-8ac3-4a6c-bd7c-bff2d5b89408",
      "name": "Extract from File"
    },
    {
      "parameters": {
        "jsCode": "let results = [];\n\n// Fun\u00e7\u00f5es de limpeza de seguran\u00e7a\nconst somenteNumeros = (str) => str ? String(str).replace(/\\D/g, '') : null;\nconst somenteAlfaNumerico = (str) => str ? String(str).replace(/[^a-zA-Z0-9]/g, '').toUpperCase() : null;\n\n// --- BUSCA RESILIENTE DO ID DO ARQUIVO ---\nlet googleDriveFileId = '';\ntry {\n    googleDriveFileId = $('DownloadApolices').item.json.id;\n} catch (e) {\n    googleDriveFileId = $json.id || '';\n}\n\nfor (const item of $input.all()) {\n    let data = item.json.output;\n\n    if (typeof data === 'string') {\n        let cleanText = data.replace(/```json/g, '').replace(/```/g, '').trim();\n        try {\n            data = JSON.parse(cleanText);\n        } catch (e) { data = {}; }\n    }\n\n    data.google_drive_file_id = googleDriveFileId;\n    data.tipo_documento = data.tipo_documento || 'Apolice';\n\n    // Limpeza Profunda\n    if (data.segurado) {\n        data.segurado.cpf = somenteNumeros(data.segurado.cpf);\n        data.segurado.cnpj = somenteNumeros(data.segurado.cnpj);\n        if (data.segurado.endereco_principal) data.segurado.endereco_principal.cep = somenteNumeros(data.segurado.endereco_principal.cep);\n        if (data.segurado.contatos) {\n            data.segurado.contatos.celular = somenteNumeros(data.segurado.contatos.celular);\n            data.segurado.contatos.telefone_residencial = somenteNumeros(data.segurado.contatos.telefone_residencial);\n            data.segurado.contatos.telefone_comercial = somenteNumeros(data.segurado.contatos.telefone_comercial);\n        }\n    }\n\n    if (data.dados_do_bem_auto) {\n        data.dados_do_bem_auto.placa = somenteAlfaNumerico(data.dados_do_bem_auto.placa);\n        data.dados_do_bem_auto.chassi = somenteAlfaNumerico(data.dados_do_bem_auto.chassi);\n    }\n\n    results.push({ json: data });\n}\n\nreturn results;\n"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        880,
        48
      ],
      "id": "9d35dd2f-a1f2-4f9d-ac74-46a0bed72e6c",
      "name": "OrganizaDados"
    },
    {
      "parameters": {
        "model": "deepseek/deepseek-r1",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "typeVersion": 1,
      "position": [
        592,
        208
      ],
      "id": "453e84e1-24f9-44f1-87ed-0be1537f6258",
      "name": "OpenRouter Chat Model",
      "credentials": {
        "openRouterApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "boletos",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        -288,
        -256
      ],
      "id": "009d7dc1-acf0-4e67-8678-0875a53eb828",
      "name": "WebhookBoletos"
    },
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "propostas",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        -288,
        -592
      ],
      "id": "173f307e-bedf-47bc-b369-a65f142e49de",
      "name": "WebhookPropostas"
    },
    {
      "parameters": {
        "resource": "fileFolder",
        "searchMethod": "query",
        "queryString": "='1wcQviMAHDRAawDpYU95hjlDa9jn8AJra' in parents and mimeType = 'application/pdf' and trashed = false",
        "limit": 1,
        "filter": {},
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        -64,
        48
      ],
      "id": "926f088c-0db6-4809-992f-831b560d262a",
      "name": "SearchFilesFoldersApolices",
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "fileFolder",
        "searchMethod": "query",
        "queryString": "='182ys63bFYQ6Dq6yvLoAa7WpYg7SWw65e' in parents and mimeType = 'application/pdf' and trashed = false",
        "limit": 1,
        "filter": {},
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        -48,
        -592
      ],
      "id": "b525c403-1112-4258-9cca-208fcc5b7e0f",
      "name": "SearchFilesFoldersPropostas",
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "fileFolder",
        "searchMethod": "query",
        "queryString": "='1_XiNbkLNofe0ADOJ-BdEPldBLeDOL-8F' in parents and mimeType = 'application/pdf' and trashed = false",
        "limit": 1,
        "filter": {},
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        -48,
        -256
      ],
      "id": "ef46091c-25b4-4cfd-940b-992162a9a16d",
      "name": "SearchFilesFoldersBoletos",
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "model": "deepseek/deepseek-r1",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "typeVersion": 1,
      "position": [
        608,
        -96
      ],
      "id": "db223f93-e2e5-4777-9871-dcb404d1618b",
      "name": "OpenRouter Chat Model1",
      "credentials": {
        "openRouterApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "download",
        "fileId": {
          "__rl": true,
          "value": "={{ $json.id }}",
          "mode": "id"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        208,
        -256
      ],
      "id": "54da9612-1dd7-48e0-ba8d-c1356fa18ff4",
      "name": "DownloadBoletos",
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "pdf",
        "options": {}
      },
      "type": "n8n-nodes-base.extractFromFile",
      "typeVersion": 1.1,
      "position": [
        416,
        -256
      ],
      "id": "9b097637-0d95-4423-93a7-d4d0abac95fc",
      "name": "ExtractBoletos"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "Por favor, extraia os dados deste texto de BOLETO: {{ $json.text }}\n\nESQUEMA OBRIGAT\u00d3RIO (JSON):\n{\n  \"tipo_documento\": \"Boleto\",\n  \"segurado\": { \"nome\": \"\", \"cpf\": \"\", \"cnpj\": \"\" },\n  \"dados_boleto\": { \n    \"numero_apolice\": \"\", \n    \"seguradora\": \"\", \n    \"valor\": \"\", \n    \"vencimento\": \"\",\n    \"linha_digitavel\": \"\",\n    \"codigo_barras\": \"\",\n    \"nosso_numero\": \"\", \n    \"beneficiario_nome\": \"\", \n    \"beneficiario_cnpj\": \"\", \n    \"pagador_nome\": \"\",\n    \"pagador_cpf_cnpj\": \"\",\n    \"data_documento\": \"\", \n    \"numero_parcela\": \"\",\n    \"banco_nome\": \"\",\n    \"banco_codigo\": \"\"\n  }\n}\n",
        "options": {
          "systemMessage": "Voc\u00ea \u00e9 um rob\u00f4 extrator de dados especialista em BOLETOS BANC\u00c1RIOS DE SEGURO. Sua fun\u00e7\u00e3o \u00e9 extrair com precis\u00e3o os dados financeiros e de identifica\u00e7\u00e3o (valor, vencimento, linha digit\u00e1vel, c\u00f3digo de barras, nosso n\u00famero, benefici\u00e1rio e parcelas). SEJA DETERMIN\u00cdSTICO.\n\n\n"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        608,
        -256
      ],
      "id": "fb453cbe-a938-4db8-a9d4-ae1fc2d7c7c2",
      "name": "AgenteBoletos"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "==Por favor, extraia os dados deste texto: {{ $json.text }}\n\nIMPORTANT\u00cdSSIMO: VOC\u00ca DEVE RETORNAR ESTRITAMENTE UM OBJETO JSON V\u00c1LIDO SEGUINDO O MOLDE EXATO ABAIXO. N\u00c3O ADICIONE NENHUMA CHAVE QUE N\u00c3O ESTEJA NO MOLDE, NEM MUDE OS NOMES DAS CHAVES.\n\nMolde Obrigat\u00f3rio:\n{\n  \"segurado\": {\n    \"nome\": \"\",\n    \"cpf\": \"\",\n    \"cnpj\": \"\",\n    \"rg\": \"\",\n    \"data_nascimento\": \"\",\n    \"profissao\": \"\",\n    \"estado_civil\": \"\",\n    \"contatos\": { \"email\": \"\", \"celular\": \"\", \"telefone_comercial\": \"\", \"telefone_residencial\": \"\" },\n    \"endereco_principal\": { \"logradouro\": \"\", \"numero\": \"\", \"complemento\": \"\", \"bairro\": \"\", \"cidade\": \"\", \"estado\": \"\", \"cep\": \"\" }\n  },\n  \"dados_apolice\": {\n    \"numero_apolice\": \"\",\n    \"numero_proposta\": \"\",\n    \"seguradora\": \"\",\n    \"ramo\": \"Autom\u00f3vel\",\n    \"nome_produto\": \"\",\n    \"valor_premio_total\": \"\",\n    \"forma_pagamento\": \"\",\n    \"numero_parcelas\": \"\",\n    \"frequencia_pagamento\": \"\",\n    \"vigencia_inicio\": \"\",\n    \"vigencia_fim\": \"\"\n  },\n  \"dados_do_bem_auto\": {\n    \"placa\": \"\",\n    \"chassi\": \"\",\n    \"renavam\": \"\",\n    \"modelo\": \"\",\n    \"fabricante\": \"\",\n    \"ano_fabricacao\": \"\",\n    \"ano_modelo\": \"\",\n    \"cor\": \"\",\n    \"combustivel\": \"\",\n    \"codigo_fipe\": \"\",\n    \"kilometragem\": \"\",\n    \"blindado\": false,\n    \"kit_gas\": false,\n    \"cambio_automatico\": false,\n    \"franquia_tipo\": \"\"\n  },\n  \"extras\": {\n    \"cpf_conjuge\": \"\",\n    \"corretora\": { \"nome\": \"\", \"susep\": \"\" },\n    \"dados_bancarios_debito\": { \"banco\": \"\", \"agencia\": \"\", \"conta\": \"\" }\n  },\n  \"coberturas\": [\n     { \"tipo\": \"NOME_DA_COBERTURA\", \"limite_indenizacao\": \"VALOR_AQUI\" }\n  ],\n  \"condutores\": {\n    \"nome\": \"\",\n    \"cpf\": \"\"\n  }\n}\n",
        "options": {
          "systemMessage": "Voc\u00ea \u00e9 um rob\u00f4 extrator de dados JSON. Sua \u00daNICA fun\u00e7\u00e3o \u00e9 extrair informa\u00e7\u00f5es do texto da ap\u00f3lice e preencher o template JSON exato fornecido pelo usu\u00e1rio. SEJA DETERMIN\u00cdSTICO. N\u00e3o crie chaves novas, nem modifique as do template.\n"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        592,
        48
      ],
      "id": "57835c2d-79ec-49bf-82c9-1d20c995b3f5",
      "name": "AgenteApolices"
    },
    {
      "parameters": {
        "jsCode": "let results = [];\n\nconst somenteNumeros = (str) => str ? String(str).replace(/\\D/g, '') : null;\n\nlet googleDriveFileId = '';\ntry {\n    googleDriveFileId = $('DownloadBoletos').item.json.id;\n} catch (e) {\n    googleDriveFileId = $json.id || '';\n}\n\nfor (const item of $input.all()) {\n    let data = item.json.output;\n\n    if (typeof data === 'string') {\n        let cleanText = data.replace(/```json/g, '').replace(/```/g, '').trim();\n        try {\n            data = JSON.parse(cleanText);\n        } catch (e) { data = {}; }\n    }\n\n    data.google_drive_file_id = googleDriveFileId;\n    data.tipo_documento = 'Boleto'; // For\u00e7a o tipo\n\n    if (data.segurado) {\n        data.segurado.cpf = somenteNumeros(data.segurado.cpf);\n        data.segurado.cnpj = somenteNumeros(data.segurado.cnpj);\n    }\n\n    results.push({ json: data });\n}\n\nreturn results;\n"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        896,
        -256
      ],
      "id": "cf3ed471-80b4-4cfb-96a1-7063a05bef70",
      "name": "OrganizaBoletos"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://brokeria-api-brokeriaweb.cx0m9g.easypanel.host/api/admin/staging/save-boleto",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "httpBearerAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ $json }}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1088,
        -256
      ],
      "id": "1facc618-c63b-4376-b294-19d761d1975b",
      "name": "SendBackendBoletos",
      "credentials": {
        "httpBearerAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://brokeria-api-brokeriaweb.cx0m9g.easypanel.host/api/admin/staging/save",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "httpBearerAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ $json }}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1072,
        48
      ],
      "id": "a4fef534-4343-434d-80a9-991680c50bf1",
      "name": "SendBackendApolices",
      "credentials": {
        "httpBearerAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "download",
        "fileId": {
          "__rl": true,
          "value": "={{ $json.id }}",
          "mode": "id"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        192,
        48
      ],
      "id": "52eff3db-6dde-4eae-8e88-ffc9ca5dd853",
      "name": "DownloadApolices",
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "extracao-manual",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        -304,
        48
      ],
      "id": "aaf397f8-d8eb-4b7e-a490-0328c059bbe7",
      "name": "WebhookApolices"
    },
    {
      "parameters": {
        "operation": "download",
        "fileId": {
          "__rl": true,
          "value": "={{ $json.id }}",
          "mode": "id"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        208,
        -592
      ],
      "id": "6b49b635-68bc-4db3-b03c-5346b4f477dc",
      "name": "DownloadPropostas",
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "pdf",
        "options": {}
      },
      "type": "n8n-nodes-base.extractFromFile",
      "typeVersion": 1.1,
      "position": [
        416,
        -592
      ],
      "id": "7d2173c5-a2d3-4f6b-b0c0-789b79546f7a",
      "name": "ExtractPropostas"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "Por favor, extraia os dados deste texto de PROPOSTA: {{ $json.text }}\n\nESQUEMA OBRIGAT\u00d3RIO (JSON):\n{\n  \"tipo_documento\": \"Proposta\",\n  \"segurado\": { \"nome\": \"\", \"cpf\": \"\", \"cnpj\": \"\" },\n  \"dados_proposta\": {\n    \"numero_proposta\": \"\",\n    \"seguradora\": \"\",\n    \"ramo\": \"\",\n    \"valor_premio_estimado\": \"\",\n    \"vig\u00eancia_inicio\": \"\",\n    \"vig\u00eancia_fim\": \"\"\n  },\n  \"dados_do_bem_auto\": { \"placa\": \"\", \"chassi\": \"\", \"modelo\": \"\" }\n}\n",
        "options": {
          "systemMessage": "Voc\u00ea \u00e9 um rob\u00f4 extrator de dados especialista em PROPOSTAS DE SEGURO. Extraia os dados b\u00e1sicos da proposta e do bem segurado.\n\n\n\n"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        608,
        -592
      ],
      "id": "65663759-d109-459d-8de4-0adfbdede8b5",
      "name": "AgentePropostas"
    },
    {
      "parameters": {
        "model": "deepseek/deepseek-r1",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "typeVersion": 1,
      "position": [
        608,
        -432
      ],
      "id": "d7fb11fe-e09a-41b8-af52-fb26017e4a1f",
      "name": "OpenRouter Chat Model2",
      "credentials": {
        "openRouterApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "jsCode": "let results = [];\n\nconst somenteNumeros = (str) => str ? String(str).replace(/\\D/g, '') : null;\nconst somenteAlfaNumerico = (str) => str ? String(str).replace(/[^a-zA-Z0-9]/g, '').toUpperCase() : null;\n\nlet googleDriveFileId = '';\ntry {\n    googleDriveFileId = $('DownloadPropostas').item.json.id;\n} catch (e) {\n    googleDriveFileId = $json.id || '';\n}\n\nfor (const item of $input.all()) {\n    let data = item.json.output;\n\n    if (typeof data === 'string') {\n        let cleanText = data.replace(/```json/g, '').replace(/```/g, '').trim();\n        try {\n            data = JSON.parse(cleanText);\n        } catch (e) { data = {}; }\n    }\n\n    data.google_drive_file_id = googleDriveFileId;\n    data.tipo_documento = 'Proposta';\n\n    if (data.segurado) {\n        data.segurado.cpf = somenteNumeros(data.segurado.cpf);\n        data.segurado.cnpj = somenteNumeros(data.segurado.cnpj);\n        if (data.segurado.endereco_principal) data.segurado.endereco_principal.cep = somenteNumeros(data.segurado.endereco_principal.cep);\n    }\n\n    if (data.dados_do_bem_auto) {\n        data.dados_do_bem_auto.placa = somenteAlfaNumerico(data.dados_do_bem_auto.placa);\n        data.dados_do_bem_auto.chassi = somenteAlfaNumerico(data.dados_do_bem_auto.chassi);\n    }\n\n    results.push({ json: data });\n}\n\nreturn results;\n"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        896,
        -592
      ],
      "id": "fa6f87ed-f4f3-40a9-ab4c-916dba2d320f",
      "name": "OrganizaPropostas"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://brokeria-api-brokeriaweb.cx0m9g.easypanel.host/api/admin/staging/save-proposta",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "httpBearerAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ $json }}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1088,
        -592
      ],
      "id": "f28ed5e1-ea4f-4a7a-a4dc-64fefdd57b7e",
      "name": "SendBackendPropostas",
      "credentials": {
        "httpBearerAuth": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Extract from File": {
      "main": [
        [
          {
            "node": "AgenteApolices",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OrganizaDados": {
      "main": [
        [
          {
            "node": "SendBackendApolices",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AgenteApolices",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "WebhookBoletos": {
      "main": [
        [
          {
            "node": "SearchFilesFoldersBoletos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WebhookPropostas": {
      "main": [
        [
          {
            "node": "SearchFilesFoldersPropostas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SearchFilesFoldersApolices": {
      "main": [
        [
          {
            "node": "DownloadApolices",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SearchFilesFoldersPropostas": {
      "main": [
        [
          {
            "node": "DownloadPropostas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SearchFilesFoldersBoletos": {
      "main": [
        [
          {
            "node": "DownloadBoletos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AgenteBoletos",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "DownloadBoletos": {
      "main": [
        [
          {
            "node": "ExtractBoletos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ExtractBoletos": {
      "main": [
        [
          {
            "node": "AgenteBoletos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AgenteBoletos": {
      "main": [
        [
          {
            "node": "OrganizaBoletos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AgenteApolices": {
      "main": [
        [
          {
            "node": "OrganizaDados",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OrganizaBoletos": {
      "main": [
        [
          {
            "node": "SendBackendBoletos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DownloadApolices": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WebhookApolices": {
      "main": [
        [
          {
            "node": "SearchFilesFoldersApolices",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DownloadPropostas": {
      "main": [
        [
          {
            "node": "ExtractPropostas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ExtractPropostas": {
      "main": [
        [
          {
            "node": "AgentePropostas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AgentePropostas": {
      "main": [
        [
          {
            "node": "OrganizaPropostas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "AgentePropostas",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OrganizaPropostas": {
      "main": [
        [
          {
            "node": "SendBackendPropostas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "versionId": "e1ecf2f9-b09a-461d-858b-511264ada308",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "nfbr5f7Uho6ah0q4",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

EspecialistaExtracao. Uses lmChatOpenRouter, googleDrive, agent, httpRequest. Webhook trigger; 24 nodes.

Source: https://github.com/RogerioCelli/BrokerIAWeb/blob/701836f1142288856bd26776a6cb3653e91f640b/n8n/EspecialistaExtracao.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow receives candidate CVs via a webhook, extracts text from PDF, DOCX files, looks up the matching job description in Google Sheets, runs a three-agent evaluation using OpenRouter models, t

Google Sheets, HTTP Request, OpenRouter Chat +4
AI & RAG

A candidate submits a CV to a webhook. One AI agent parses it and scores it against the job description, a deterministic rule turns that score into a recommendation, then the CV is filed in Drive, log

Google Sheets, HTTP Request, OpenRouter Chat +3
AI & RAG

L&D_AgentsAI_ATIVO. Uses httpRequest, agent, googleCalendarTool, toolSerpApi. Webhook trigger; 93 nodes.

HTTP Request, Agent, Google Calendar Tool +9
AI & RAG

Arvifund - Supabase (Fixed v6). Uses httpRequest, telegram, supabase, telegramTrigger. Event-driven trigger; 92 nodes.

HTTP Request, Telegram, Supabase +8
AI & RAG

Arvifund - Supabase (Fixed v5). Uses httpRequest, telegram, googleSheets, telegramTrigger. Event-driven trigger; 91 nodes.

HTTP Request, Telegram, Google Sheets +9