Instant Notification for New WooCommerce Orders via Telegram - n8n Workflow

Automate instant Telegram notifications for new WooCommerce orders using a robust n8n workflow. Track sales in real-time with this essential n8n template.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

WooCommerce store owners needing real-time sales alerts.
E-commerce administrators who want mobile notifications for new transactions.
Users looking for production-ready n8n templates to handle webhooks efficiently.
Developers configuring low-latency business process automation using n8n.

Overview

This highly practical n8n workflow solves the common problem of slow order fulfillment communication. Instead of relying on delayed email notifications or constantly checking the admin dashboard, this automation ensures that your sales team or operations manager receives an immediate, detailed notification via Telegram the moment a new order is placed in WooCommerce. This specific n8n workflow improves operational efficiency by providing key details—order total, status, and a detailed product list—right in the chat, along with a direct button link to view the order details instantly. It is a robust example of how to configure an n8n trigger for external systems, creating a reliable e-commerce notification system.

How it Works

This automation sequence starts with a dedicated n8n trigger listening for specific changes in your e-commerce store and culminates in a rich notification.


  1. Start with the n8n Trigger: The n8n workflow begins execution when the WooCommerce Trigger n8n node successfully receives a webhook event. This n8n trigger is configured to listen specifically for the order.created event, ensuring immediate action upon a new sale.

  2. Data Ingestion and Mapping: Upon receiving the event, the webhook payload (containing all order details like customer info, line items, and totals) is automatically passed to the next n8n node.

  3. Notification Formatting: The Telegram n8n node utilizes a custom expression template. It dynamically formats the raw JSON data into a clean, readable message, summarizing the order number, total, date, status, and a bulleted list of purchased products by iterating over the lineitems array.

  4. Interactive Action: A crucial feature of this n8n workflow is the inclusion of an inline keyboard button titled "View Order." This button dynamically uses the order's provided paymenturl field to give the user a one-click link back to the WooCommerce dashboard for immediate review.

  5. Final Delivery: The fully structured message is securely sent by the Telegram n8n node to the configured Telegram chatId (user or group).

Installation Guide

To deploy this powerful n8n workflow template, follow these steps, paying close attention to credential and chat ID configuration:


  1. Importing the n8n workflow: Copy the provided n8n JSON code and import it into your n8n instance using the 'New' > 'Import from JSON' function.

  2. WooCommerce Credentials: Set up or update the WooCommerce API credentials for the WooCommerce Trigger n8n node. You will need your Consumer Key, Consumer Secret, and the Base URL of your WooCommerce shop. Ensure your API keys have read permissions for orders.

  3. Telegram Configuration: Set up the required Telegram API credentials for your bot in the Telegram n8n node.

  4. Target Chat ID: In the Telegram n8n node, replace the placeholder chatId with your personal Telegram user ID or the ID of the group/channel where you wish the notifications to appear. Your bot must be added and configured as an administrator in the group.

  5. Webhook Activation: Save the n8n workflow and activate it. The WooCommerce Trigger will generate a unique webhook URL. Copy this URL and paste it into your WooCommerce settings under Webhooks (typically found in WooCommerce > Settings > Advanced > Webhooks), ensuring the webhook fires on the 'Order Created' event.

Node Details

WooCommerce Trigger (n8n node):
Function: The starting n8n trigger of this automation. It initiates the n8n workflow upon external events.
Key Configuration: Set to trigger specifically on the order.created event. It uses dedicated WooCommerce API credentials to register the necessary webhook on your e-commerce platform.
Telegram (n8n node):
Function: Handles the secure transmission and detailed formatting of the order alert to the designated chat.
Key Configuration: Uses a dynamic text template that pulls order information ($json.id, $json.total, $json.status, and date). Crucially, it includes an inline keyboard button dynamically linking to the {{ $json.payment_url }} field, ensuring a seamless one-click transition from the n8n workflow notification to the full order details.

Related n8n Workflows

Free

Nodes: 3 Nodes
Updated: December 26 2025
View all
Created by
Mohammadreza azari
Mohammadreza azari

Featured*