AutomationFlowsGeneral › Load

Load

Load. Uses executeCommand, emailSend. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesExecute CommandEmail Send
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ Added:

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
{
  "nodes": [
    {
      "parameters": {
        "command": "bash /home/tcc/seguranca-publica-brasil/data_processing/scripts/bronze/ibge/run_pipeline.bash"
      },
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        144,
        0
      ],
      "id": "ed8b1976-dde7-4bb5-9180-039152b32706",
      "name": "Execute Command",
      "onError": "continueErrorOutput"
    },
    {
      "parameters": {
        "fromEmail": "daviandre.junkes@gmail.com",
        "toEmail": "daviandre.junkes@gmail.com",
        "subject": "[IBGE] Load bronze erro",
        "html": "=<!DOCTYPE html>\n<html lang=\"pt-BR\">\n<head>\n  <meta charset=\"UTF-8\">\n  <title>Erro no Workflow</title>\n</head>\n<body style=\"font-family: Arial, sans-serif; background-color: #f8f9fa; color: #333; padding: 20px;\">\n  <div style=\"max-width: 600px; margin: 0 auto; background: #fff; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 20px;\">\n    <h2 style=\"color: #d93025;\">\u26a0\ufe0f Erro no Workflow do n8n</h2>\n\n    <p>Ocorreu um erro durante a execu\u00e7\u00e3o do workflow <strong>{{ $workflow.name }}</strong>.</p>\n\n    <p><strong>N\u00f3:</strong>Carga incremental<br>\n    <strong>ID da Execu\u00e7\u00e3o:</strong> {{ $execution.id }}<br>\n    <strong>Data:</strong> {{ new Date().toLocaleString(\"pt-BR\") }}</p>\n\n<strong>Error:</strong> {{ $json.error }}</p>\n\n\n    <p>Confira a execu\u00e7\u00e3o completa no painel do n8n para mais detalhes.</p>\n\n    <p style=\"font-size: 12px; color: #777;\">\u2014 Alerta autom\u00e1tico do n8n</p>\n  </div>\n</body>\n</html>\n",
        "options": {}
      },
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2.1,
      "position": [
        384,
        208
      ],
      "id": "51135121-39f5-488b-b556-eb553415ed75",
      "name": "Send email incremental",
      "credentials": {
        "smtp": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        -80,
        0
      ],
      "id": "b64575fc-c880-4780-85f1-83bb8ee07806",
      "name": "When clicking \u2018Execute workflow\u2019"
    }
  ],
  "connections": {
    "Execute Command": {
      "main": [
        [],
        [
          {
            "node": "Send email incremental",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Execute Command",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

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

Load. Uses executeCommand, emailSend. Event-driven trigger; 3 nodes.

Source: https://github.com/JnksDavu/seguranca-publica-brasil/blob/f75d8f26df86b8a13e15c184297ce9bc03bcd78c/n8n/workflows/ibge/load.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

Perfect for disaster recovery or migrating between environments, this workflow automatically identifies your most recent FTP backup and provides a manual restore capability that intelligently excludes

Email Send, Ftp, Read Write File +2
General

Perfect for disaster recovery or migrating between environments, this workflow automatically identifies your most recent backup and provides a manual restore capability that intelligently excludes the

Email Send, Execute Command, Stop And Error
General

N8N Español - Ejemplos. Uses manualTrigger, executeCommand. Event-driven trigger; 7 nodes.

Execute Command
General

N8N Workflow. Uses executeCommand, localFileTrigger. Event-driven trigger; 7 nodes.

Execute Command, Local File Trigger
General

SQL Table to Documentation Generator. Uses executeCommand. Event-driven trigger; 6 nodes.

Execute Command