n8n said started. Your JSON never left.

The first n8n webhook should return JSON, not Workflow got started.

The webhook already returned 200. The body is Workflow got started. That is not a result. Set Respond to When Last Node Finishes, emit JSON, then hit the Test URL. To keep the node diagram on one page, open sitdraw.

The stall is usually not the install. It is a first webhook that never returns business JSON. n8n docs say Immediately returns Workflow got started.

Open 5678Change RespondTest URL returns JSON

Get the editor open on this machine

5678Editor port
2.47.7Docs current stable
16MBWebhook payload cap

Docker

Docker page on docs.n8n.io: docker volume create n8n_data, then docker run mapping host 5678. Image n8nio/n8n. Open http://localhost:5678.

npx / npm

npx n8n tries without a global install. npm install n8n -g is deprecated from n8n 3.0. If you still use npm, Node must be 20.19–24.x. Start with n8n or n8n start.

started is not a failure. You chose Immediately

Webhook Respond: Immediately sends that sentence; When Last Node Finishes returns the last node’s data; Using Respond to Webhook Node hands the reply to a later node. Use the middle option for this first workflow.

RespondCaller seesUse when
ImmediatelyWorkflow got startedOnly proves the editor got the request
When Last Node FinishesLast node JSON / binaryFirst webhook that must return a result
Using 'Respond to Webhook' NodeSet by Respond to WebhookAdd that node if you must reply mid-flow

Install, then hit JSON

  1. 01
    Start n8n

    Docker or npx. Open localhost:5678. Docs listed stable 2.47.7 and beta 2.48.4; trust the image you pulled.

  2. 02
    Webhook plus a node that emits JSON

    GET or POST. Leave Path random if you want. Respond: When Last Node Finishes. Response Data: First Entry JSON. Edit Fields: {"ok":true}.

  3. 03
    Listen for Test Event

    Toggle Test URL at the top of the node panel. Click Listen for Test Event. The Production URL does not register until you publish.

  4. 04
    curl the test URL

    Paste the Test URL into curl. The editor should show the hit; the terminal should print JSON. If you still see started, check Respond.

docker volume create n8n_data
docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n
# open http://localhost:5678
# Webhook → Respond: When Last Node Finishes
# Listen for Test Event, then:
curl -sS "$TEST_URL"

If the node graph has to live on one page, use sitdraw. Do not treat the n8n canvas as a meeting room. See also the guide.

Why does curl show Workflow got started?

Respond is still Immediately. Switch to When Last Node Finishes and put at least one JSON-producing node after the webhook.

Test URL vs Production URL?

Test URL registers on Listen for Test Event (or execute while unpublished) and shows data in the editor. Production URL registers after publish; data lives on Executions.

Is Docker required?

No. npx n8n is enough to try. Docs recommend Docker for most self-hosting. Global npm is deprecated from n8n 3.0.

See JSON before you orchestrate

Until the Test URL returns a body, do not treat an empty reply as a broken n8n. Most of the time Respond is still Immediately.

Start the picture