Telegram Integration

You can connect Noptin to your Telegram channel and automatically send new messages to the channel whenever something happens on your WordPress site.

This is a premium feature.

That means that you have to purchase a plan before you can use it.

Install Addon

  1. First, download the Telegram addon from your account.
  2. Log in to the WordPress admin area of your website.
  3. Navigate to Plugins Add New then click on Upload Plugin.
  4. Upload the plugin you downloaded in the first step.
  5. Click on Install Now.
  6. Wait for WordPress to install the plugin then click on Activate Plugin.

Connect to Telegram

After activating the addon, WordPress will redirect you to the integration’s settings page.

Noptin slack integration settings page

Enter your bot user OAuth token and then save your settings.

To get a “Bot Token“, you must create a Telegram Bot.

Here’s a step-by-step guide:

  1. Open Telegram and search for “@BotFather”.
  2. Start a chat with @BotFather by clicking “Start”.
  3. Type /newbot and send it
  4. Enter a name for your bot when prompted (e.g., “My Website Bot”)
  5. Enter a username for your bot when prompted. It must end in “bot” (e.g., “mywebsite_bot”)

@BotFather will provide you with a bot token.

It looks like “123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11

Sample telegram integration message

Set-up automation rules

After connecting Noptin to Telegram, you can create automation rules to send messages to Telegram channels when specific events occur.

When creating the automation rule, select “Telegram > Send Message” as the action…

Set up telegram automation rule

… and then specify your message and target channel.

telegram channel id and message

You can use merge tags to include dynamic content.

Required:-

If you’re sending the message to a channel, add your bot as an administrator for the channel.

  • Open your channel
  • Click the channel name at the top
  • Select “Administrators”
  • Click “Add Administrator”
  • Search for and select your bot
  • Enable “Post Messages” permission
  • Click “Done”

Troubleshooting Tips

If messages aren’t being sent, verify that:

  • Your bot token is correct
  • The bot is an administrator in your channel
  • Your channel ID/username is entered correctly
  • You’ve selected the correct message format (Markdown or HTML)

Related Guides