This article contains affiliate links. If you buy through them, we may earn a commission at no extra cost to you.
n8n + Capsule CRM: Automated Sales Pipeline Setup in 20 Minutes
Most small sales teams lose deals not because their product is weak, but because follow-up slips through the cracks. A lead fills out a form, lands nowhere, and goes cold. The fix is a connected pipeline that moves automatically — and you can wire one up with n8n and Capsule CRM in about 20 minutes.
Capsule CRM is a simple CRM built for small businesses. It keeps contacts, pipeline stages and tasks in one place, without the bloat of enterprise tools. n8n is an open-source workflow automation platform with 400+ integrations that you can self-host for free or run on n8n Cloud. Together they form a lightweight but powerful sales engine.
What You Will Build
By the end of this guide your pipeline will do four things automatically:
- Create a new Capsule CRM opportunity whenever a lead submits a web form
- Move that opportunity to the next pipeline stage after a set number of days
- Send a personalised follow-up email via your connected mail service
- Post a Slack (or Teams) alert so the right rep is always in the loop
Prerequisites
- A Capsule CRM account (free trial available)
- An n8n instance — cloud or self-hosted
- A Capsule API key (Settings → API Authentication in Capsule)
- Optional: a Slack workspace or SMTP credentials for notifications
Step 1 — Connect n8n to Capsule CRM (3 minutes)
Open n8n, create a new workflow and add a Webhook node as the trigger. Set the HTTP method to POST. Copy the webhook URL — you will paste it into your contact form or lead source in a moment.
Next, add a Capsule CRM node. In the credentials panel, choose API Key and paste the key you copied from Capsule settings. Set the operation to Create Opportunity. Map the following fields from the webhook body:
- Name →
{{ $json.body.name }} - Email →
{{ $json.body.email }} - Opportunity Name →
{{ $json.body.company }} – Inbound Lead - Stage → your first pipeline stage (e.g. Contacted)
Click Execute Node and submit a test entry through your form. Within seconds you should see a new opportunity appear in your Capsule pipeline.
Step 2 — Auto-advance the Pipeline Stage (5 minutes)
Add a second workflow (or a separate branch) triggered by an n8n Schedule node set to run daily at 09:00.
Connect a Capsule CRM node with the operation Get All Opportunities. Filter by stage Contacted. Pipe the results into a Function node and add this logic:
return items.filter(item => {
const created = new Date(item.json.createdAt);
const now = new Date();
const days = (now - created) / (1000 * 60 * 60 * 24);
return days >= 2;
});
Any opportunity older than two days flows into another Capsule CRM node set to Update Opportunity. Change the stage field to Proposal Sent (or whichever stage comes next in your pipeline). That is it — no manual stage dragging required.
Step 3 — Send a Personalised Follow-up Email (5 minutes)
After the update node, add a Send Email node (or a Gmail / Outlook node if you prefer OAuth). Use Capsule's returned contact data to personalise the message:
- To →
{{ $json.emailAddresses[0].address }} - Subject →
Quick follow-up for {{ $json.firstName }} - Body → Write a short template that references the opportunity name and invites a call
If you also want to run email marketing sequences — nurture campaigns, segment-based drips — you can connect Capsule CRM to Transpond, the email marketing tool built by the same team, so your CRM contacts and campaign audiences stay perfectly in sync.
Step 4 — Notify the Sales Rep on Slack (3 minutes)
Append a Slack node after the email step. Send a message to your #sales channel:
🚀 New lead moved to Proposal Sent:
*{{ $json.firstName }} {{ $json.lastName }}* ({{ $json.emailAddresses[0].address }})
Opportunity: {{ $json.opportunity.name }}
Your rep gets an instant nudge without checking the CRM every hour.
Step 5 — Activate and Test (4 minutes)
- Toggle both workflows to Active in n8n.
- Submit a real test lead through your form.
- Wait two minutes (or temporarily lower the age filter to 0 days) and verify the stage moves in Capsule.
- Check your inbox for the follow-up and your Slack channel for the notification.
If anything fails, open the n8n execution log — every run shows the exact node that errored and the full JSON payload, making debugging straightforward.
Ideas for Extending the Pipeline
- Lost deal recovery: if an opportunity has been in Proposal Sent for 7 days with no activity, automatically move it to Follow-up Required and assign a task in Capsule.
- Lead scoring: use an n8n Function node to score leads by company size or source, then route high-value leads to a priority stage immediately.
- Google Sheets logging: append every stage change to a sheet for weekly reporting without any manual export.
- B2B enrichment: before creating the Capsule opportunity, call a B2B data API to fill in company size, industry and LinkedIn URL automatically.
Why This Stack Works for Small Teams
Capsule CRM keeps things clean — no unused modules, no confusing dashboards. n8n handles the logic layer without locking you into a proprietary platform. You own the workflow, you can read every line of it, and if your process changes you edit a node rather than filing a support ticket. For a team of two to twenty, this combination punches well above its weight.
If you want to build this automated sales pipeline yourself, you can get started via n8n — including 400+ integrations and a free self-hosting option — to have your first lead flowing through Capsule CRM automatically within the hour.