{
  "name": "afip-sdk-constancia-de-inscripcion",
  "nodes": [
    {
      "parameters": {
        "operation": "toJson",
        "binaryPropertyName": "result.json",
        "options": {
          "fileName": "result.json"
        }
      },
      "type": "n8n-nodes-base.convertToFile",
      "typeVersion": 1.1,
      "position": [
        848,
        -128
      ],
      "id": "5abecfc3-2cc4-43ce-bb06-d1d537c4a8aa",
      "name": "Convert to File"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        224,
        -128
      ],
      "id": "8e21988e-3df0-43d9-914b-d00c4bc7ab7b",
      "name": "manual_trigger"
    },
    {
      "parameters": {
        "additionalFields": {},
        "parametersJson": "{\n  \"environment\": \"dev\",\n  \"tax_id\": \"20409378472\",\n  \"wsid\": \"ws_sr_constancia_inscripcion\",\n  \"force_create\": false\n}"
      },
      "type": "n8n-nodes-afipsdk.afipSdk",
      "typeVersion": 1,
      "position": [
        432,
        -128
      ],
      "id": "95b44db9-c29d-4fa1-9938-1ae4ea3611ad",
      "name": "auth",
      "credentials": {
        "afipSdkApi": {
          "name": "Afip SDK account"
        }
      }
    },
    {
      "parameters": {
        "operation": "makeRequest",
        "parametersJson": "={\n    \"environment\": \"dev\",\n    \"method\": \"getPersona_v2\",\n    \"wsid\": \"ws_sr_constancia_inscripcion\",\n    \"params\": {\n        \"token\": \"{{$json.token}}\",\n        \"sign\": \"{{$json.sign}}\",\n        \"cuitRepresentada\": \"20409378472\",\n        \"idPersona\" : 33693450239\n    }\n}\n"
      },
      "type": "n8n-nodes-afipsdk.afipSdk",
      "typeVersion": 1,
      "position": [
        640,
        -128
      ],
      "id": "41fd4026-278f-444e-bafb-b62acf3db125",
      "name": "obtener_datos",
      "credentials": {
        "afipSdkApi": {
          "name": "Afip SDK account"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "manual_trigger": {
      "main": [
        [
          {
            "node": "auth",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "auth": {
      "main": [
        [
          {
            "node": "obtener_datos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "obtener_datos": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "versionId": "cf6fe7cc-96fd-4abc-9291-a4d7aff4aea9",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "5094ec17fd4145d9dfe064f77fcfdcd8c9d881f5aba3430502d7cb888d06f88d"
  },
  "id": "xsfuM6Iv8L2XkBWo",
  "tags": []
}