n8n is a powerful, free, and open-source automation tool that offers more flexibility and AI-focus compared to platforms like Zapier. It allows you to automate workflows across emails, databases, social media, and AI chatbots—optimising both your business and daily life.
This playbook walks you through setting up n8n by self-hosting it on a Virtual Private Server (VPS) to save costs, and then building your first AI automation.
Part 1: Setting Up Your Self-Hosted n8n Instance
Self-hosting n8n can reduce costs by up to 70–80% compared to cloud hosting.
- Choose Your VPS Plan
- Go to the landing page that includes the n8n template.
- Select KVM1 or KVM2 (KVM2 recommended for most).
- Choose a billing period; longer commitments lower the price.
- Apply coupon code Charlie Chang for 10% off.
- Complete checkout with billing and payment details.
- Install n8n on Your VPS
- n8n may come pre-installed with your plan.
- To confirm, check under “operating system.”
- If missing, search for “n8n” in OS options and install.
- Set Up Your n8n Owner Account
- Click manage app after installation.
- Enter your email, click next, then get started.
- Activate Paid Features with Free License Key
- Enter your email to request a free license key.
- Copy and paste it into n8n under “activation key.”
- Paid features are now unlocked in the community version.
Part 2: Navigating the n8n Dashboard
Once installed, you’ll find three main sections:
- Workflows Tab: Create, manage, and run automation workflows.
- Credentials Tab: Connect APIs and external apps (Google Sheets, Gmail, OpenAI, etc.).
- Executions Tab: Track workflow runs and monitor activity.
Part 3: Utilizing Pre-Built Templates (Recommended for Beginners)
n8n can feel advanced at first, so templates are a great way to get started.
- Access Templates
- On the n8n website, go to product > templates.
- Browse trending AI workflows or filter by app (e.g., Google Sheets).
- Import a Template
- Select a template and click use workflow or copy template to clipboard.
- In your n8n dashboard, go to Workflows > Create workflow > Paste template.
- Configure the Template
- Follow the user guide that comes with the template.
- Add required credentials (e.g., OpenAI API key).
- For OpenAI, create an account and add at least $5 credit to begin.
Part 4: Building a Custom AI Automation (Form Submission → Google Sheets & Email)
Here’s a simple beginner workflow: capture form submissions, store them in Google Sheets, and send conditional emails.
- Create a Workflow
- In your dashboard, click create workflow > add first step.
- Set the Trigger (Form Submission)
- Add a Form Submission node.
- Add fields: First Name, Last Name, Email, Occupation (dropdown).
- Test the step, submit sample data, and pin it for reuse.
- Action 1: Google Sheets – Append or Update Row
- Add a Google Sheets node.
- Create a new spreadsheet with matching fields.
- Map form data to columns.
- Set “Column to match on” to Email (updates existing rows).
- Action 2: Filter Data
- Add a Filter node.
- Set condition: Occupation “is not equal to” Student.
- Test with different sample data.
- Action 3: Switch for Conditional Routing
- Add a Switch node.
- Route 1: Occupation = Engineer.
- Route 2: Occupation = Doctor.
- Action 4: Send Conditional Emails (Gmail)
- From the Engineer route, add Gmail: Send Message.
- Configure message for engineers.
- Duplicate for Doctors and configure message accordingly.
- Action 5: Merge Routes
- Add a Merge node to combine Engineer and Doctor email paths.
- Action 6: Send Final Notification Email
- Add a Gmail node after the Merge.
- Send a summary email to your leads inbox.
- Test the Workflow
- Run the workflow with pinned data.
- Verify form data is logged, filtered, routed, and emails are sent.
Conclusion
The best way to master n8n is by experimenting—import templates, configure them, and build your own workflows step by step. With self-hosting, you get full access to advanced features at a fraction of the cost, and with community support, documentation, and tutorials, the possibilities for automating your business are endless.
