AutomationFlowsGeneral › Sendas

Sendas

Sendas. Scheduled trigger; 6 nodes.

Cron / scheduled trigger★★★★☆ complexity6 nodes
General Trigger: Cron / scheduled Nodes: 6 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
{
  "name": "Sendas",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 2
            }
          ]
        }
      },
      "id": "35aed889-1c52-47a6-ae76-4371b1677bde",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        380,
        540
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "folderName",
              "value": "C:/gestion/Cuadros de control/Sendas/"
            },
            {
              "name": "fileName",
              "value": "={{ $('Procedures').item.json.fileName }}_{{ $json.startMonthly }}_{{ $json.endMonthly }}"
            },
            {
              "name": "extName",
              "value": "={{ $('Procedures').item.json.extName }}"
            },
            {
              "name": "procedureName",
              "value": "={{ $('Procedures').item.json.procedureName }}"
            },
            {
              "name": "typeXLSX",
              "value": "Yes"
            },
            {
              "name": "commandName",
              "value": "capital_sendas.exe"
            },
            {
              "name": "typeMonth",
              "value": "Yes"
            },
            {
              "name": "resultName",
              "value": "capital_sendas"
            },
            {
              "name": "folderID",
              "value": "={{ $('Procedures').item.json.folderID }}"
            },
            {
              "name": "Monthly",
              "value": "={{ $('Procedures').item.json.Monthly }}"
            }
          ],
          "number": [
            {
              "name": "startDay",
              "value": "={{ $('Procedures').item.json.startDay }}"
            },
            {
              "name": "endDay",
              "value": "={{ $('Procedures').item.json.endDay }}"
            },
            {
              "name": "addDay",
              "value": "={{ $('Procedures').item.json.addDay }}"
            }
          ]
        },
        "options": {}
      },
      "id": "f8bbb5c5-2776-42ef-b59e-f2fa825cef44",
      "name": "Names",
      "type": "n8n-nodes-base.set",
      "position": [
        980,
        540
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "content": "## Variables",
        "height": 234,
        "width": 541.5405405405405
      },
      "id": "bc4b46d4-4662-43b5-82f4-a50d167eca58",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        560,
        480
      ]
    },
    {
      "parameters": {
        "jsCode": "return [\n    { json: { procedureName: \"SP_FA_TOTAL_PRODUCCION_DX_SENDAS\", \n              fileName: \"produccion\",\n              extName: \".xlsx\",\n              startDay: -1,\n              endDay: -1,\n              addDay: 1,             \n              Monthly: \"Yes\",\n              folderID: \"014SRZLAP34J565SQUEJFICTCWIAELRI3L\"} }\n];"
      },
      "id": "17180b48-7346-42d9-8d47-30c80c7140b5",
      "name": "Procedures",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        580,
        540
      ]
    },
    {
      "parameters": {
        "workflowId": {
          "__rl": true,
          "value": "08k9xdf0VByNBZM2",
          "mode": "list",
          "cachedResultName": "Fechas"
        },
        "mode": "each",
        "options": {
          "waitForSubWorkflow": true
        }
      },
      "id": "9b07c76e-a027-46c0-85e7-43495dd98fdb",
      "name": "Execute Workflow Fechas",
      "type": "n8n-nodes-base.executeWorkflow",
      "typeVersion": 1.1,
      "position": [
        780,
        540
      ]
    },
    {
      "parameters": {
        "workflowId": {
          "__rl": true,
          "value": "RF1SwhUOyNOyWOAW",
          "mode": "list",
          "cachedResultName": "Procedimiento ETL con EXE"
        },
        "mode": "each",
        "options": {
          "waitForSubWorkflow": true
        }
      },
      "id": "44c2fe56-57e5-4fef-b51b-3635cc7b6542",
      "name": "Execute Workflow ETL con EXE",
      "type": "n8n-nodes-base.executeWorkflow",
      "typeVersion": 1.1,
      "position": [
        1180,
        540
      ]
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Procedures",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Names": {
      "main": [
        [
          {
            "node": "Execute Workflow ETL con EXE",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Procedures": {
      "main": [
        [
          {
            "node": "Execute Workflow Fechas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute Workflow Fechas": {
      "main": [
        [
          {
            "node": "Names",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "timezone": "America/Bogota",
    "callerPolicy": "workflowsFromSameOwner"
  },
  "versionId": "d36f88d7-0562-429f-90e8-44b54cb9f392",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "YmDUzBUGJgmEHKHw",
  "tags": []
}
Pro

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

About this workflow

Sendas. Scheduled trigger; 6 nodes.

Source: https://github.com/alfarodaniel/ETL-Ambulatorios/blob/3a6b3cd9839a5a04c6bd1aaa78b844455f7c0b41/n8n/Sendas.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

This template is an interactive playground designed to help you master the most useful keyboard shortcuts in n8n and supercharge your building speed. Forget boring lists—this workflow gives you hands-

General

Workflow 2469. Uses moveBinaryData, googleDrive, itemLists, n8n. Scheduled trigger; 33 nodes.

Move Binary Data, Google Drive, Item Lists +1
General

Perfect for content publishing with organic scheduling patterns, social media automation, API systems that need to avoid rate limiting, or any automation requiring randomised timing control across mul

n8n, Read Write File, Stop And Error +1
General

Complete backup solution that saves both workflows and credentials to local/server disk with optional FTP upload for off-site redundancy.

Read Write File, Email Send, Execute Command +3
General

todoist automate. Uses todoist, executionData. Scheduled trigger; 27 nodes.

Todoist, Execution Data