Capsule CRM Pipeline Automation with n8n – Setup Guide

Capsule CRM automatisieren mit n8n – Pipeline & E-Mails

🇬🇧 English

This article contains affiliate links. If you buy through them, we may earn a commission at no extra cost to you.

Capsule CRM Pipeline Automation with n8n: Move Deals and Send Emails Automatically

If your sales team is manually dragging deals across pipeline stages and copy-pasting follow-up emails, you are leaving time and money on the table. This guide shows you exactly how to wire up Capsule CRM — the clean, small-business-friendly CRM with a built-in sales pipeline — to n8n, the open-source automation tool with 400+ integrations, so that deals move themselves and emails fire without anyone lifting a finger.

The whole setup takes around 20 minutes. You do not need to write a single line of code.

What You Will Build

  • A trigger that fires every time a deal (opportunity) reaches a specific pipeline stage in Capsule CRM
  • A condition check that filters only the deals you care about
  • An action that moves the deal to the next stage automatically
  • An email sent to the contact (or your sales rep) via Gmail, Outlook, or SMTP

Prerequisites

  • Capsule CRM account — free trial available, paid plans start from a low monthly fee per user
  • n8n instance — either self-hosted (free) or n8n Cloud
  • Capsule API key — found under your Capsule account settings → API Authentication
  • An email sending credential in n8n (Gmail OAuth2, Outlook OAuth2, or SMTP)

Step 1 – Get Your Capsule API Key

Log in to Capsule CRM, click your avatar in the top-right corner, go to My Preferences → API Authentication, and generate a new API token. Copy it somewhere safe — you will paste it into n8n in a moment.

Step 2 – Create the n8n Workflow

Open your n8n editor and create a new workflow. The finished flow will look like this:

Schedule Trigger → HTTP Request (fetch opportunities) → IF node (filter by stage) → HTTP Request (update stage) → Send Email

Node 1: Schedule Trigger

Add a Schedule Trigger node. Set it to run every 15 minutes (or every hour — your choice). This polls Capsule for new or updated deals on a regular cadence.

Alternative: If you are on a Capsule plan that supports webhooks, you can replace the schedule trigger with an n8n Webhook node and configure Capsule to push events in real time. This cuts latency to seconds.

Node 2: HTTP Request – Fetch Opportunities

Add an HTTP Request node and configure it as follows:

  • Method: GET
  • URL: https://api.capsulecrm.com/api/v2/opportunities?embed=party
  • Authentication: Header Auth — Header Name: Authorization, Header Value: Bearer YOUR_API_TOKEN

This returns all open opportunities including the embedded contact (party) details. You can add query parameters such as milestoneId to narrow results to a specific pipeline stage right at the API level, which reduces processing overhead.

Node 3: IF Node – Filter by Stage

Add an IF node. Set the condition:

  • Value 1: {{ $json.milestone.name }}
  • Operation: Equal
  • Value 2: Proposal Sent (or whatever stage name you want to act on)

Deals that match go to the true branch. All others are ignored.

Node 4: HTTP Request – Move Deal to Next Stage

Add a second HTTP Request node on the true branch:

  • Method: PUT
  • URL: https://api.capsulecrm.com/api/v2/opportunities/{{ $json.id }}
  • Body (JSON):
{
 "opportunity": {
 "milestone": {
 "id": 123456
 }
 }
}

Replace 123456 with the actual milestone ID of your target stage. You can retrieve all milestone IDs with a GET request to https://api.capsulecrm.com/api/v2/milestones.

Node 5: Send Email

Add a Gmail, Microsoft Outlook, or Send Email (SMTP) node. Connect it after the stage-update node. Configure it like this:

  • To: {{ $('HTTP Request').item.json.party.emailAddresses[0].address }}
  • Subject: Your proposal is under review – {{ $('HTTP Request').item.json.name }}
  • Body: Write a short follow-up message referencing the deal name and next steps

If you want a richer email sequence — think multi-step nurture campaigns tied directly to your Capsule contacts — pair this with Transpond, the email marketing tool built by the same team behind Capsule CRM. It syncs contacts natively and supports automated sequences, so you can keep the pipeline trigger in n8n and hand off the email journey to Transpond.

Step 3 – Activate and Test

  1. Click Execute Workflow in n8n to run a manual test.
  2. Check that the correct deals are matched by the IF node.
  3. Confirm the stage update appears in Capsule CRM within seconds.
  4. Verify the email lands in the recipient inbox.
  5. Toggle the workflow to Active.

Practical Variations

  • Notify a Slack channel instead of (or in addition to) sending an email — add a Slack node after the stage update.
  • Create a follow-up task in Capsule automatically — POST to /api/v2/tasks with the opportunity and due date.
  • Log the event to a Google Sheet — useful for weekly pipeline reporting without any manual export.
  • Add a delay node — if you want the email to go out 24 hours after the stage change rather than immediately.

Troubleshooting Tips

  • 401 Unauthorized: Double-check that your API token is correct and prefixed with Bearer in the header.
  • No items from the IF node: Use the n8n Input panel to inspect the actual milestone name coming from the API — it might have a different capitalisation.
  • Email not delivered: Confirm OAuth2 scopes include gmail.send or the equivalent for your provider.
  • Rate limits: Capsule's API allows 4,000 requests per hour on paid plans. A 15-minute polling interval with a small contact list will never come close to that ceiling.

Why This Stack Works for Small Teams

Capsule CRM is intentionally simple — no bloated feature list, just contacts, pipeline, and tasks. That simplicity makes it fast to use but also means some repetitive actions are left to the user. n8n fills that gap perfectly: it handles the logic layer (conditions, delays, branching) while Capsule stays the source of truth for your deals. Together, they give a small sales team the kind of automation that enterprise CRMs charge thousands per month for.

If you want to automate your Capsule CRM pipeline without writing code, you can build and host your workflow via n8n — including open-source self-hosting with 400+ integrations — to move deals and trigger emails in minutes.

🇩🇪 Deutsch

Dieser Artikel enthält Affiliate-Links (Werbung). Kaufst du darüber, erhalten wir ggf. eine Provision – für dich ohne Mehrkosten.

Capsule CRM mit n8n automatisieren: Deals verschieben und E-Mails auslösen

Wenn dein Vertriebsteam Deals noch manuell durch die Pipeline zieht und Follow-up-E-Mails per Hand verschickt, kostet das täglich wertvolle Zeit. Diese Anleitung zeigt dir Schritt für Schritt, wie du Capsule CRM — das schlanke CRM für kleine Teams mit integrierter Vertriebspipeline — mit n8n verbindest, damit Deals sich automatisch bewegen und E-Mails ohne manuellen Aufwand versendet werden.

Der gesamte Aufbau dauert etwa 20 Minuten. Du brauchst keine Programmierkenntnisse.

Was du aufbauen wirst

  • Einen Auslöser, der aktiv wird, sobald ein Deal eine bestimmte Pipeline-Stufe in Capsule CRM erreicht
  • Eine Bedingungsprüfung, die nur relevante Deals herausfiltert
  • Eine Aktion, die den Deal automatisch in die nächste Stufe verschiebt
  • Eine E-Mail an den Kontakt oder deinen Vertriebsmitarbeiter via Gmail, Outlook oder SMTP

Voraussetzungen

  • Capsule CRM Konto — kostenlose Testversion verfügbar
  • n8n-Instanz — selbst gehostet (kostenlos) oder n8n Cloud
  • Capsule API-Schlüssel — zu finden unter Kontoeinstellungen → API-Authentifizierung
  • E-Mail-Zugangsdaten in n8n (Gmail OAuth2, Outlook OAuth2 oder SMTP)

Schritt 1 – API-Schlüssel aus Capsule CRM holen

Melde dich in Capsule CRM an, klicke oben rechts auf dein Avatar-Bild, navigiere zu Meine Einstellungen → API-Authentifizierung und generiere einen neuen API-Token. Kopiere ihn an einen sicheren Ort — du wirst ihn gleich in n8n einfügen.

Schritt 2 – Den n8n-Workflow erstellen

Öffne den n8n-Editor und lege einen neuen Workflow an. Der fertige Ablauf sieht so aus:

Schedule Trigger → HTTP Request (Opportunities abrufen) → IF-Node (nach Stufe filtern) → HTTP Request (Stufe aktualisieren) → E-Mail senden

Node 1: Schedule Trigger

Füge einen Schedule Trigger-Node hinzu. Stelle ihn auf alle 15 Minuten (oder stündlich) ein. Damit fragt n8n Capsule regelmäßig nach neuen oder aktualisierten Deals ab.

Alternative: Wenn dein Capsule-Plan Webhooks unterstützt, kannst du den Schedule Trigger durch einen Webhook-Node ersetzen. Capsule sendet dann Ereignisse in Echtzeit an n8n — die Latenz sinkt auf Sekunden.

Node 2: HTTP Request – Opportunities abrufen

Füge einen HTTP Request-Node hinzu und konfiguriere ihn so:

  • Methode: GET
  • URL: https://api.capsulecrm.com/api/v2/opportunities?embed=party
  • Authentifizierung: Header Auth — Header-Name: Authorization, Header-Wert: Bearer DEIN_API_TOKEN

Die Antwort enthält alle offenen Opportunities inklusive der eingebetteten Kontaktdaten. Mit dem Query-Parameter milestoneId kannst du die Ergebnisse direkt auf der API-Seite auf eine bestimmte Stufe einschränken.

Node 3: IF-Node – Nach Pipeline-Stufe filtern

Füge einen IF-Node hinzu und setze die Bedingung:

  • Wert 1: {{ $json.milestone.name }}
  • Operation: Gleich
  • Wert 2: Angebot gesendet (oder wie deine Stufe heißt)

Deals, die zutreffen, landen im true-Zweig. Alle anderen werden ignoriert.

Node 4: HTTP Request – Deal in nächste Stufe verschieben

Füge im true-Zweig einen zweiten HTTP Request-Node hinzu:

  • Methode: PUT
  • URL: https://api.capsulecrm.com/api/v2/opportunities/{{ $json.id }}
  • Body (JSON):
{
 "opportunity": {
 "milestone": {
 "id": 123456
 }
 }
}

Ersetze 123456 durch die tatsächliche Milestone-ID deiner Zielstufe. Alle IDs erhältst du per GET-Anfrage an https://api.capsulecrm.com/api/v2/milestones.

Node 5: E-Mail senden

Füge einen Gmail-, Microsoft Outlook- oder SMTP-Node hinzu und verbinde ihn nach dem Stufen-Update-Node:

  • An: {{ $('HTTP Request').item.json.party.emailAddresses[0].address }}
  • Betreff: Dein Angebot wird geprüft – {{ $('HTTP Request').item.json.name }}
  • Text: Kurze Follow-up-Nachricht mit Deal-Name und nächsten Schritten

Wenn du eine mehrstufige E-Mail-Sequenz direkt mit deinen Capsule-Kontakten synchronisieren möchtest, ist Transpond die ideale Ergänzung. Das E-Mail-Marketing-Tool stammt vom selben Team wie Capsule CRM, synchronisiert Kontakte nativ und unterstützt automatisierte Sequenzen — du behältst den Pipeline-Trigger in n8n und übergibst die E-Mail-Journey an Transpond.

Schritt 3 – Workflow aktivieren und testen

  1. Klicke auf Workflow ausführen für einen manuellen Test.
  2. Prüfe, ob der IF-Node die richtigen Deals herausfiltert.
  3. Bestätige, dass die Stufe in Capsule CRM aktualisiert wurde.
  4. Verifiziere den E-Mail-Eingang beim Empfänger.
  5. Schalte den Workflow auf Aktiv.

Praktische Variationen

  • Slack-Benachrichtigung statt oder zusätzlich zur E-Mail — füge einen Slack-Node nach dem Stage-Update ein.
  • Follow-up-Aufgabe in Capsule erstellen — POST an /api/v2/tasks mit Opportunity-Referenz und Fälligkeitsdatum.
  • Ereignis in Google Sheets loggen — nützlich für wöchentliche Pipeline-Berichte ohne manuellen Export.
  • Delay-Node einfügen — wenn die E-Mail erst 24 Stunden nach dem Stufenwechsel versendet werden soll.

Häufige Fehler und Lösungen

  • 401 Unauthorized: Prüfe, ob der API-Token korrekt ist und im Header mit Bearer vorangestellt wird.
  • Keine Treffer im IF-Node: Nutze das n8n-Input-Panel, um den tatsächlichen Milestone-Namen aus der API zu sehen — Groß- und Kleinschreibung kann abweichen.
  • E-Mail wird nicht zugestellt: Stelle sicher, dass die OAuth2-Berechtigung den Scope gmail.send oder das Äquivalent deines Anbieters enthält.
  • Rate Limits: Die Capsule-API erlaubt 4.000 Anfragen pro Stunde auf bezahlten Plänen — ein 15-Minuten-Intervall mit kleiner Kontaktliste bleibt weit darunter.

Warum dieses Duo für kleine Teams funktioniert

Capsule CRM ist bewusst schlank gehalten: Kontakte, Pipeline, Aufgaben — mehr nicht. Genau diese Einfachheit macht es schnell im Alltag, lässt aber repetitive Aktionen dem Nutzer überlassen. n8n schließt diese Lücke: Es übernimmt die Logikebene (Bedingungen, Verzögerungen, Verzweigungen), während Capsule die verlässliche Datenquelle für deine Deals bleibt. Zusammen liefern sie einem kleinen Vertriebsteam den Automatisierungsgrad, für den Enterprise-CRMs tausende Euro im Monat verlangen.

Wenn du deine Capsule CRM Pipeline automatisieren möchtest, ohne Code schreiben zu müssen, kannst du über n8n deinen Workflow aufbauen und hosten — inklusive Open-Source-Selbsthosting mit 400+ Integrationen — und Deals sowie E-Mails in wenigen Minuten automatisieren.