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:
- Username: @attivita_price_stock_bot
- Or click: t.me/attivita_price_stock_bot
2. Start Conversation
Click the "Start" button or send /start command:
/startYou'll receive a welcome message explaining the bot's features.
3. Subscribe to Notifications
Use the /subscribe command and follow the prompts:
/subscribeThe 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
| Command | Description |
|---|---|
/start | Show welcome message and bot information |
/help | Display available commands and usage help |
/subscribe | Subscribe to product notifications |
/unsubscribe | Unsubscribe from all notifications |
/settings | Customize notification preferences |
/status | Check 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 ChangesSecurity & 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
- Only interact with the bot in private messages
- Never share your API token publicly
- Regularly review your subscription status
- Unsubscribe if you no longer need notifications
Troubleshooting
Bot Not Responding
- Ensure you're messaging the correct bot: @attivita_price_stock_bot
- Try sending
/startcommand again - Check your internet connection
Invalid Token Error
- Verify your API token is correct
- Ensure your account is active
- Check that you're using the full token including any prefixes
Not Receiving Notifications
- Check your notification settings with
/settings - Ensure your Telegram notifications are enabled
- Verify your subscription status with
/status
Comparison: Webhooks vs Telegram Bot
| Feature | Webhooks | Telegram Bot |
|---|---|---|
| Server Required | ✅ Yes | ❌ No |
| Setup Complexity | Medium | Easy |
| Real-time Updates | ✅ Yes | ✅ Yes |
| Customizable | ✅ Fully | ⚠️ Limited |
| Best For | Automated systems | Personal 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
- Set up Webhooks for programmatic access
- Learn about Authentication
- Explore the Products API