Skip to content

n8n

Use n8n to build automated workflows that trigger CoreClaw Workers, poll run status, and route results to any service — no code required.

The CoreClaw n8n integration provides a dedicated community node (n8n-nodes-coreclaw, v0.4.1+) that maps the CoreClaw API v2 onto six resources with 37 operations in total:

  • Store Worker — Search the public marketplace
  • Worker — List, get details, get input schema, run, and run-and-get-results, plus last-run lookup (abort / export / log / rerun / list results)
  • Worker Run — List and look up runs by ID or “last”; abort, log, rerun (and rerun-and-get-results), list results, and export
  • Worker Task — Full CRUD on saved task templates (list / create / get / update / delete / get input / update input), run, and run-and-get-results
  • Proxy — List proxy regions
  • Account — Get account info (balance, traffic, plan)

Three operations are compositeRun and Get Results, Rerun and Get Results, and the task variant of Run and Get Results. A composite op starts the run, polls until it reaches a terminal state (up to ~4 minutes), then fetches the results in a single node — no Wait/poll loop to build by hand. On a failed/aborted run, the node’s error includes the run log.

For webhook-driven flows (no polling), pair a run’s Callback URL field with the separate CoreClaw Trigger node, which receives callback_url POSTs locally. You can also use the HTTP Request node to call the CoreClaw REST API directly for advanced cases.

  • A CoreClaw account
  • An API key from Settings → API & Integrations in the CoreClaw Console
  • An n8n instance (cloud or self-hosted)

For n8n Cloud users, installation is straightforward — search and add the node directly from the canvas.

  1. In n8n Cloud, create a new workflow or open an existing one.
  2. Open the nodes panel (click the + button on the canvas).
  3. Search for CoreClaw in the community node registry.

Search for CoreClaw node in n8n

  1. Click Install node to add the CoreClaw node to your instance.

Install n8n-nodes-coreclaw package

After installation, you can find the CoreClaw node under Community Nodes in the nodes panel.

CoreClaw node in Community Nodes list

Before using the CoreClaw node, you need to create a credential with your CoreClaw API key.

  1. In n8n, go to CredentialsAdd Credential.
  2. Search for CoreClaw API and select it.

Create CoreClaw API credential

  1. Enter a name for the credential (e.g., “CoreClaw Production”).
  2. In the API Key field, paste the API key you copied from the CoreClaw Console.

Enter API key and save credential

  1. Click Save to store the credential.

You can now use this credential in any CoreClaw node in your workflows.


If you’re running a self-hosted n8n instance, install the CoreClaw community node from the settings.

  1. Open your n8n instance.
  2. Go to SettingsCommunity Nodes.
  3. Click Install a community node.
  4. Enter the npm package name: n8n-nodes-coreclaw
  5. Agree to the risks of using community nodes and click Install.
  6. After installation, the CoreClaw node appears in your nodes panel under Community Nodes.

Follow the same steps as Create credentials above to set up your CoreClaw API key.


The CoreClaw node is organized by resource. Select a resource, then choose the operation. Operations marked composite start a run, poll to completion (up to ~4 minutes), and return results in a single node.

Common run fields (on Run, Rerun, and task Run operations): Version (optional, defaults to latest), Custom Parameters / Input JSON (the worker’s input, wrapped as input.parameters.custom), Callback URL (optional webhook), Return All (up to 10,000 rows), Limit (per-page cap, max 100).

OperationMaps toNotes
ListGET /api/v2/storeSearch public marketplace. keyword, limit 1–100 (default 50), Return All up to 10,000
OperationMaps toNotes
ListGET /api/v2/workersYour workers; keyword, Return All
GetGET /api/v2/workers/{workerId}Pick from Store / My Workers / paste a slug
Get Input SchemaGET /api/v2/workers/{workerId}/input-schemaNo auth required (public schema)
RunPOST /api/v2/workers/{workerId}/runsAsync by default; callback_url optional
Run and Get Results (composite)POST + poll + GET .../resultStarts run, polls ~4 min, returns rows (10,000 cap with Return All, else 100/page)
Get Last RunGET /api/v2/workers/{workerId}/runs/last
Abort Last RunPOST /api/v2/workers/{workerId}/runs/last/abortNo request body
Export Last Run ResultsGET /api/v2/workers/{workerId}/runs/last/exportformat (8 formats, default csv), filter_keys
Get Last Run LogGET /api/v2/workers/{workerId}/runs/last/log
Rerun Last RunPOST /api/v2/workers/{workerId}/runs/last/rerun
List Last Run ResultsGET /api/v2/workers/{workerId}/runs/last/resultReturn All up to 10,000
OperationMaps toNotes
ListGET /api/v2/worker-runsFilter by worker_id, status; Return All
Get LastGET /api/v2/worker-runs/lastAccount-wide latest run
Abort LastPOST /api/v2/worker-runs/last/abortNo request body
Export Last ResultsGET /api/v2/worker-runs/last/exportformat, filter_keys
Get Last LogGET /api/v2/worker-runs/last/log
Rerun LastPOST /api/v2/worker-runs/last/rerun
List Last ResultsGET /api/v2/worker-runs/last/resultReturn All up to 10,000
GetGET /api/v2/worker-runs/{runId}Pick from List / paste a run slug
AbortPOST /api/v2/worker-runs/{runId}/abortNo request body
Get LogGET /api/v2/worker-runs/{runId}/log
RerunPOST /api/v2/worker-runs/{runId}/rerun
Rerun and Get Results (composite)POST + poll + GET .../resultReruns then polls/returns; same caps as above
List ResultsGET /api/v2/worker-runs/{runId}/resultReturn All up to 10,000
Export ResultsGET /api/v2/worker-runs/{runId}/result/exportformat, filter_keys
OperationMaps toNotes
ListGET /api/v2/worker-tasksFilter by worker_id, keyword; Return All
CreatePOST /api/v2/worker-tasksRequires worker_id, title, input_json; optional schedule (schedule_type 1=daily/2=weekly/3=monthly/4=once, with schedule_time/schedule_weekday 1–7/schedule_day/schedule_once_date/schedule_enabled)
GetGET /api/v2/worker-tasks/{workerTaskId}Pick from List / paste an ID
UpdatePUT /api/v2/worker-tasks/{workerTaskId}title, description, schedule fields. To change the input, use Update Input
DeleteDELETE /api/v2/worker-tasks/{workerTaskId}
Get InputGET /api/v2/worker-tasks/{workerTaskId}/inputThe task’s stored input payload
Update InputPUT /api/v2/worker-tasks/{workerTaskId}/inputinput_json (wrapped as input.parameters.custom), version
RunPOST /api/v2/worker-tasks/{workerTaskId}/runsAsync; callback_url optional
Run and Get Results (composite)POST + poll + GET .../resultStarts the task run, polls, returns rows
OperationMaps toNotes
List RegionsGET /api/v2/proxy/regionNo auth required; language en/zh
OperationMaps toNotes
Get InfoGET /api/v2/users/accountBalance, traffic, plan expiry. No parameters

A separate CoreClaw Trigger node receives callback_url notifications locally, so you can build webhook-driven workflows without polling. CoreClaw has no public webhook-registration API — instead, you paste the trigger’s webhook URL into the Callback URL field of a run/rerun operation.

The trigger exposes POST <your-n8n-webhook-base>/webhook/callback. Three fields:

FieldDefaultDescription
Event Filteranyany / succeeded / failed / running / aborted. Non-matching payloads produce no output
Validate PayloadonRequire both run_id and run_status in the body, else error
Include HeadersoffCopy request headers into _headers on the output item

The callback body carries run_id, run_status, error_message, execution_start_timestamp, execution_end_timestamp, running_duration, result_count, and result_message.


Here’s a typical n8n workflow using CoreClaw:

  1. Trigger — Schedule Trigger (e.g., every day at 9 AM) or Webhook
  2. CoreClaw: Worker → Run and Get Results — Start the worker and wait for results in one node (polls up to ~4 minutes)
  3. Downstream nodes — Send to Google Sheets, Slack, database, etc.

For webhook-driven flows (no polling), replace step 2 with Worker → Run (set a Callback URL) and add a CoreClaw Trigger node to receive the completion event. The manual poll loop — Worker → Run, then Wait, then Worker Run → Get until status is succeeded, then Worker Run → List Results — still works if you need finer control over timing or retries.

Instead of building from scratch, start from the production templates in the coreclaw-n8n-workflows repository. They wire the CoreClaw Google Maps scraper into a business loop — scrape → score → write to Google Sheets → email an Excel-attached summary — and are verified on n8n 2.30.4:

  • gmaps-leads-to-sheets.json — run, wait for results, then write to Google Sheets
  • gmaps-leads-sheets-email-summary.json — same, plus export XLSX + Gmail an HTML Top-10 summary with the file attached
  • gmaps-leads-callback-export.json — callback-webhook driven (no polling; needs a publicly reachable n8n)

Each template needs three credentials: CoreClaw API, Google Sheets OAuth2, and Gmail OAuth2. The repo’s docs/ folder covers credential binding, field mapping, and Google OAuth setup.


For operations not covered by the CoreClaw node, use the HTTP Request node to call the CoreClaw REST API directly.

FieldValue
MethodUse the method from the API reference
URLhttps://openapi.coreclaw.com/api/v2/<endpoint>
AuthenticationHeader Auth
Header NameAuthorization
Header ValueBearer YOUR_API_KEY
Legacy Authapi-key header and query token are also supported
Body Content TypeJSON
ActionMethodEndpoint
Get Worker schemaGET/api/v2/workers/{workerId}/input-schema
Start a WorkerPOST/api/v2/workers/{workerId}/runs
Run a Task templatePOST/api/v2/worker-tasks/{workerTaskId}/runs
Check run statusGET/api/v2/worker-runs/{runId}
Get results (paginated)GET/api/v2/worker-runs/{runId}/result
Export results (file)GET/api/v2/worker-runs/{runId}/result/export
Abort a runPOST/api/v2/worker-runs/{runId}/abort

Full API reference: API Integration.


  • Store the API key as an n8n credential — Never hardcode it in nodes.
  • Use expressions — Pass data between nodes with {{ $json.run_slug }} instead of manual copy-paste.
  • Handle errors — Check the code field in responses. Non-zero means an error occurred.
  • Rate limits — If you receive a rate-limit error (code: 13000), add a Wait node before retrying.
  • Webhook callbacks — Set callback_url when starting a Worker to receive notifications instead of polling.

Node not appearing after installation
  1. Refresh the n8n page.
  2. Check Settings → Community Nodes — the node should be listed there.
  3. If using n8n Cloud, ensure verified community nodes are enabled in the Cloud Admin Panel.
Invalid API key error
  1. Verify the API key in the CoreClaw Console.
  2. Ensure there are no extra spaces or line breaks in the credential.
  3. Test the key with a curl command:
Terminal window
curl -X GET "https://openapi.coreclaw.com/api/v2/users/account" \
-H "Authorization: Bearer YOUR_API_KEY"

A successful response contains code: 0.

Worker-specific input fields

Each Worker has different input parameters. To find the correct fields:

  1. Open the Worker in the CoreClaw Console.
  2. Go to the Input tab.
  3. Click the API button in the top-right corner.
  4. Select API clients to view ready-to-use code snippets.

Or call the API:

Terminal window
curl "https://openapi.coreclaw.com/api/v2/workers/YOUR_WORKER_ID/input-schema" \
-H "Authorization: Bearer YOUR_API_KEY"

The response contains the Worker input schema used to build the input payload.