curl got started, not JSON from n8n

Immediately replies Workflow got started. Last-node JSON plus a 120-second test listen is the first real JSON.

If n8n Webhook Respond stays on Immediately, curl returns Workflow got started, not JSON. To line up the node map with someone else, open an rtcroom space and put the Respond option and Test URL on one canvas.

The query is n8n webhook return JSON. Official: docs.n8n.io Webhook node, Workflow development, and Docker install. rtcroom does not host n8n.

localhost:5678Last Node + First Entry JSONTest URL for 120s

Run it locally, then ask for JSON

  1. 1

    Docker on port 5678

    docs.n8n.io/hosting/installation/docker: docker volume create n8n_data, then docker run -it --rm --name n8n -p 5678:5678 with n8n_data:/home/node/.n8n and image n8nio/n8n. Open http://localhost:5678. npx n8n is the no-install try. Global npm install is deprecated from n8n 3.0.

  2. 2

    Do not leave Respond on Immediately

    Add a Webhook trigger. Use GET for a simple curl. Set Respond to When Last Node Finishes and Response Data to First Entry JSON. Immediately always sends Workflow got started. For a hand-written object, set Respond to Using 'Respond to Webhook' Node and add Respond to Webhook with Respond With = JSON.

  3. 3

    The last node must emit JSON

    After Webhook, add Edit Fields (Set) with an object such as ok: true and source: local. When Last Node Finishes returns the last executed node, not the Webhook placeholder sentence.

  4. 4

    The Test URL listens for 120 seconds

    Workflow development: select Listen for test event (or Execute workflow). The test webhook stays active for 120 seconds. curl the Test URL inside that window. For a lasting path, use the Production URL and publish the workflow. Production runs show under Executions, not as a live editor dump.

docker volume create n8n_data
docker run -it --rm --name n8n -p 5678:5678 \
  -e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \
  -v n8n_data:/home/node/.n8n \
  n8nio/n8n
# http://localhost:5678
# Webhook → Respond: When Last Node Finishes
# Response Data: First Entry JSON
# Listen for test event (120s)
curl -sS 'http://localhost:5678/webhook-test/YOUR-PATH'
01

Immediately is not an API

Docs: Immediately returns the code plus Workflow got started. For an object, use When Last Node Finishes or Respond to Webhook.

02

Test and Production are two URLs

The test URL shows inbound data in the editor. The production URL registers after publish. Mixing them is a common empty curl.

03

16MB payload cap

Webhook max payload is 16MB. Self-hosting can set N8N_PAYLOAD_SIZE_MAX. That is the documented size limit, not a guessed timeout.

RespondWhat curl getsFirst JSON
ImmediatelyWorkflow got startedDo not use as an API
When Last Node FinishesLast node JSON / binaryFirst Entry JSON
Using Respond to WebhookDefined by that nodeRespond With = JSON

Keep the node map on one canvas

The Respond dropdown, both URLs, and the 120-second window belong on a shared page. See whiteboard basics, same-page canvas, mise runtime pin, Cline’s first file change, and create a space.

Still stuck?

Why does curl print Workflow got started?

Respond is still Immediately. Switch to When Last Node Finishes + First Entry JSON, and put a JSON-producing node after the Webhook.

Test URL worked, now 404?

The test webhook stays registered about 120 seconds. Click Listen for test event again. For a lasting path, publish and use the Production URL.

Does rtcroom run n8n?

No. rtcroom is a browser space for the node map. n8n runs on your machine at port 5678.

Create a free space