Mattermost Notification for Workflow Updates - n8n Workflow

Use this n8n workflow to automatically send a notification to Mattermost whenever the n8n workflow itself is updated or saved. Enhance monitoring using these ready-to-use n8n templates.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

• Automation engineers and DevOps teams needing immediate alerts on n8n workflow configuration changes.
• Teams using n8n for critical services who require audit trail visibility.
• Administrators looking for robust n8n templates to enhance system monitoring.

Overview

Maintaining oversight of operational systems is crucial. This specialized n8n workflow addresses the challenge of monitoring configuration changes within your n8n environment. By leveraging the built-in Workflow Trigger n8n node, this automation acts as a self-monitoring system. Every time the configuration of this n8n workflow is saved or updated, a structured message is immediately sent to a designated Mattermost channel. This provides immediate, non-intrusive feedback on when administrative changes occur, improving accountability and simplifying incident response. This is a vital piece of monitoring logic that enhances your suite of operational n8n templates.

How it Works

This automation uses a specialized n8n trigger to initiate the flow.


  1. Trigger on Update: The primary Workflow Trigger n8n node is configured to listen specifically for the update event pertaining to the current n8n workflow itself. This means the automation executes only when a user saves changes to this specific n8n workflow.

  2. Notification Action: Upon triggering, the flow immediately executes the Mattermost n8n node.

  3. Message Delivery: The Mattermost n8n node uses the workflow's dynamic data ($workflow.name) to construct a clear message: "The workflow [Workflow Name], was updated."

  4. Alert Sent: This notification is delivered to the configured Mattermost channel, effectively alerting the relevant team about the modification of the n8n workflow. (Note: A secondary Webhook flow exists, leading to a Set n8n node, but the core functionality described relies entirely on the Workflow Trigger to Mattermost path.)

Installation Guide

To deploy and use this n8n workflow template, follow these steps:


  1. Import the JSON: Copy the provided n8n workflow JSON data and paste it into your n8n instance using the 'New' -> 'Import from JSON' option.

  2. Configure Credentials: You must set up your Mattermost API credentials. Click on the Mattermost n8n node, select 'Mattermost API' under 'Credentials,' and configure your access token and URL if necessary.

  3. Set Channel ID: In the Mattermost n8n node, replace the placeholder Channel ID (toyi3uoycf8rirtm7d5jm15sso) with the actual ID of the Mattermost channel where you want to receive update notifications.

  4. Activate the Workflow: Save the n8n workflow and ensure it is active. The next time you save a change to this n8n workflow, the n8n trigger will fire and send a notification.

Node Details

This n8n workflow utilizes the following key n8n node components:

Workflow Trigger n8n node (Events: Update):
Function: Serves as the self-monitoring n8n trigger. It listens for when the current n8n workflow definition is updated or saved.
Key Configuration: The events parameter is strictly set to update, ensuring the flow only runs when the n8n workflow changes.

Mattermost n8n node:
Function: Responsible for connecting to the Mattermost API and delivering the notification message.
Key Configuration: The message uses an expression to dynamically pull the name of the workflow (=The workflow {{$workflow.name}}, was updated.). Requires proper Mattermost API credentials and a valid Channel ID.

Webhook n8n node (Optional/Legacy Flow):
Function: Listens for external HTTP calls. While present, this flow is currently disconnected from the notification chain.

Set n8n node (Optional/Legacy Flow):
Function: Sets a static value ('Hello!'). This n8n node is a placeholder following the Webhook and does not impact the main monitoring functionality.

Related n8n Workflows

Free

Nodes: 4 Nodes
Updated: December 26 2025
View all
Created by
ghagrawal17
ghagrawal17

Featured*