AutomationFlowsGeneral › Execute Command to JSON Converter

Execute Command to JSON Converter

Original n8n title: Get Execute Command Data and Transfer to JSON

Get Execute Command Data And Transfer To Json. Uses executeCommand, functionItem. Manual trigger; 3 nodes.

Manual trigger★☆☆☆☆ complexity3 nodesExecute CommandFunction Item
General Trigger: Manual 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": [
    {
      "name": "Execute Command",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        600,
        350
      ],
      "parameters": {
        "command": "echo \"{ \\\"value1\\\": true, \\\"value2\\\": 1 }\""
      },
      "typeVersion": 1
    },
    {
      "name": "IF",
      "type": "n8n-nodes-base.if",
      "position": [
        800,
        450
      ],
      "parameters": {
        "conditions": {
          "boolean": [
            {
              "value1": "={{JSON.parse($node[\"Execute Command\"].data[\"stdout\"]).value1}}",
              "value2": true
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "name": "To Flow Data",
      "type": "n8n-nodes-base.functionItem",
      "position": [
        800,
        250
      ],
      "parameters": {
        "functionCode": "item = JSON.parse(item.stdout);\nreturn item;"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Execute Command": {
      "main": [
        [
          {
            "node": "To Flow Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "IF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

Get Execute Command Data And Transfer To Json. Uses executeCommand, functionItem. Manual trigger; 3 nodes.

Source: https://github.com/Zie619/n8n-workflows — 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

Convert Filemaker Data Api To Flat File Array. Uses itemLists, functionItem. Manual trigger; 3 nodes.

Item Lists, Function Item
General

Basis workflow to convert FileMaker Data API ...

Item Lists, Function Item
General

Transform Xml Data And Upload To Dropbox. Uses xml, httpRequest, dropbox. Manual trigger; 5 nodes.

XML, HTTP Request, Dropbox
General

Collect And Label Images And Send To Google Sheets. Uses httpRequest, awsRekognition, googleSheets. Manual trigger; 4 nodes.

HTTP Request, AWS Rekognition, Google Sheets
General

RSS Feed to Social Media. Uses rssFeedRead, n8n-nodes-robinreach. Manual trigger; 4 nodes.

RSS Feed Read, N8N Nodes Robinreach