LearnWorlds Course Launch: Automate Emails & Payments with n8n

LearnWorlds-Kurs launchen: E-Mails & Zahlungen mit n8n automatisieren

🇬🇧 English

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

LearnWorlds Course Launch: Automate Student Emails and Payment Workflows with n8n

Launching an online course is exciting — but the administrative work that follows can quickly become overwhelming. Every new enrollment triggers a chain of tasks: sending a welcome email, confirming the payment, granting access, updating a spreadsheet, and maybe notifying your team. Done manually, this eats hours every week. Done with automation, it runs while you sleep.

This guide shows you how to connect LearnWorlds and n8n to build reliable, event-driven workflows that handle student emails and payment confirmations automatically. If you haven't set up your course platform yet, LearnWorlds gives you everything you need to create and sell online courses — including a built-in website, payment processing, and community features — in one place.

Why Automate LearnWorlds Workflows?

LearnWorlds is a powerful platform for course creators, but like most LMS tools it expects you to handle post-purchase communication and CRM updates yourself. That means copy-pasting student data, sending emails one by one, and manually reconciling payments. Automation removes that friction entirely.

  • Consistency: Every student gets the same high-quality onboarding experience regardless of when they sign up.
  • Speed: Welcome emails arrive within seconds of enrollment, not hours later.
  • Scalability: Your workflow handles 1 enrollment or 1,000 with equal effort.
  • Accuracy: No missed steps, no typos from manual copy-paste.

Tools You Need

  • LearnWorlds — your course platform (webhooks available on Pro Trainer plan and above)
  • n8n — open-source workflow automation with 400+ integrations; self-host for free or use n8n Cloud
  • An email provider connected to n8n (Gmail, SMTP, SendGrid, etc.)
  • Optional: Google Sheets, Airtable, or a CRM for student records

Step 1: Enable LearnWorlds Webhooks

LearnWorlds sends real-time event data via webhooks whenever something important happens — a student enrolls, a payment is completed, or a course is finished. To set this up:

  1. Go to your LearnWorlds admin dashboard and navigate to Settings → Integrations → Webhooks.
  2. Click Add Webhook.
  3. Choose the events you want to listen for. For this workflow, select user.enrolled and payment.completed.
  4. Paste your n8n Webhook URL as the endpoint (you'll create this in the next step).
  5. Save and activate the webhook.

Step 2: Create the n8n Webhook Trigger

In n8n, start a new workflow and add a Webhook node as the trigger.

  • Set the method to POST.
  • Copy the generated webhook URL and paste it into LearnWorlds (Step 1, Step 4).
  • Use the Test Webhook button in n8n, then trigger a test event from LearnWorlds to confirm the connection and inspect the incoming JSON payload.

The payload will include fields like student_email, student_name, course_title, payment_amount, and event_type. Note these field names — you'll reference them throughout the workflow.

Step 3: Route Events with a Switch Node

Because you're listening for multiple event types, add a Switch node after the webhook trigger to route each event to the correct branch:

  • Branch 1: event_type equals user.enrolled → send welcome email
  • Branch 2: event_type equals payment.completed → send payment confirmation email
  • Branch 3 (optional): Any other event → log to Google Sheets for review

Step 4: Build the Welcome Email Branch

On the enrollment branch, add an email node (e.g. Gmail, Send Email via SMTP, or SendGrid):

  • To: {{ $json.student_email }}
  • Subject: Welcome to {{ $json.course_title }}, {{ $json.student_name }}!
  • Body: Write a warm, branded welcome message. Include the course access link, start instructions, and your support contact. Use n8n expressions to personalise every field dynamically.

After the email node, optionally add a Google Sheets node to append the new student's details to a tracking spreadsheet, or a Slack node to notify your team in a dedicated channel.

Step 5: Build the Payment Confirmation Branch

On the payment branch, configure a second email node:

  • To: {{ $json.student_email }}
  • Subject: Payment received — {{ $json.course_title }}
  • Body: Confirm the amount paid, include an order reference, and remind the student where to access the course. Add a note about your refund policy if applicable.

You can extend this branch to update a CRM record, trigger a Stripe invoice lookup, or add the student to an email sequence in your marketing tool.

Step 6: Handle Errors Gracefully

Production workflows need error handling. In n8n:

  • Enable Retry on Fail on critical nodes like the email sender.
  • Add an Error Trigger workflow that sends you an alert email or Slack message if any node fails.
  • Use the IF node to check that required fields (like student_email) are not empty before attempting to send.

Step 7: Test End-to-End and Activate

Before going live:

  • Enroll a test account in your LearnWorlds course and confirm the welcome email arrives with correct personalisation.
  • Use LearnWorlds' test payment mode to trigger a payment.completed event and verify the confirmation email.
  • Check your Google Sheets log (if used) to ensure rows are appended correctly.
  • Once satisfied, switch the n8n workflow from Test to Active.

Ideas to Extend the Workflow

  • Course completion emails: Listen for the course.completed event and send a congratulations email with a certificate download link.
  • Re-engagement sequences: If a student hasn't logged in for 7 days, trigger a nudge email (combine n8n with a scheduled trigger and a LearnWorlds API call).
  • Upsell automation: After course completion, automatically send an email promoting your next course.
  • Payment failure handling: Listen for failed payment events and send a friendly follow-up with a retry link.

Summary

With LearnWorlds webhooks and n8n, you can build a fully automated student communication system in an afternoon. Welcome emails, payment confirmations, team notifications, and CRM updates all happen instantly and consistently — without you lifting a finger after setup. The workflow scales with your course business and can be extended with new branches any time a new use case arises.

If you're ready to launch your course and want your student emails and payment workflows to run on autopilot, you can build and host those automations via n8n — including 400+ integrations and a free self-hosting option — to free up your time for creating great content.

🇩🇪 Deutsch

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

LearnWorlds-Kurs launchen: Studenten-E-Mails und Zahlungsworkflows mit n8n automatisieren

Ein Online-Kurs-Launch ist aufregend — doch die administrative Nacharbeit kann schnell zur Belastung werden. Jede neue Einschreibung löst eine Kette von Aufgaben aus: Willkommens-E-Mail senden, Zahlung bestätigen, Zugang freischalten, Tabelle aktualisieren, Team benachrichtigen. Manuell erledigt kostet das Stunden pro Woche. Mit Automatisierung läuft es, während du schläfst.

Diese Anleitung zeigt dir, wie du LearnWorlds und n8n verbindest, um zuverlässige, ereignisgesteuerte Workflows zu bauen, die Studenten-E-Mails und Zahlungsbestätigungen automatisch versenden. Wer noch keine Kursplattform hat: LearnWorlds bietet alles, was du zum Erstellen und Verkaufen von Online-Kursen brauchst — inklusive Website, Zahlungsabwicklung und Community — in einem System.

Warum LearnWorlds-Workflows automatisieren?

LearnWorlds ist eine leistungsstarke Plattform für Kursersteller, überlässt dir aber wie die meisten LMS-Tools die Kommunikation nach dem Kauf und CRM-Updates selbst. Das bedeutet: Daten kopieren, E-Mails einzeln versenden, Zahlungen manuell abgleichen. Automatisierung beseitigt diese Reibung vollständig.

  • Konsistenz: Jeder Student bekommt dasselbe hochwertige Onboarding-Erlebnis — egal, wann er sich einschreibt.
  • Geschwindigkeit: Willkommens-E-Mails kommen Sekunden nach der Einschreibung an, nicht Stunden später.
  • Skalierbarkeit: Dein Workflow verarbeitet 1 Einschreibung oder 1.000 mit gleichem Aufwand.
  • Genauigkeit: Keine vergessenen Schritte, keine Tippfehler durch manuelles Kopieren.

Was du brauchst

  • LearnWorlds — deine Kursplattform (Webhooks ab dem Pro-Trainer-Plan verfügbar)
  • n8n — Open-Source-Workflow-Automatisierung mit über 400 Integrationen; kostenlos selbst hosten oder n8n Cloud nutzen
  • Einen E-Mail-Anbieter, der mit n8n verbunden ist (Gmail, SMTP, SendGrid usw.)
  • Optional: Google Sheets, Airtable oder ein CRM für Studentendaten

Schritt 1: LearnWorlds-Webhooks aktivieren

LearnWorlds sendet Echtzeit-Ereignisdaten per Webhook, sobald etwas Wichtiges passiert — ein Student schreibt sich ein, eine Zahlung geht ein oder ein Kurs wird abgeschlossen. So richtest du das ein:

  1. Gehe in dein LearnWorlds-Admin-Dashboard und navigiere zu Einstellungen → Integrationen → Webhooks.
  2. Klicke auf Webhook hinzufügen.
  3. Wähle die Ereignisse, auf die du reagieren möchtest. Für diesen Workflow: user.enrolled und payment.completed.
  4. Füge deine n8n-Webhook-URL als Endpunkt ein (du erstellst sie im nächsten Schritt).
  5. Speichern und Webhook aktivieren.

Schritt 2: n8n-Webhook-Trigger erstellen

Erstelle in n8n einen neuen Workflow und füge einen Webhook-Node als Trigger hinzu.

  • Setze die Methode auf POST.
  • Kopiere die generierte Webhook-URL und füge sie in LearnWorlds ein (Schritt 1, Punkt 4).
  • Nutze den Test-Webhook-Button in n8n, dann löse ein Testereignis in LearnWorlds aus, um die Verbindung zu prüfen und die JSON-Nutzlast zu inspizieren.

Die Nutzlast enthält Felder wie student_email, student_name, course_title, payment_amount und event_type. Notiere dir diese Feldnamen — du wirst sie im gesamten Workflow referenzieren.

Schritt 3: Ereignisse mit einem Switch-Node weiterleiten

Da du mehrere Ereignistypen empfängst, füge nach dem Webhook-Trigger einen Switch-Node ein, der jedes Ereignis in den richtigen Zweig leitet:

  • Zweig 1: event_type ist user.enrolled → Willkommens-E-Mail senden
  • Zweig 2: event_type ist payment.completed → Zahlungsbestätigung senden
  • Zweig 3 (optional): Alle anderen Ereignisse → in Google Sheets protokollieren

Schritt 4: Willkommens-E-Mail-Zweig aufbauen

Im Einschreibungszweig fügst du einen E-Mail-Node ein (z. B. Gmail, E-Mail senden per SMTP oder SendGrid):

  • An: {{ $json.student_email }}
  • Betreff: Willkommen bei {{ $json.course_title }}, {{ $json.student_name }}!
  • Inhalt: Schreibe eine herzliche, markenkonforme Willkommensnachricht. Füge den Kurs-Zugangslink, Startanweisungen und deinen Support-Kontakt ein. Nutze n8n-Ausdrücke, um jeden Bereich dynamisch zu personalisieren.

Nach dem E-Mail-Node kannst du optional einen Google-Sheets-Node anhängen, um die Studentendaten in eine Tracking-Tabelle zu schreiben, oder einen Slack-Node, um dein Team in einem dedizierten Kanal zu benachrichtigen.

Schritt 5: Zahlungsbestätigungs-Zweig aufbauen

Im Zahlungszweig konfigurierst du einen zweiten E-Mail-Node:

  • An: {{ $json.student_email }}
  • Betreff: Zahlung eingegangen — {{ $json.course_title }}
  • Inhalt: Bestätige den gezahlten Betrag, füge eine Bestellreferenz ein und weise den Studenten darauf hin, wo er auf den Kurs zugreift. Ergänze bei Bedarf einen Hinweis zu deiner Rückgaberichtlinie.

Diesen Zweig kannst du erweitern, um einen CRM-Datensatz zu aktualisieren, eine Stripe-Rechnungsabfrage auszulösen oder den Studenten in eine E-Mail-Sequenz in deinem Marketing-Tool aufzunehmen.

Schritt 6: Fehler sauber abfangen

Produktions-Workflows brauchen Fehlerbehandlung. In n8n:

  • Aktiviere Retry on Fail bei kritischen Nodes wie dem E-Mail-Sender.
  • Erstelle einen Error-Trigger-Workflow, der dir eine Alert-E-Mail oder Slack-Nachricht sendet, wenn ein Node fehlschlägt.
  • Nutze den IF-Node, um zu prüfen, dass Pflichtfelder (wie student_email) nicht leer sind, bevor du eine E-Mail versendest.

Schritt 7: End-to-End testen und aktivieren

Bevor du live gehst:

  • Schreibe ein Testkonto in deinen LearnWorlds-Kurs ein und prüfe, ob die Willkommens-E-Mail korrekt personalisiert ankommt.
  • Nutze den Testzahlungsmodus von LearnWorlds, um ein payment.completed-Ereignis auszulösen, und verifiziere die Bestätigungs-E-Mail.
  • Prüfe dein Google-Sheets-Protokoll (falls genutzt), ob Zeilen korrekt ergänzt werden.
  • Wenn alles stimmt, schalte den n8n-Workflow von Test auf Aktiv.

Ideen zur Erweiterung des Workflows

  • Kursabschluss-E-Mails: Höre auf das course.completed-Ereignis und sende eine Glückwunsch-E-Mail mit Zertifikatslink.
  • Re-Engagement-Sequenzen: Hat sich ein Student 7 Tage nicht eingeloggt, löse eine Erinnerungs-E-Mail aus (n8n mit Schedule-Trigger und LearnWorlds-API-Call kombinieren).
  • Upsell-Automatisierung: Nach Kursabschluss automatisch eine E-Mail mit deinem nächsten Kurs versenden.
  • Zahlungsfehler-Handling: Höre auf fehlgeschlagene Zahlungsereignisse und sende eine freundliche Nachfolge-E-Mail mit einem Wiederholungslink.

Zusammenfassung

Mit LearnWorlds-Webhooks und n8n baust du an einem Nachmittag ein vollständig automatisiertes Kommunikationssystem für deine Studierenden. Willkommens-E-Mails, Zahlungsbestätigungen, Team-Benachrichtigungen und CRM-Updates laufen sofort und konsistent — ohne dass du nach dem Setup noch einen Finger rühren musst. Der Workflow wächst mit deinem Kursgeschäft und kann jederzeit um neue Zweige erweitert werden.

Wenn du deinen Kurs launchen und Studenten-E-Mails sowie Zahlungsworkflows vollautomatisch laufen lassen möchtest, kannst du über n8n deine Automatisierungen aufbauen und betreiben — inklusive über 400 Integrationen und kostenlosem Self-Hosting — und so deine Zeit fürs Wesentliche nutzen.