{
  "name": "Mountable create filesystem",
  "nodes": [
    {
      "parameters": {},
      "id": "11111111-1111-4111-8111-111111111111",
      "name": "When clicking Test workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "name",
              "name": "name",
              "value": "REPLACE_WITH_FILESYSTEM_NAME",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "22222222-2222-4222-8222-222222222222",
      "name": "Filesystem name",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        220,
        0
      ]
    },
    {
      "parameters": {
        "method": "GET",
        "url": "https://mountable.io/api/v1/me",
        "authentication": "genericCredentialType",
        "options": {},
        "genericAuthType": "httpHeaderAuth",
        "sendBody": false
      },
      "id": "33333333-3333-4333-8333-333333333333",
      "name": "Who am I",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        440,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "replace-with-mountable-credential",
          "name": "Mountable API key"
        }
      }
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{ 'https://mountable.io/api/v1/orgs/' + $json.api_key.org_id + '/filesystems' }}",
        "authentication": "genericCredentialType",
        "options": {},
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ name: $('Filesystem name').item.json.name }) }}"
      },
      "id": "44444444-4444-4444-8444-444444444444",
      "name": "Create filesystem",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        660,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "replace-with-mountable-credential",
          "name": "Mountable API key"
        }
      }
    }
  ],
  "connections": {
    "When clicking Test workflow": {
      "main": [
        [
          {
            "node": "Filesystem name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filesystem name": {
      "main": [
        [
          {
            "node": "Who am I",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Who am I": {
      "main": [
        [
          {
            "node": "Create filesystem",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  }
}
