You have the source code of Event Sign-up Form for n8n. This guide takes it from the zip file to a published sign-up form on your own computer: three pages where visitors choose a session and their seats, a check that seats are left and that the same email hasn’t booked already, and a last page that greets each visitor by name.
By the end, the form is open at http://localhost:5678/form/event-signup, and the Sign-ups table holds your first booking.
Cost: free. Everything runs on your own computer, with no accounts or API keys. n8n’s Community Edition costs nothing to self-host. Docker Desktop (opens in a new tab) is free for personal use, education and small businesses (fewer than 250 employees and less than $10 million in yearly revenue); larger companies need a paid Docker subscription.
Every screen and output on this page is real, run with n8n 2.49.5 and Docker Desktop on macOS.
Get the Source Code
Get the complete source code of Event Sign-up Form for n8n on Dewiride Store → (opens in a new tab)
The archive holds the two workflows and the Docker Compose file this guide sets up and runs.
Prerequisites
- Docker Desktop (opens in a new tab), installed and running.
Step 1: Unzip the Source Code
Open Terminal and go to the folder that holds the zip, such as Downloads:
cd ~/Downloads
Unzip it:
unzip event-signup-form-n8n-1.0.1.zip
It creates a folder named event-signup-form-n8n. Go into it:
cd event-signup-form-n8n
The folder holds the two workflows in workflows, compose.yml for n8n, .env.example with two optional settings, and a README.
Step 2: Start n8n
Already run n8n 2? Skip to Step 4 and import the workflows into your own n8n.
compose.yml runs n8n 2.49.5 in Docker, reachable only from your computer. Start it:
docker compose up -d
docker compose reads compose.yml in this folder, and up -d starts n8n in the background. If the n8n image isn’t on your computer yet, Docker downloads it first. When the last line says Started, n8n is running:
Volume event-signup-form-n8n_n8n_data Created
Network event-signup-form-n8n_default Created
Container event-signup-form-n8n-n8n-1 Started
Step 3: Create Your Owner Account
Open http://localhost:5678 in your browser. The first time, n8n asks for an owner account: enter your email address, name and a password, and click Next.

n8n then shows a few questions. Answer or skip them until n8n opens. How to Install n8n with Docker shows these first screens.
Step 4: Import the Two Workflows
Import the setup workflow first. Click + at the top of the left sidebar, then New workflow. Click ⋯ next to the workflow name, then Import › From file, and choose set-up-sign-ups-table.json in the workflows folder.

If n8n asks Importing this from an AI tool?, click Skip. It offers to connect AI tools to n8n, which this guide doesn’t need.

The workflow opens as Set up the Sign-ups table. Now import event-sign-up-form.json the same way, into a second new workflow. It opens as Event sign-up form:

On form submission, Your booking and A few more questions are the three pages of the form. Find bookings for the session reads the bookings already saved, Check the booking checks the seats and the email, and Can we book it? sends the booking to Save the sign-up and Confirmation, or to Not booked, which tells the visitor why.
Step 5: Create the Sign-ups Table
Open Set up the Sign-ups table and click Execute at the bottom of the canvas. n8n says Workflow executed successfully, and both nodes turn green:

The Sign-ups table now exists, with the columns name, email, session, seats, topics and heard_from.
Advertisement
Step 6: Set Your Sessions and Seats
Open Event sign-up form and double-click Your booking. Under Form Elements, open Dropdown, then Field Options. Each Option is one session; replace the two samples with your own, and use Add Field Option for more:

Close the node and double-click Check the booking. The two seat settings are at the top of its code: SEATS_PER_SESSION is the number of seats in each session (40), and MAX_SEATS_PER_BOOKING the most seats one person can book at a time (6). Change the numbers to suit your event:

You can also change the form’s title, its questions and the texts of its pages. Keep the field names Name, Email, Which session? and How many seats?, because Check the booking reads them by name.
Step 7: Publish the Form
Close the node, click Publish, then Publish in the dialog:

The form is now open at this address:
http://localhost:5678/form/event-signup
Step 8: Make a Test Booking
Open the form address in your browser. Type a name and an email address and click Next. On the second page, choose a session and the number of seats:

Click Next, answer the two last questions and click Book my seats. The last page confirms the booking:

Open Overview › Data tables › Sign-ups. The booking is a row, with the topics and the answer to How did you hear about us? in the last two columns:

When a Booking Can’t Be Made
The form saves a booking only when it passes the check. Otherwise the last page tells the visitor why, and nothing is saved. Here the seat limit was set to 3, and the session was already full:

These are all the last pages a visitor can see:
| When | The last page says |
|---|---|
| The booking was saved | You’re booked!, with the name, the session and the seats |
| The same email already booked that session | You’re already booked |
| The session has no seats left | Sorry, this session is full |
| Fewer seats are left than asked for | Not enough seats left, with how many are left |
| The number of seats is below 1, above the maximum or not a whole number | Please check the number of seats |
The email check ignores capital letters, so ASHA@example.com counts as the same email as asha@example.com.
Clean Up
To stop n8n, run this in the folder:
docker compose down
It stops n8n and removes its container:
Container event-signup-form-n8n-n8n-1 Removed
Network event-signup-form-n8n_default Removed
Your workflows and the bookings stay in Docker’s n8n_data volume, so docker compose up -d brings everything back.
Warning: docker compose down -v also deletes the volume, with every workflow and booking in it. It can’t be undone.
Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
Problem submitting response on the form’s last page, and the run shows Data table with name "Sign-ups" not found | The Sign-ups table is missing | Run Set up the Sign-ups table (Step 5) |
| Conflicting Form Path when you publish | Another published workflow already uses the address event-signup, such as an earlier import of this form | Unpublish one of them, or change Form Path under On form submission › Options in one of them |
Cannot GET /form/event-signup right after docker compose up -d | n8n is still starting | Wait until docker compose logs shows Editor is now accessible via, then reload the page |
port is already allocated when n8n starts | Another app uses port 5678, such as another n8n | Stop it, or run echo "N8N_PORT=5701" >> .env to use port 5701. Then run docker compose up -d --force-recreate (why it’s needed). |
FAQ
Can I use my own n8n instead?
Yes, if it runs n8n 2. Skip Steps 2 and 3 and import the two workflows into it. They were tested with n8n 2.49.5.
Can people outside my computer use the form?
Not at a localhost address, which always means the visitor’s own computer. A form for the public needs n8n at a public address with HTTPS.
Can two people get the last seat?
Only if they click Book my seats at the very same moment. The form checks the table when each booking arrives, so two bookings that arrive together can both see the same free seat.
Can the Sign-ups table show times in my time zone?
Yes. Add a line such as GENERIC_TIMEZONE=Asia/Kolkata, with your own time zone, to a file named .env in the folder, and run docker compose up -d again.
Does it work on Windows and Linux?
It has been tested on macOS so far.
Conclusion
You took the Event Sign-up Form from its zip to a published form: n8n running in Docker, the two workflows imported, the Sign-ups table created, your sessions and seat limits set, and a first booking saved. From now on, every booking is checked before it’s saved, and every visitor learns what happened to theirs.
To see how a multi-page form like this is built, Part 5 of the n8n Tutorial builds the first version step by step.
Additional Resources
- n8n Form Trigger node (opens in a new tab) (n8n docs)
- n8n Form node (opens in a new tab) (n8n docs)
- Data table node (opens in a new tab) (n8n docs)
- Export and import workflows (opens in a new tab) (n8n docs)
- docker compose up (opens in a new tab) (Docker docs)
Related
- n8n Tutorial — Part 5: Forms: Collect Data with n8n Forms
- How to Redirect After an n8n Form Submission
- How to Pre-fill an n8n Form with Query Parameters
- How to Install n8n with Docker
n8n, Docker and other names mentioned are trademarks of their respective owners. JD Bots isn’t affiliated with or endorsed by n8n GmbH or Docker, Inc.
0 comments