Automate Tasks with n8n
Set up n8n for self-hosted workflow automation — a free, open-source alternative to Zapier.
What is n8n?
n8n is an open-source workflow automation tool. It connects apps and services together — when something happens in one app, n8n can trigger actions in another. Think Zapier but self-hosted: no per-task fees, no data sent to third parties, full control.
Step 1. Install via Docker
docker run -d --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n
This starts n8n on port 5678 with persistent data. Visit http://localhost:5678 to access it.
Step 2. Create an admin account
On first visit, n8n asks you to create an account. Set an email and password. This protects your workflows.
Step 3. Build your first workflow
- 1.Click "New Workflow".
- 2.Add a trigger node (e.g., Schedule every hour).
- 3.Add an action node (e.g., HTTP Request to fetch data from an API).
- 4.Add another action (e.g., Send Email with the results).
- 5.Connect the nodes by dragging between them.
- 6.Click "Execute Workflow" to test.
Step 4. Add integrations
n8n has hundreds of built-in integrations: Gmail, Slack, Notion, Google Sheets, HTTP Request (for any API).
- 1.Click the "+" button to add a node.
- 2.Search for the service and follow the credential setup.
- 3.Each integration needs API keys or OAuth.
Step 5. Activate and monitor
- •Click the toggle to activate your workflow — it now runs automatically.
- •Check the "Executions" tab to see run history and debug failures.
- •Set up error workflows to get notified when something breaks.
Quick Tips
- •Use the Webhook node for event-triggered workflows (e.g., run when a form is submitted).
- •Create an error workflow that sends you an email on failure.
- •Use expressions in n8n to pass dynamic data between nodes.
- •Browse the community nodes for less common services.
- •Keep credentials in environment variables for security.
Need More Help?
StarCaller Academy offers 1-to-1 sessions to help you with any of these topics and more.