{
  "name": "CleanTextLab: Format JSON",
  "nodes": [
    {
      "parameters": {},
      "id": "d4e5f6a7-b8c9-0123-defg-234567890123",
      "name": "When clicking 'Test workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [240, 300]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "raw-json",
              "name": "rawJson",
              "value": "{\"users\":[{\"name\":\"John\",\"email\":\"john@example.com\"},{\"name\":\"Jane\",\"email\":\"jane@example.com\"}],\"count\":2}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "e5f6a7b8-c9d0-1234-efgh-345678901234",
      "name": "Raw JSON Data",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.3,
      "position": [460, 300]
    },
    {
      "parameters": {
        "url": "https://cleantextlab.com/api/v1/run",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ { \"input\": $json.rawJson, \"steps\": [\"json-formatter\"] } }}",
        "options": {}
      },
      "id": "f6a7b8c9-d0e1-2345-fghi-456789012345",
      "name": "Format JSON via CleanTextLab",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [680, 300],
      "credentials": {
        "httpHeaderAuth": {
          "id": "1",
          "name": "CleanTextLab API Key"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "When clicking 'Test workflow'": {
      "main": [
        [
          {
            "node": "Raw JSON Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Raw JSON Data": {
      "main": [
        [
          {
            "node": "Format JSON via CleanTextLab",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "1",
  "meta": {
    "instanceId": "your-instance-id"
  },
  "tags": []
}
