Skip to content
DevOps Easy Learning

AI-Powered DevOps Automation with n8n

Self-host n8n and Mattermost, automate deployments, Kubernetes alerts, incidents and reports, then add AI summaries safely: redacted logs, labelled drafts and a human who decides.

New course1 learner

Created by DevOps Easy Learning · Designed by Tia

Updated Nov 27, 2026EnglishIntermediate3 h 53 min

$4.99

Secure checkout with Stripe. 12 months of access, not lifetime.

Refunds: · Policy

This course includes

  • 3 h 53 min of on-demand video
  • English captions (off until you turn them on)
  • 12 short quizzes with explanations
  • Downloadable lab files
  • Watch on desktop or mobile
  • 12 months of access from purchase
  • Certificate of completion

What you’ll learn

  • Deploy n8n and Mattermost with Docker Compose, locally or on an AWS EC2 VM created with Terraform, and keep their data
  • Create Mattermost channels and incoming webhooks, and keep webhook URLs and secrets out of your workflows
  • Build n8n workflows with triggers, nodes, expressions and executions, and publish them to run on their own
  • Send green and red deployment notifications from a CI pipeline through a token-protected webhook
  • Make workflows fail safely with retries, fallback paths, error workflows and step-by-step debugging
  • Watch a Kubernetes namespace and post one clear alert per problem, without duplicate floods
  • Turn alerts into incidents with severity, escalation, acknowledgement and resolution
  • Schedule reports that collect deployments, failures and service status every morning
  • Apply sub-workflows, signed webhooks, idempotency, rate limits, pagination and loop guards
  • Run n8n in production with Postgres, queue mode, the encryption key, backups, upgrades and rollback
  • Add AI summaries of failed deployments, errors and incidents with OpenAI: redacted input, labelled drafts, human review
  • Defend AI workflows against secret leaks and prompt injection, and keep an eye on token costs

Course content

4 sections, 27 lectures, 3 h 53 min total

  • What n8n and Mattermost do for a DevOps team7:11
  • Deploy n8n and Mattermost with Docker Compose16:13
  • Set up Mattermost for automation: channels and incoming webhooks17:41
  • Tour n8n and build your first workflows19:09
  • Check your understanding: Tour n8n and build your first workflows
  • Run the automation lab on a cloud VM with Terraform15:55
  • Check your understanding: Run the automation lab on a cloud VM with Terraform

Requirements

  • Comfortable with a terminal and basic Docker commands
  • Docker with the Compose plugin on your computer (about 4 GB of free memory), or a cloud VM where you can install it
  • For the Kubernetes lesson: minikube and kubectl (the lab explains both), or your own EKS or AKS cluster
  • For the AI lesson: your own OpenAI API key with a monthly budget limit set
  • Optional, for the cloud VM lesson: an AWS account with a budget alarm, the AWS CLI and Terraform 1.5 or newer

About this course

Your systems produce events all day: a deployment fails at 3 a.m., a pod keeps crashing, a report is due. In this course you automate the work around those events with n8n, deliver the result where your team already talks (Mattermost), and add AI where it genuinely helps: a model that reads the log and drafts a summary, while a person stays in charge.

What you'll build

  • A self-hosted n8n + Mattermost stack with Docker Compose, on your computer or on an AWS EC2 VM created with Terraform and reached through an SSH tunnel.
  • Deployment notifications from a CI pipeline (with a GitHub Actions example): green or red in the team channel, protected by a secret token.
  • Workflows that fail safely: retries, a fallback path, an error workflow that alerts the team, and node-by-node debugging.
  • Kubernetes alerts for crash loops, stuck rollouts and unschedulable pods, one message per problem, plus a daily namespace health report.
  • Incident management: repeated alerts become one incident with a severity, escalation when nobody acknowledges, and a resolved message.
  • Scheduled reports that collect deployments, failures and service status every morning.
  • AI-assisted workflows with OpenAI: a summary of a failed deployment (what failed, the likely cause, what to check), an error explainer, an incident summary and an AI-written morning report. Secrets, IP addresses and e-mails are redacted before anything is sent, logs are treated as untrusted text (prompt injection), every answer is labelled as a draft with its token cost, and a human reviews it. The AI never changes anything.

Who this course is for

DevOps engineers, SREs and developers who are comfortable with a terminal and Docker and want to automate the notifications, alerts and reports around their systems, and to use AI in those workflows responsibly.

Tools and technologies

n8n, Mattermost, Docker Compose, PostgreSQL, Redis (queue mode), Kubernetes (minikube and kubectl), Alertmanager-style alerts, GitHub Actions (example pipeline), webhooks and HMAC signatures, cron schedules, OpenAI (n8n's AI node; Amazon Bedrock and Azure AI Foundry are explained as alternatives), Terraform and AWS EC2.

How the course is organised

Four sections, from your first workflow to production:

  1. Getting started: what n8n and Mattermost do, deploy both, channels and incoming webhooks, your first workflows, and the same lab on a cloud VM.
  2. Core concepts and your first real automations: n8n vocabulary, deployment notifications, errors, retries and debugging.
  3. DevOps automations in practice: automation and ChatOps vocabulary, Kubernetes alerts, incident management and scheduled reports.
  4. Advanced patterns and production: sub-workflows, signed webhooks, idempotency, rate limits, pagination and loop guards; n8n in production (Postgres, queue mode with workers, the encryption key, backups, upgrades and rollback); and AI-assisted workflows, safely.

Every idea starts with an everyday example, then you see it running live. Each hands-on lesson comes with its slides (PDF) and a lab (ZIP) with the Compose files, scripts and workflows from the video, and most lessons end with a short quiz with the answers explained.

Prerequisites

  • Comfortable with a terminal and basic Docker commands.
  • Docker with the Compose plugin, or a cloud VM where you can install it (the lab needs about 4 GB of free memory).
  • For the Kubernetes lesson: minikube and kubectl (the lab explains both), or your own EKS or AKS cluster.
  • For the AI lesson: your own OpenAI API key, with a monthly budget limit set.
  • For the cloud VM lesson (optional): an AWS account with a budget alarm, the AWS CLI and Terraform 1.5 or newer. A one-hour lab costs a few cents; you delete everything with terraform destroy.

Course designer

Tia

Course designer at DevOps Easy Learning

Questions before you buy

Can I get a refund?

Yes, within 14 days of purchase, if you’ve watched 25% of the course or less, and before a certificate is issued. Your Student Studio shows your deadline and how much you’ve watched; request it from your order page and the money goes back to your card.

How long can I watch it?

12 months from the day you buy it, with no subscription. You get the updates the instructor publishes during that time. Renewing afterwards is optional and never charged automatically, and your progress is kept.

Do I get a certificate?

Yes. When you finish every lesson you get a certificate with a code anyone can verify on this site.

What do I need for the labs?

The labs run on your own computer or cloud account with the downloadable files. You’ll need: Comfortable with a terminal and basic Docker commands; Docker with the Compose plugin on your computer (about 4 GB of free memory), or a cloud VM where you can install it; For the Kubernetes lesson: minikube and kubectl (the lab explains both), or your own EKS or AKS cluster; For the AI lesson: your own OpenAI API key with a monthly budget limit set; Optional, for the cloud VM lesson: an AWS account with a budget alarm, the AWS CLI and Terraform 1.5 or newer.

Are there captions?

Yes, English captions on the lessons. They are off by default; turn them on with the CC button in the player.

Learner reviews

Only learners who enrolled can leave a review.

No reviews yet. Learners who finish the course can rate it here.