# How to Activate a Workflow in n8n: Execute Step, Execute Workflow and Publish

> How to activate a workflow in n8n: test with Execute step and Execute workflow, pin test data, then Publish and use the Production URL. Free lesson.

Source: https://ynteractive.com/content/n8n-execute-step-execute-workflow-publish · Updated 2026-11-17 · Free from Stepthrough (https://ynteractive.com)

## Practice it step by step

[Start the free practice](https://ynteractive.com/modules/n8n-execute-publish)

[Take the free module: why it matters, practice and a quick check →](https://ynteractive.com/courses/n8n-jump-start/4)

You do every step yourself in a practice copy of n8n. It checks your work as you go, and “Do it for me” finishes any step you get stuck on. Free, about 6 minutes, and nothing touches your real accounts. [Open full screen](https://ynteractive.com/modules/n8n-execute-publish)

Quick answer

In n8n you activate a workflow by publishing it. Test first: [Execute step](https://ynteractive.com/content/glossary/execute-step) runs the one node you have open, and [Execute workflow](https://ynteractive.com/content/glossary#execute-workflow) runs every node. Then click Publish at the top right. For a [Webhook](https://ynteractive.com/content/glossary#webhook), open the node, switch to Production URL and put that address in your form, because the Test URL only listens in the editor. After any edit, click Publish again.

Last updated November 17, 2026 · Last checked November 17, 2026

Free · Live now · [n8n Automation Toolkit](https://ynteractive.com/content/course/n8n-automation-toolkit) · [n8n](https://ynteractive.com/content/tool/n8n) · ~6 min · 25 steps · Beginner

Updated November 17, 2026. Built against the tool’s current screens and checked step by step. [How we check this lesson](https://ynteractive.com/content/about#how-we-check)

Three buttons in the [n8n](https://ynteractive.com/content/tool/n8n) editor do three different jobs, and mixing them up is the most common reason a workflow 'works in the editor' but not for real. In this free lesson you use a practice copy of the n8n editor on a small, already-built workflow for a made-up bookkeeping office: a [Webhook](https://ynteractive.com/content/lovable-n8n-web-app-ai-backend) catches a new-client form, Edit Fields picks out the email and name, and Google Sheets adds a row. You run one node with Execute step, pin test data, run everything with Execute workflow, publish, copy the Production URL, then change a node and publish again.

## At a glance

| Question | Answer |
| --- | --- |
| What you build | Learn the buttons in today's n8n editor: run one node with Execute step, pin test data, run everything with Execute workflow, then Publish and copy the Production URL. |
| Tools | n8n |
| Time | About 6 minutes, 25 steps in 5 parts |
| Level | Beginner, no coding needed |
| Cost | Free |
| Ways to learn it | [Practice it step by step](https://ynteractive.com/modules/n8n-execute-publish) |

### The 5 parts, in short

1. Execute step: The sheet it fills, What the form sends, Open a node, Try Execute step, and 2 more steps.
2. Pin test data: Open the Webhook, Add test data, Save it as pinned data, Close the Webhook, and 3 more steps.
3. Execute workflow: Execute workflow, Check the real result, Back to n8n.
4. Publish: Publish, Open the Webhook, Production URL, Copy it, and 1 more step.
5. Change it and publish again: Make a change, Add a field, Close the node, Publish again.

**Start here first:** [n8n: What Is n8n? Build Your First Workflow](https://ynteractive.com/content/n8n-tutorial-for-beginners-first-workflow) (module 1 of n8n Automation Toolkit)

**In the course:** Part 9 · n8n Automation Toolkit (Module 83 of the [full course](https://ynteractive.com/content/course))

**Part of:** [n8n Jump Start](https://ynteractive.com/content/paths/n8n-jump-start) (step 3 of 27). Next up: [n8n Switch Node Fallback Output, Plus the If Node: Route Items by Rules](https://ynteractive.com/content/n8n-if-and-switch-node-tutorial)

**Part of:** [n8n for Beginners: Your First Automations](https://ynteractive.com/content/paths/n8n-beginner) (step 6 of 12). Next up: [n8n: Run a Workflow on a Schedule (Every Monday at 8am)](https://ynteractive.com/content/n8n-schedule-trigger-tutorial)

## The sheet it fills

This is the made-up office's New clients sheet before the workflow runs: a header row and no clients yet. Each new-client form that arrives becomes one row. The lesson opens on this sheet, and after Execute workflow you see row 2 filled in (Email and Name; Service stays blank until you add that field).

| Email | Name | Service |
| --- | --- | --- |

[Download the sheet template (CSV)](https://ynteractive.com/templates/new-clients.csv) To use it, open Google Sheets and choose File, Import, Upload. It has the three headers and no rows, like the sheet in the lesson.

## What the form sends

The website's new-client form posts three fields to the Webhook. They arrive inside body, so the email is {{ $json.body.email }}. This is the sample the lesson pins as test data.

| name | email | service |
| --- | --- | --- |
| Dana Ortiz | dana@ortizdesign.com | Monthly bookkeeping |

## Execute step: run one node

Open a node and click Execute step at the top of its middle panel. n8n runs that node using the data from the node before it, and shows the result in the OUTPUT panel on the right. It is the fastest way to check one change.

If the node before it has no data yet, the INPUT side says No input data with an Execute previous nodes button. Clicking Execute step anyway makes n8n run the earlier nodes first, and a Webhook trigger then just waits for a test call. Stop it, and pin test data instead.

## Pin test data so you stop resending the form

In the Webhook node, click the pencil above the OUTPUT panel, paste a sample submission and save. The banner reads This data is pinned for test executions, and every test run uses it until you unpin it. Form fields arrive inside body, so the email is {{ $json.body.email }}.

## Execute workflow: run everything, then check the real result

Execute workflow, at the bottom of the canvas, runs the whole workflow. Each node gets a green check and the lines show how many items passed. A green check means the node ran, not that the output is right, so open the sheet and look at the new row. In the lesson the Service column is blank because no field sends it yet.

## Publish and the Production URL

Saving does not turn a workflow on. The Webhook's Test URL only listens while you click Listen for test event in the editor. Click Publish at the top right to make the workflow live, then open the Webhook, switch to Production URL and copy it into your form. The production address has /webhook/ in it, not /webhook-test/.

After you change a node, the live workflow is still the old version. Publish lights up again; click it so real submissions use your change. To hear about it when a live run fails, see [Error Handling Automation in n8n: Retry On Fail, Error Workflow and Alerts](https://ynteractive.com/content/n8n-error-handling-retry-on-fail-error-workflow).

## Links

- [n8n](https://n8n.partnerlinks.io/2a7wq6ej1z0t) (affiliate link): the workflow tool this lesson teaches.
- [n8n docs: data pinning](https://docs.n8n.io/data/data-pinning/): how pinned test data works.
- [n8n docs: Webhook node](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook/): Test URL and Production URL.

Disclosure: links marked "affiliate link" are partner links. If you sign up through one, Stepthrough may earn a commission at no extra cost to you. The lesson is free either way and does not depend on it.

## Try it yourself, free

Reading the steps is a start. Doing them is how it sticks. The interactive module walks you through every click in a practice copy of n8n, checks each step, and never touches your real accounts.

[Start “How to Activate a Workflow in n8n: Execute Step, Execute Workflow and Publish”](https://ynteractive.com/modules/n8n-execute-publish)

## Step by step: How to Activate a Workflow in n8n: Execute Step, Execute Workflow and Publish

All 25 steps of the interactive module, in order. In the module you watch each one, then do it yourself in a practice copy that checks your work.

### 1. Execute step

1. **The sheet it fills.** This sheet is where every new client should land, with no copy and paste. Click the highlighted header row (**Email · Name · Service**).
   This sheet is where every new client should land, with no copy and paste. Email, name and service.
2. **What the form sends.** The website's new-client form sends three things: the client's **name**, **email** and the **service** they want. Each form that arrives should become one new row here. Switch to the **n8n** tab to see the workflow that does it.
   The new client form on their website sends three things. The client's name, their email, and the service they want. Each form that comes in should become one new row in this sheet. Switch to the n8n tab, to see the workflow that does it.
3. **Open a node.** This workflow is already built: a **Webhook** gets the intake form, **Edit Fields** picks out the email and name, and **Append row in sheet** saves them. Double-click **Edit Fields** to open it.
   This is a small workflow for Maple Street Bookkeeping. A webhook gets the new client form. Edit Fields picks out the email and name. Then a Google Sheets node adds a row.
4. **Try Execute step.** The **INPUT** side says **No input data**: the Webhook before it has never run. Click **Execute step** anyway, at the top of the middle panel.
   Look at the left side. It says no input data. The webhook before it has never run.
5. **Stop the wait.** n8n runs the earlier nodes first, so the **Webhook** is now waiting for a test call that will not come. Click the **stop** button (the square) next to the spinner.
   With no input, n8n runs the earlier nodes first. So now the webhook is waiting for a form to arrive. Nothing is coming.
6. **Close the node.** Instead of waiting for a real form, give the Webhook some test data. Close this node with the **X** at the top right.
   Instead of waiting for a real form, you'll give the webhook some test data. Close this node.

### 2. Pin test data

7. **Open the Webhook.** The Webhook has no data until a real form arrives, so you will give it a saved sample to test with. Double-click the **Webhook** node.
   The webhook has no data until a real form arrives. So we'll give it a saved sample to test with.
8. **Add test data.** The **Test URL** only works while you test in the editor (that is what **Listen for test event** does). You can skip the form for now: click the **pencil** at the top of the **OUTPUT** panel to type sample data.
   See the Test URL. It only listens while you click Listen for test event, here in the editor. You don't need a real form right now.
9. **Save it as pinned data.** A test form submission is already filled in. Notice the form fields sit inside **body**. Click **Save**.
   Here's a sample form submission. Notice the form fields sit inside body.
10. **Close the Webhook.** The banner says **This data is pinned for test executions.** From now on, test runs use it instead of waiting. Close the node.
    The banner says this data is pinned for test executions. Test runs now use it, instead of waiting for a form. Close the node.
11. **Open Edit Fields again.** The Webhook now shows a pin. Double-click **Edit Fields**.
    The webhook has a little pin on it now.
12. **Execute step.** The **INPUT** side now shows the pinned data. Click **Execute step**.
    This time the input side shows your test data.
13. **Read the output, then close.** Only this node ran, using the data from the node before it. The **OUTPUT** panel shows **email** and **name**, filled in by **{{ $json.body.email }}** and **{{ $json.body.name }}**. Close the node.
    Only this one node ran. It used the data from the node before it. On the right, the output shows the email and name. That's what dollar json dot body dot email pulls out. Close the node.

### 3. Execute workflow

14. **Execute workflow.** Now run everything. Click **Execute** at the bottom of the canvas. It runs the whole workflow, which is why people call it Execute workflow (that is also the name of the button that appears when you point at the trigger).
    Now run the whole thing. It runs every node, in order.
15. **Check the real result.** Every node has a green check and **1 item** on its line. Green checks mean each node **ran**, not that the result is right. Open the **New clients** sheet tab to check.
    Every node has a green check. But a green check means the node ran. It doesn't mean the output is right.
16. **Back to n8n.** Row 2 has Dana’s email and name in the right columns. That is the real check. **Service** is blank: nothing sends it yet. You will fix that after you publish. Go back to the **n8n** tab.
    Row two has the email and name, in the right columns. That's the real check. Service is blank, because nothing sends it yet. You'll fix that later. Go back to the n8n tab.

### 4. Publish

17. **Publish.** Your work is saved, but saving does **not** turn the workflow on. Real form submissions only run it once it is published. Click **Publish** at the top right.
    Your work is saved. But saving does not turn it on. Real forms only run it after you publish.
18. **Open the Webhook.** Now the form needs the live address. Double-click the **Webhook** node.
    Now the form needs the live address.
19. **Production URL.** Under **Webhook URLs**, click **Production URL**.
20. **Copy it.** The production address has **/webhook/** in it, not **/webhook-test/**. It works all the time while the workflow is published. Click the URL to copy it, then paste it into your form.
    The production address says webhook, not webhook test. It works all the time, as long as the workflow is published. That's what goes in your form.
21. **Close the Webhook.** Close the node.

### 5. Change it and publish again

22. **Make a change.** Now fix the blank **Service** column. Double-click **Edit Fields**.
    Now fix that blank service column.
23. **Add a field.** Click **Add Field**. We will fill it in as **service** = **{{ $json.body.service }}**.
    It becomes service, from dollar json dot body dot service.
24. **Close the node.** Your change is saved in the editor. Close the node.
    The change is saved in the editor. Close the node.
25. **Publish again.** The live workflow is still the **old** version: real forms still skip the service. **Publish** lights up again because you have changes that are not live. Click **Publish**.
    Here's the catch. The live workflow is still the old version. Real forms still skip the service. Publish is lit up again, because your change isn't live yet.

## Frequently asked questions

**Does saving a workflow in n8n make it live?**

No. Saving keeps your edits, but only Publish makes the workflow live. The Webhook's Test URL only listens while you click Listen for test event in the editor.

**How do I use an n8n workflow in production?**

Publish it, then open the Webhook node, switch to Production URL and copy that address into your form or app. The production address has /webhook/ in it, not /webhook-test/.

**What is the difference between Execute step and Execute workflow in n8n?**

Execute step runs the one node you have open, using the data from the node before it. Execute workflow runs every node from the trigger onward.

**Why does my n8n webhook work in the editor but not from my form?**

The Test URL only listens while you test in the editor. Publish the workflow and use the Production URL in your form.

**Do I need to publish again after editing a workflow?**

Yes. Edits are saved, but the live version stays the same until you click Publish again.

**Does the lesson touch my n8n account?**

No. It is a practice copy of the editor. Nothing runs, and no account or sheet is touched.

[Start this module free](https://ynteractive.com/modules/n8n-execute-publish)

- Previous in n8n Automation Toolkit: [Litescrape in n8n: Swap SerpApi for a Cheaper Search API](https://ynteractive.com/content/litescrape-n8n-serpapi-alternative)
- Next in n8n Automation Toolkit: [How to Create a Webhook in n8n and a Form That Saves to Google Sheets](https://ynteractive.com/content/n8n-webhook-and-form-trigger-tutorial)

## More in n8n Automation Toolkit

- [n8n: What Is n8n? Build Your First Workflow](https://ynteractive.com/content/n8n-tutorial-for-beginners-first-workflow): What n8n is and how it thinks, then your first workflow: a client inquiry form that catches every request and writes a one-line summary. No code, no accounts to connect.
- [How to Do n8n Automation for Beginners: Sort Inquiries and Draft Replies with AI](https://ynteractive.com/content/ai-workflow-automation-for-beginners): AI workflow automation for beginners: a form catches each client inquiry, an AI step sorts it and drafts the reply, and an If rule flags the urgent ones. Real n8n, free…
- [n8n: Items, JSON and Expressions, Explained by Doing](https://ynteractive.com/content/n8n-items-json-expressions-tutorial): See how n8n holds data: pin five fake invoices, read them as items, Table and JSON, then write one reminder per invoice and a late fee with drag-and-drop expressions.
- [n8n: Run a Workflow on a Schedule (Every Monday at 8am)](https://ynteractive.com/content/n8n-schedule-trigger-tutorial): Use the n8n Schedule Trigger to run a workflow by itself: every Monday at 8am, a timesheet reminder. Set the interval, test it now, and check the time zone.
- [n8n: Send Form Answers Straight to Google Sheets](https://ynteractive.com/content/n8n-form-to-google-sheets): Build a consultation request form in n8n (required fields, email, dropdown), test it, and add every answer as a new row in Google Sheets. No webhook, no form tool to…
- [n8n: Summarize Customer Emails with OpenAI](https://ynteractive.com/content/n8n-openai-summarize-emails): Your first AI step in n8n: send each customer email to OpenAI with one prompt and get a one-line summary plus the next step. No agent needed, about a cent of API use.

[All 28 modules in n8n Automation Toolkit](https://ynteractive.com/content/course/n8n-automation-toolkit)

## More n8n tutorials

- [How to Create an AI Agent in n8n That Saves Ideas to Google Sheets](https://ynteractive.com/content/n8n-ai-agent-tutorial-google-sheets): Build an AI agent for BrightPath Marketing that generates social media post ideas and saves them to Google Sheets — chat trigger, AI Agent, system prompt, model…
- [How to Build in Lovable: A Web App with an n8n AI Backend](https://ynteractive.com/content/lovable-n8n-web-app-ai-backend): Build a contact form in Lovable and connect it to an n8n workflow — webhook trigger, AI Agent, Google Sheets, Gmail, and a Respond node that ties it all together.
- [How to Do OCR in n8n: Read Receipt Photos into Google Sheets with AI](https://ynteractive.com/content/ai-receipt-extractor-n8n-google-sheets): Drop a photo of a receipt into an n8n chat. An AI agent reads it, pulls out the date, vendor and amount, picks a category, and adds a row to Google Sheets.
- [n8n AI Email Responder: Draft Gmail Replies Automatically](https://ynteractive.com/content/ai-email-responder-gmail-drafts-n8n): Build an n8n agent that watches your Gmail, reads each new customer email, and writes a reply as a draft in the same thread, ready for you to check and send.
- [How to Make an n8n Workflow That Emails Each Tech Their Jobs from Sheets](https://ynteractive.com/content/n8n-daily-job-alerts-google-sheets-gmail): Every morning at 7, n8n reads a plumbing company's jobs sheet, skips anything not assigned yet, and emails each job to the tech it's assigned to — customer, address…
- [Gmail AI Triage: Auto-Label Every Email and Draft Replies](https://ynteractive.com/content/gmail-ai-triage-labels-drafts-n8n): Build an n8n workflow that reads each new email, sorts it as a lead, a client or an invoice with a Text Classifier, adds the matching Gmail label, and drafts a reply to…

## From the blog

- [n8n Tutorial for Beginners: How to Use n8n Step by Step](https://ynteractive.com/content/blog/n8n-tutorial-for-beginners-first-workflow): An n8n tutorial for beginners: how to use n8n to build your first workflow, a daily report from a Google Sheet emailed at 5pm. Free practice lesson.
- [How to Route Client Requests: AI Form, Agent or Rules](https://ynteractive.com/content/blog/route-client-requests-with-ai-form-agent-or-rules): Route client requests with AI: collect clean details with a form, route by rules with n8n If and Switch, test, publish, and keep an agent for questions.

[All blog posts](https://ynteractive.com/content/blog)

## Visual guides

This lesson’s key ideas as quick visual guides: swipe through the slides, or read the same guide as text.

- [n8n Execute Step vs Execute Workflow vs Publish](https://ynteractive.com/content/n8n-execute-step-execute-workflow-publish): A visual guide to the three n8n buttons: run one node with Execute step, pin test data, run everything with Execute workflow, then Publish for real.

[All visual guides](https://ynteractive.com/content/visual)

## Free cheat sheet

Print it or save the PDF: the key steps and checks from this lesson on one page, free.

- [n8n Beginner Cheat Sheet: Triggers, Items, Expressions](https://ynteractive.com/content/n8n-items-json-expressions-tutorial): A free one-page n8n beginner cheat sheet: what n8n is, triggers vs actions, items and JSON, expressions, test vs production, schedules, forms and costs.

[All free printable cheat sheets](https://ynteractive.com/content/cheat-sheets)

## Terms in this lesson

Plain-English definitions, each with an example from a free lesson.

[Edit Fields (Set) node](https://ynteractive.com/content/glossary#edit-fields-node) · [Execute step](https://ynteractive.com/content/glossary/execute-step) · [Execute workflow](https://ynteractive.com/content/glossary#execute-workflow) · [Execution (n8n)](https://ynteractive.com/content/glossary/n8n-execution) · [Pinned data](https://ynteractive.com/content/glossary/pinned-data) · [Publishing a workflow](https://ynteractive.com/content/glossary/publish-workflow) · [Intake form](https://ynteractive.com/content/glossary/intake-form) · [n8n](https://ynteractive.com/content/explainers/what-is-n8n)

[The full AI glossary](https://ynteractive.com/content/glossary)

## Browse related tutorials

[n8n Automation Toolkit (28)](https://ynteractive.com/content/course/n8n-automation-toolkit) · [n8n tutorials (59)](https://ynteractive.com/content/tool/n8n)
