{
  "name": "New York DOS Business Entity Registry Lookup to n8n only",
  "nodes": [
    {
      "id": "a0eab6aa-edcf-4b98-ad2f-b349dd6d0937",
      "name": "Run by hand",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "df87e30a-b676-4806-a12f-e9274f6d4d37",
      "name": "Every day",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        200
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 8
            }
          ]
        }
      },
      "notes": "Activate the workflow to run on this schedule."
    },
    {
      "id": "78fda276-e58a-451f-a0b2-8fae8636b3db",
      "name": "Run Apify Actor",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        100
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/actors/xyrelith-data~new-york-dos-business-entity-registry-lookup/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"mode\": \"byEntityName\",\n  \"entityName\": \"AMAZON\",\n  \"entityNameMatchType\": \"startsWith\",\n  \"idNumbers\": [\n    \"4087072\"\n  ],\n  \"assumedNameMatchType\": \"contains\",\n  \"agentMatchType\": \"contains\",\n  \"county\": \"New York\",\n  \"entityType\": \"DOMESTIC LIMITED LIABILITY COMPANY\",\n  \"jurisdiction\": \"Delaware\",\n  \"city\": \"BROOKLYN\",\n  \"cityMatchType\": \"startsWith\",\n  \"officerMatchType\": \"contains\",\n  \"zipCode\": \"10001\",\n  \"state\": \"NY\",\n  \"entityStatus\": \"Active\",\n  \"includeDetails\": false,\n  \"includeHistory\": false,\n  \"sortBy\": \"source\",\n  \"maxItems\": 1\n}",
        "options": {
          "timeout": 310000
        }
      },
      "notes": "Actor: xyrelith-data/new-york-dos-business-entity-registry-lookup. Select a Header Auth credential: name Authorization, value Bearer + your Apify token. Edit the JSON body to change the input.",
      "notesInFlow": false
    },
    {
      "id": "ac55bb22-fe01-42ba-a4af-f0cf16d57a03",
      "name": "Setup",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        -370
      ],
      "parameters": {
        "content": "## New York DOS Business Entity Registry Lookup\n\nSource: [xyrelith-data/new-york-dos-business-entity-registry-lookup](https://apify.com/xyrelith-data/new-york-dos-business-entity-registry-lookup) on Apify.\n\n1. In **Run Apify Actor**, create a Header Auth credential: name `Authorization`, value `Bearer YOUR_APIFY_TOKEN` with your token.\n2. Click **Execute workflow**. Each record arrives as one n8n item.\n3. Edit the JSON body of **Run Apify Actor** to change the input.\n\nGenerated by recipeforagents.com. Validated, not executed: runs are billed to your Apify account.",
        "height": 340,
        "width": 460,
        "color": 6
      }
    }
  ],
  "connections": {
    "Run by hand": {
      "main": [
        [
          {
            "node": "Run Apify Actor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Every day": {
      "main": [
        [
          {
            "node": "Run Apify Actor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}
