Skip to content

Telegram Bot Integration 🤖

Get real-time notifications about product changes directly in Telegram - no server required!

Overview

The Attivita Telegram Bot provides:

  • 📱 Real-time product notifications
  • 🔔 Customizable alert preferences
  • 🚀 No server setup required
  • 🔐 Secure authentication with your API token

Getting Started

1. Find the Bot

Open Telegram and search for:

2. Start Conversation

Click the "Start" button or send /start command:

/start

You'll receive a welcome message explaining the bot's features.

3. Subscribe to Notifications

Use the /subscribe command and follow the prompts:

/subscribe

The bot will ask for your API access token. This is the same token you use for API authentication.

Security

Never share your API token in group chats or with other users. The bot will only accept tokens in private messages.

4. Verify Subscription

Once your token is validated, you'll receive a confirmation:

✅ Successfully subscribed to product notifications!

You'll receive notifications for:
• Product out of stock alerts
• Product back in stock alerts
• Product price changes

Use /settings to customize your preferences.

Available Commands

CommandDescription
/startShow welcome message and bot information
/helpDisplay available commands and usage help
/subscribeSubscribe to product notifications
/unsubscribeUnsubscribe from all notifications
/settingsCustomize notification preferences
/statusCheck your subscription status

Notification Types

📦 Out of Stock Alert

⚠️ Product Out of Stock

Product: Microsoft Office 2021
SKU: MS-OFF-2021
Previous Stock: 50

This product is no longer available for ordering.

✅ Back in Stock Alert

✅ Product Back in Stock!

Product: Microsoft Office 2021
SKU: MS-OFF-2021
Available Stock: 100

This product is now available for ordering.

💰 Price Change Alert

💰 Price Changed

Product: Microsoft Office 2021
SKU: MS-OFF-2021
Old Price: €249.99
New Price: €199.99
Change: -20%

Great opportunity to save!

Customizing Notifications

Use /settings to customize which notifications you receive:

Current Notification Settings:

✅ Out of Stock Alerts
✅ Back in Stock Alerts
✅ Price Change Alerts

Reply with the number to toggle:
1️⃣ Out of Stock
2️⃣ Back in Stock
3️⃣ Price Changes

Security & Privacy

Data Protection

  • Your API token is encrypted and stored securely
  • Tokens are only used to verify your customer account
  • No product data is stored by the bot

Best Practices

  1. Only interact with the bot in private messages
  2. Never share your API token publicly
  3. Regularly review your subscription status
  4. Unsubscribe if you no longer need notifications

Troubleshooting

Bot Not Responding

  1. Ensure you're messaging the correct bot: @attivita_price_stock_bot
  2. Try sending /start command again
  3. Check your internet connection

Invalid Token Error

  1. Verify your API token is correct
  2. Ensure your account is active
  3. Check that you're using the full token including any prefixes

Not Receiving Notifications

  1. Check your notification settings with /settings
  2. Ensure your Telegram notifications are enabled
  3. Verify your subscription status with /status

Comparison: Webhooks vs Telegram Bot

FeatureWebhooksTelegram Bot
Server Required✅ Yes❌ No
Setup ComplexityMediumEasy
Real-time Updates✅ Yes✅ Yes
Customizable✅ Fully⚠️ Limited
Best ForAutomated systemsPersonal monitoring

FAQ

Is the bot free to use?

Yes, the Telegram bot is free for all Attivita API customers.

Can I use both webhooks and Telegram bot?

Yes, you can use both simultaneously for different purposes.

How quickly are notifications sent?

Notifications are sent within seconds of the product change.

Can multiple team members subscribe?

Yes, each team member can subscribe using the same API token.

Is the bot available 24/7?

Yes, the bot operates continuously to ensure you never miss important updates.

Next Steps

The usage of this API is at your own risk. Attivita GmbH is not responsible for any damages or losses.