{
  "nodes": [
    {
      "parameters": {
        "method": "POST",
        "url": "={{ $('variaveis-globais').item.json.constants.VAR_HOST_IP_SERVIDOR }}:{{ $('variaveis-globais').item.json.constants.VAR_SUPABASE_PORT }}/rest/v1/rpc/procrt_reservar_vaga",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "supabaseApi",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        -520,
        144
      ],
      "id": "b1f6c7a2-5d0e-4c53-9a41-3e7d2f8a6b10",
      "name": "reservar-vaga-slides",
      "retryOnFail": true,
      "maxTries": 3,
      "waitBetweenTries": 2000,
      "onError": "continueRegularOutput",
      "credentials": {
        "supabaseApi": {
          "id": "bdYOmXEPMnezAqsj",
          "name": "credential-supabase"
        }
      }
    },
    {
      "parameters": {
        "amount": "={{ Number($json.espera_segundos) || 0 }}",
        "unit": "seconds"
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        -420,
        144
      ],
      "id": "c2a7d8b3-6e1f-4d64-8b52-4f8e3a9c7d21",
      "name": "aguardar-vez-slides",
      "webhookId": "d5905049-a470-439a-8395-b7d12ac8c24a"
    }
  ],
  "connections": {
    "reservar-vaga-slides": {
      "main": [
        [
          {
            "node": "aguardar-vez-slides",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
