Notification for Telegram
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 WOOCOMMERCE FILTER HOOKS 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) 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 ".$product_id. "\r\n"; // REPLACE Product ITEM LINE CODE WITH YOUR CODE without concatenate $message. $modified_data = $product_id. "\r\n"; return $modified_data; } ?> USER LOGIN FILTER HOOKS 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; } ?> LEGACY FUNCTIONS (kept for backward compatibility) 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 2) After the product list — example: append the order currency get_data(); return "Currency: " . $data['currency']; } ?> 3) At the end of each product line — example: append the product slug get_slug() . " "; } ?> Suggestions for new notifications, hooks, and plugin integrations are always welcome!
Top keywords
- message23×2.09%
- telegram18×1.63%
- product12×1.09%
- user10×0.91%
- example9×0.82%
- id9×0.82%
- send9×0.82%
- notification8×0.73%
- order8×0.73%
- code7×0.63%
- mcp7×0.63%
- shortcode7×0.63%
Smart Marketing SMS and Newsletters Forms
🇵🇹 VERSÃO EM PORTUGUÊS (PT-PT) E-goi Smart Marketing: O Motor de Crescimento All-in-One para o Seu WordPress! Cansado de ter contactos no seu site que nunca se transformam em vendas? O plugin E-goi Smart Marketing SMS and Newsletters Forms é o seu atalho para o sucesso, transformando o seu website WordPress ou loja WooCommerce numa máquina de marketing e automação integrada. Venda mais, recupere vendas perdidas e automatize a sua comunicação, tudo a partir de um só lugar! 💡 PORQUÊ INICIAR OU MUDAR PARA O E-GOI SMART MARKETING? 1. Captação Múltipla e Compatibilidade Total Chega de widgets, pop-ups e shortcodes de diferentes ferramentas! Simplifique a sua gestão e capte contactos de forma eficaz, em qualquer canal: Captação: Crie Pop-ups, Formulários Simples e Complexos, Widgets e Barra de Subscrição — tudo a partir de um único painel. Comunicação: Use o Connected Sites para ligar o seu site a canais como Web Push, SMS e E-mail. Compatibilidade: Garanta que os seus formulários e elementos de design funcionam com Elementor, Gutenberg, WPBakery Page Builder, Contact Form 7 e Gravity Forms. 2. Integração Profunda com WooCommerce (Track & Engage) O E-goi oferece uma integração de dados de compra profunda para automações que geram receita: Vendas Perdidas: Ative o Track & Engage para monitorizar Carrinhos Abandonados e comportamento de navegação, permitindo automações de recuperação por E-mail e SMS. Visão 360º da Encomenda: Sincronize Produtos e utilize o Converter Encomendas (API Backend) para registar no E-goi o estado exato de todas as compras. Conteúdo Automatizado: Envie campanhas de e-mail sobre um produto automaticamente (requer WooCommerce). 3. Entregabilidade Essencial com E-mail Transacional (SMTP) O seu marketing é inútil se os e-mails não chegarem. Confie a sua reputação de remetente a quem sabe: Fim ao SPAM: Utilize o E-mail Transacional (SMTP) do E-goi para processar todos os e-mails críticos do WordPress e WooCommerce. Relatórios: Melhore a sua taxa de entregabilidade e aceda a relatórios detalhados de envios, aberturas e cliques. 4. Automação Simples e Poderosa com RSS Feed Mantenha a sua audiência a par das novidades, sem ter de criar e-mails manualmente todas as semanas: Feeds Personalizados: Crie RSS Feeds por Categorias, Tags ou Tipo (Artigos/Produtos). Campanhas Automáticas: Transforme esses Feeds em Campanhas RSS Feed automáticas. Conformidade: Garanta a qualidade e a segurança dos seus dados com Double Opt-in (RGPD). Novidades: Conversão de Encomendas (API Backend): Monitorização e sincronização dos estados de encomenda (“Criada”, “Pendente”, “Cancelada”, “Completa” e “Desconhecida”) diretamente com o E-goi. Funcionalidades: Geral: 100% Gratuito, Sincronização automática de contactos, Connected Sites, E-goi Track & Engage, Bloco E-goi para Gutenberg. Captação de Leads: Formulários Simples, Formulários Múltiplos, Barra de Subscrição, Formulários Pop-up, Formulários Widgets. Automação & E-commerce: Conversão de encomenda por estado (API Backend), Campanha E-mail com publicação de artigo, Sincronização produtos Woocommerce. Canais & Conteúdo: Notificações Web Push, RSS Feed por categorias, tags ou produtos. E-mail Transacional (SMTP) E-goi: Envio de todos os e-mails do WordPress e WooCommerce pelo E-goi, com melhor entregabilidade. Compatibilidade: Integração com WooCommerce, CF7, Gravity Forms, Elementor, WPBakery Page Builder. Conformidade: Opção de validação dos contactos com Double Opt-in (RGPD), Associação de Tags a formulários. Add-on: Plugin E-goi SMS Orders Alert/Notifications Requisitos: Plano E-goi com acesso a sua API Key. WordPress na versão 4.7 ou superior. Já tem uma conta E-goi? Criar conta E-goi gratuita 🇬🇧 ENGLISH VERSION (EN-EN) E-goi Smart Marketing: The All-in-One Growth Engine for Your WordPress! Tired of having contacts on your site that never turn into sales? The E-goi Smart Marketing SMS and Newsletters Forms plugin is your shortcut to success, transforming your WordPress website or WooCommerce store into an integrated marketing and automation machine. Sell more, recover lost sales, and automate your communication, all from one place! WHY SWITCH TO E-GOI SMART MARKETING? 1. MULTIPLE LEAD CAPTURE AND FULL COMPATIBILITY No more widgets, pop-ups, and shortcodes from different tools! Simplify your management and capture contacts effectively, across any channel: Multiple Capture: Create Pop-ups, Simple and Complex Forms, Widgets, and Subscription Bar — all from a single panel. Immediate Communication: Use Connected Sites to link your site to multiple E-goi channels, such as Web Push, SMS, and E-mail, re-engaging visitors wherever they are. Full Compatibility: Ensure your forms and design elements work with Elementor, Gutenberg, WPBakery Page Builder, Contact Form 7, and Gravity Forms. 2. DEEP WOOCOMMERCE INTEGRATION (TRACK & ENGAGE) Go beyond the basics. E-goi offers deep purchase data integration for automations that generate revenue: Lost Sales Automation: Activate Track & Engage to monitor Abandoned Carts and real-time browsing behavior, enabling recovery automations via E-mail and SMS. 360º Order View: Synchronize Products and use the Order Conversion (API Backend) to record the exact status of all purchases in E-goi (“Created”, “Pending”, “Canceled”, “Completed” or “Unknown”), allowing for highly segmented post-purchase automations. Automated Content: Send e-mail campaigns about a product automatically as soon as you publish a new article (requires WooCommerce). 3. ESSENTIAL DELIVERABILITY WITH TRANSACTIONAL E-MAIL (SMTP) Your marketing is useless if the emails don’t arrive. Trust your sender reputation to the experts: End SPAM: Use E-goi’s Transactional E-mail (SMTP) to process all critical emails from WordPress and WooCommerce (password recovery, order confirmations). Reports and Trust: Improve your deliverability rate and access detailed reports on sends, opens, and clicks to track transactional performance. 4. SIMPLE AND POWERFUL AUTOMATION WITH RSS FEED Keep your audience up-to-date with news without having to manually create emails every week: Custom Feeds: Create RSS Feeds by Categories, Tags, or Type (Articles/Products). Automatic Campaigns: Transform these Feeds into automatic RSS Feed Campaigns that are sent to your subscribers on a schedule without intervention. Compliance: Ensure the quality and security of your data with the option for contact validation via Double Opt-in (GDPR). What’s new: Order Conversion (API Backend): Monitoring and synchronization of order statuses (“Created”, “Pending”, “Canceled”, “Completed” or “Unknown”) directly with E-goi. Features: Geral: 100% Free, Automatic contact synchronization (incl. custom fields), Connected Sites, E-goi Track & Engage, Gutenberg E-goi Block. Lead Capture: Simple Forms, Multiple Forms (via Connected Sites), Subscription Bar, Pop-up Forms (Visit and Exit Intent), Widget Forms. Automation & E-commerce: Order sync by status (API Backend), E-mail campaign on article publication, WooCommerce product synchronization. Channels & Content: Web Push Notifications, RSS Feed by categories, tags or products. E-goi Transactional E-mail (SMTP): Send all WordPress and WooCommerce e-mails through E-goi for better deliverability. Compatibility: Integrates with WooCommerce, CF7, Gravity Forms, Elementor, WPBakery Page Builder. Compliance: Double Opt-in contact validation (GDPR), Tag association to forms. Add-on: E-goi SMS Orders Alert/Notifications Requirements: E-goi Plan with access to your API Key. WordPress version 4.7 or higher. Do you need an E-goi account ? Click and create a free E-goi account