This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Notification for Telegram

Notification for Telegram

Sends notifications to Telegram users or groups, when some events occur in WordPress.

4K+ active installs
4.9
(68 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Notification for Telegram running.

WordPress compatibility
Tested to 7.0.2
Tested against the WordPress branch in use today.
Last updated
2 months ago
At least 3.4 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.4
Your host must be running at least this version.
Requires WordPress
4.0
Contributors
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.

4K+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Notification for Telegram is looked after — not on how many stores run it.

99

out of 100
Well maintainedSome ratings or support history.

Maintenance
35 / 35
Updated 72 days ago.
WordPress compatibility
20 / 20
Tested to WP 7.0.2 (current).
Support responsiveness
Not enough data
Only 1 support thread(s) — not enough to judge.
Merchant satisfaction
14 / 15
4.9/5 across 68 rating(s).
Listing transparency
10 / 10
Provides: screenshots, description, homepage
1 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-01 from the WordPress.org plugin registry.
Ratings

4.9

68 ratings
5★66
4★1
3★0
2★0
1★1
Every rating WordPress.org holds for this plugin, not a sample. Written reviews live in the plugin's WordPress.org reviews forum.

The “Notification for Telegram” plugin for WordPress is a tool that allows you to send notifications and messages to a Telegram channel, group or user/s when specific events occur on your WordPress site.
This plugin is useful for monitoring critical events on your site, such as new comments, new user registrations, publishing activities, New forms sent,Woocommerce and Surecart orders, cart and lowstock, Mailchimp and more, by sending notifications directly to a Telegram channel or group or user/s of your choice. It also offers a shortcode to send Telegram notifications on every page of your website or in your code.

Receive Telegram messages notification when:

  • When receive a new order in Woocommerce.
  • When a Woocommerce order change status.
  • When receive a new order in Surecart.
  • Every event captured by WP Activity Log plugin
  • New field in Woocommerce checkout page let customers add the own telegram nickname
  • Low Stock Product notifications when a product is low stock conditions.
  • Shows Telegram Nick link in admin order details page when present
  • When receive new forms (supports Elementor Pro Form, WPForm , CF7 and Ninjaform)
  • When new user subscribes or unsubscribes to mailchimp. MC4WP integration
  • When new user registers. Helps identify unauthorized or suspicious registrations.
  • When users login or fail login.
  • When new comment is posted.
  • When someone adds or remove a product in the Woocommerce cart.
  • When a new Pending posts is received. (works with any post type)
  • Say function to speak to make the bot say Something to the people
  • Cron job detect and notify when Plugins & Core need to update.
  • Send custom message with Shortcode anywhere in your WP.
  • Should Work on Multisite

You can enable/disable every notification in the Plugin settings page.

To configure the plugin, you need a valid Telegram API token. Its easy to get starting a Telegram Bot.
You can learn about obtaining tokens and generating new ones in

Setup Guide

A complete step-by-step guide is available here:
View the full documentation

To get your Bot Token, you can refer to one of these resources:

  • Official Telegram documentation
  • Step-by-step guide on Medium

To get your Chat ID, you need at least one recipient ID. You can retrieve it using one of these bots directly in Telegram:

  • @get_id_bot — send /start and it will reply with your personal Chat ID
  • @RawDataBot — send any message and it will return your full account info including your ID

For Channel and Group Chatid settings see the FAQ section.

Once You got the 2 fields save the configuration and try the “TEST” button .. you should receive a message in you telegram : “WOW IT WORKS” !! If not, check token and chatid fields again for the correct values.

this plugin is relying on a 3rd party service to geolocate the Ip address https://ip-api.com/
https://ip-api.com/docs/legal to see the services’ a terms of use and/or privacy policies

AI & MCP Compatible

This plugin supports the WordPress Abilities API and is compatible with
MCP (Model Context Protocol) — the standard that allows AI agents like
Claude, ChatGPT, and others to interact with WordPress autonomously.

If the Abilities API and MCP Adapter plugins are installed, any
authorized AI agent can automatically discover and use the
Send Telegram Message ability — no extra configuration needed.

What an AI can do with this plugin:
* Send a Telegram message with custom text
* Add an inline button with label and URL
* Override the default chat ID

Requirements for MCP

WordPress 7.0+ (Abilities API built-in)
Plugin: MCP Adapter
Enable “AI / MCP” in the plugin settings

WordPress 6.9 compatibility

WordPress 6.9+
Plugin: Abilities API
Plugin: MCP Adapter

MESSAGES TRANSLATION

To translate Telegram messages, use WPML or Loco Translate. All notification strings are now translatable.
Go to Loco Translate → Plugins → Notification for Telegram to add your translations.
For WPML, ensure String Translation is enabled to modify notification texts.

ACTION HOOK for third-party Plugin

Notification for Telegram (version > 3.5.1) exposes a dedicated action hook so any third-party plugin can send messages without calling internal functions directly.
Basic usage:
do_action( ‘nftb_send_message’, ‘Your message here’ );

Look FAQ Section for more esamples.

SHORTCODE EXAMPLE

[telegram_mess  message="Im so happy" chatids="0000000," token="000000000:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" showsitename="1" showip="1" showcity="1" ]

SHORTCODE OPTIONS:

  • message : Your message to be sent. Example (message=”hello world”)

  • chatids : Recipient(s) who will receive your message separated by comma (example chatids=”0000000,11111111″) , If not present this field the shortcode will use default value in Plugin option page.

  • token: The token looks something like 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
    If not present this field, the shortcode will use default value in Plugin option page.

  • showsitename: if set to “1” appends sitename after the message. Defaultvalue is “0” Example (showsitename=”1″)

  • showip: if set to “1” appends user ip address after the message. Default value is “0” Example (showip=”1″)

  • showcity: if set to “1” appends user city name after the message. Default value is “0” Example (showcity=”1″)

USE SHORTCODE IN YOU PHP CODE

<?php

$date = date("d-m-Y");

do_shortcode('[telegram_mess  message="'.$date .'" chatids="0000000," token="000000000:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" showsitename="1" showip="1" showcity="1" ]'); 

?><h3>WOOCOMMERCE FILTER HOOKS</h3>

We have created 4 filter hooks for WooCommerce order notification message. 4 new positions: Message Header, Message Footer, before Items, and after Items. And we have created a filter through which you can add custom code to product rows, and if you want, you can replace and customize the entire row. :

4 new Positions and code axample ( echo payment_status in the 4 positions)

<?php
add_filter('nftb_order_header_message_hook', 'my_filter_function', 10, 1); 
add_filter('nftb_order_before_items_hook', 'my_filter_function', 10, 1);
add_filter('nftb_order_after_items_hook', 'my_filter_function', 10, 1);
add_filter('nftb_order_footer_message_hook', 'my_filter_function', 10, 1);

function my_filter_function($order_id) {
  $order = wc_get_order($order_id);
  if ($order) {
      // Get order details
      $order_data = $order->get_data();

      // Extract specific order information

      $payment_status = $order->get_status();
      $payment_method = $order->get_payment_method();  
  }
  return  "\r\n\r\n".$payment_method."(".$payment_status.")\r\n" ;
}
?>

Product rows Filter with 2 different behaviors ADD or REPLACE LINE

<?php
add_filter('nftb_order_product_line_hook', 'my_item_line_function', 10, 3);

function my_item_line_function($message ,$product_id, $item) {

    // ADD SOME CODE $product_id TO ORIGINAL row $message.
    $modified_data = $message. "->".$product_id. "\r\n";

    // REPLACE Product ITEM LINE CODE WITH YOUR CODE  without concatenate $message.
    $modified_data = $product_id. "\r\n";

    return $modified_data;
} 
?><h3>USER LOGIN FILTER HOOKS</h3>
<?php
// Triggered on successful user login
add_filter( 'nftb_login_notification', 'custom_message_modifier', 10, 1 );

// Triggered on new user registration
add_filter( 'nftb_user_registered_notification', 'custom_message_modifier', 10, 1 );

// Triggered when an existing user fails to login
add_filter( 'nftb_existing_user_fails_login_notification', 'custom_message_modifier', 10, 1 );

// Triggered when an unknown user fails to login
add_filter( 'nftb_unknown_user_fails_login_notification', 'custom_message_modifier', 10, 1 );

// Example: append the user registration date to the notification
function custom_message_modifier( $user_id ) {
    $user_info = get_userdata( $user_id );

    if ( $user_info ) {
        $registration_date = $user_info->user_registered;
        $timestamp         = strtotime( $registration_date );

        $formatter = new IntlDateFormatter( 'en_US', IntlDateFormatter::LONG, IntlDateFormatter::LONG, 'UTC' );
        $formatter->setPattern( 'd MMMM y HH:mm:ss' );

        $formatted_date = $formatter->format( $timestamp );
        $message = "\r\n\r\nUser Registration Date: " . $formatted_date . "\r\n\r\n";
    } else {
        $message = "\r\nNo info available for this user.\r\n";
    }

    return $message;
}
?><h3>LEGACY FUNCTIONS (kept for backward compatibility)</h3>

Before hooks were introduced, 3 overridable functions allowed message customization without editing plugin code. These are still supported but we encourage migrating to hooks.

1) Before the product list — example: prepend the Order ID

<?php
function nftb_order_before_items( $order_id ) {
    return "ORDER ID: " . $order_id;
}
?>

2) After the product list — example: append the order currency

<?php
function nftb_order_after_items( $order_id ) {
    $order = wc_get_order( $order_id );
    $data  = $order->get_data();
    return "Currency: " . $data['currency'];
}
?>

3) At the end of each product line — example: append the product slug

<?php
function nftb_order_product_line( $product_id, $item ) {
    $product = wc_get_product( $product_id );
    return " | " . $product->get_slug() . " ";
}
?>

Suggestions for new notifications, hooks, and plugin integrations are always welcome!

How do I obtain a Telegram Bot Token?

When you create a Telegram bot, BotFather generates a unique token for you. BotFather (@botfather) is the official Telegram bot for creating and managing bots — search for it directly inside Telegram.

Creating a new bot

  1. Open Telegram and search for @botfather.
  2. Send the command /newbot.
  3. BotFather will ask you for two things:
    • Name — the display name shown in contact details and conversations (e.g. “My Awesome Bot”).
    • Username — a short unique handle used in mentions and t.me links (e.g. @my_awesome_bot). Usernames must be 5–32 characters long, can only contain Latin letters, numbers and underscores, and must end in “bot”.
  4. Once created, BotFather will provide your authorization token.

What does a token look like?

A token is a string in this format:
110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw

This token is required to authorize your bot and send requests to the Telegram Bot API. Keep it private — anyone who has it can take full control of your bot.

What if I lose my token or it gets compromised?

Send the /token command to @botfather, select your bot, and it will generate a new token. The old one will be immediately invalidated.

How do I find my personal Telegram Chat ID?

There are two quick ways:

  1. Search for @userinfobot or @get_id_bot on Telegram, send /start and the bot will instantly reply with your numeric user ID (e.g. 29627823).
  2. Search for @RawDataBot (https://t.me/RawDataBot), send any message, and it will reply with your full account info including your ID.

How do I find the Chat ID of a group?

  1. Add your bot to the group as a member.
  2. Send any message in the group (or type /start@yourbotname).
  3. Open the following URL in your browser, replacing with your bot token:
    https://api.telegram.org/bot/getUpdates
  4. Look for the “chat” object in the JSON response — the “id” field is your group Chat ID. Group IDs are always negative numbers (e.g. -1001234567890).

Note: if the result is empty, make sure you sent a message after adding the bot, then refresh the URL.

How do I find the Chat ID of a channel?

  1. Add your bot to the channel and assign it Administrator privileges.
  2. Post any message in the channel.
  3. Open the following URL in your browser:
    https://api.telegram.org/bot/getUpdates
  4. Find the “chat” object in the JSON — the “id” is your channel Chat ID. Channel IDs always start with -100 (e.g. -1009876543210).

Is there a universal method that works for users, groups and channels?

Yes. Add @RawDataBot (https://t.me/RawDataBot) to your group or channel (as admin), or simply message it privately. Send any message and it will reply with a full JSON breakdown of the chat, including the exact Chat ID you need.

My getUpdates response is empty — what should I do?

This usually means no messages have been sent to the bot recently. Try the following:
1. Make sure the bot has been added to the chat.
2. Send a new message in the chat (or write directly to the bot in a private conversation).
3. Reload the getUpdates URL in your browser.
If the response is still empty, check that no other application is consuming the bot updates (e.g. a webhook that is already set — in that case you need to delete it first via /deleteWebhook).

Can i insert more than one recipient chatid?

Yes you can add more than one chattid separated by a comma (,)
both in option page and in the shortcode.

Does this plugin support AI agents and MCP?

Yes! Starting from version 3.5, this plugin supports the WordPress Abilities API
and is compatible with MCP (Model Context Protocol), the open standard that allows
AI agents like Claude, ChatGPT, and others to interact with WordPress autonomously.

What do I need to enable MCP support?

You need to install two additional free plugins:
* Abilities API — github.com/WordPress/abilities-api/releases
* MCP Adapter — github.com/WordPress/mcp-adapter/releases

Once both are active, the “Send Telegram Message” ability is automatically
available to any authorized AI agent. No extra configuration needed.

How does an AI agent authenticate?

Via WordPress Application Passwords — go to Users → Your Profile →
Application Passwords, create one, and use it in your MCP client configuration.
Your main password is never exposed.

What can an AI agent do with this plugin?

An authorized AI agent can:
* Send a Telegram message with custom text
* Include an optional inline button with label and URL
* Target a specific Telegram chat ID, overriding the default

How can I test the MCP integration without an AI?

You can test everything for free using curl from your terminal.

First, make sure the plugin is configured and the built-in “Send Test Message”
button works correctly in the plugin settings.

Then run these commands in order:

Step 1 — Initialize the session and get the Session ID:

curl -X POST “https://YOURSITE.com/wp-json/nftb-telegram/mcp” \
-H “Content-Type: application/json” \
-u “ADMIN:APP_PASSWORD” \
-D – \
-d ‘{“jsonrpc”:”2.0″,”id”:1,”method”:”initialize”,”params”:{“protocolVersion”:”2024-11-05″,”capabilities”:{},”clientInfo”:{“name”:”test”,”version”:”1.0″}}}’

Look for the Mcp-Session-Id value in the response headers and copy it.

Step 2 — Verify the tool is available:

curl -X POST “https://YOURSITE.com/wp-json/nftb-telegram/mcp” \
-H “Content-Type: application/json” \
-H “Mcp-Session-Id: YOUR-SESSION-ID” \
-u “ADMIN:APP_PASSWORD” \
-d ‘{“jsonrpc”:”2.0″,”id”:2,”method”:”tools/list”,”params”:{}}’

You should see “notification-for-telegram-send-message” in the response.

Step 3 — Send a real Telegram message via MCP:

curl -X POST “https://YOURSITE.com/wp-json/nftb-telegram/mcp” \
-H “Content-Type: application/json” \
-H “Mcp-Session-Id: YOUR-SESSION-ID” \
-u “ADMIN:APP_PASSWORD” \
-d ‘{“jsonrpc”:”2.0″,”id”:3,”method”:”tools/call”,”params”:{“name”:”notification-for-telegram-send-message”,”arguments”:{“message”:”🤖 MCP is working!”}}}’

If the message arrives in your Telegram chat — everything is working correctly.

APP_PASSWORD = a WordPress Application Password (Users → Your Profile → Application Passwords).

Is MCP support stable?

This feature is currently experimental. We welcome feedback and bug reports —
if you test it, please leave a review or open an issue on the plugin’s GitHub page.

Where can I find the MCP endpoint?

Once the required plugins are installed, your MCP endpoint will be available at:
https://yoursite.com/wp-json/nftb-telegram/mcp

Can I send Telegram messages from my own plugin?

Yes! Notification for Telegram exposes a dedicated action hook so any third-party plugin can send messages without calling internal functions directly.

Basic usage:
do_action( ‘nftb_send_message’, ‘Your message here’ );

With an inline button link:
do_action( ‘nftb_send_message’, ‘New order received!’, ‘View Order’, ‘https://yoursite.com/order/123’ );

With a custom Chat ID:
do_action( ‘nftb_send_message’, ‘Your message’, ”, ”, ‘123456789’ );

Parameters:
1. $message — (string) required — the text to send
2. $urlname — (string) optional — label of the inline button
3. $urllink — (string) optional — URL of the inline button
4. $chatid — (string) optional — override the default Chat ID from settings

Always check the plugin is active before using the hook:
if ( is_plugin_active( ‘notification-for-telegram/index.php’ ) ) {
do_action( ‘nftb_send_message’, ‘Hello from my plugin!’ );
}

Categories
AI assistants & chatbotsEmail & SMSChat & messaging
Plugin details
Version3.5.2
Last updated2026-05-21 12:12pm GMT
Added2020-09-17
Requires WordPress4.0
Tested up to7.0.2
Requires PHP7.4

Tags on WordPress.org
AI
mcp
notification
telegram
woocommerce
Alternatives
Other plugins in the same categories.
MxChat – AI Chatbot & Content Generation for WordPress
2K+ installs
5.0(29)
BotWriter – AI Writer & SEO Content Generator
3K+ installs
4.4(16)
AxiaChat AI – Free AI Chatbot (Answers Customers Automatically)
1K+ installs
5.0(12)
AI ChatBot for WooCommerce – WoowBot
900+ installs
4.8(19)
Live Chat & AI Chatbot – onWebChat
700+ installs
4.7(24)
Ultimate FAQ Solution
600+ installs
4.9(10)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy