Update Telegram bot commands when Spotify playlists change
Keep your bot's shortcuts honest. When a Spotify playlist is created or deleted, Notis refreshes your Telegram bot commands to match.
Trigger
New Playlist Created or Deleted
Triggers when a new playlist is created or deleted.
Action
Set Bot Commands
Use this method to change the list of the bot's commands. see https://core.telegram.org/bots#commands for more details about bot commands.
Why this helps
Your bot's command menu drifts out of sync with your real playlists, so shortcuts point at things that no longer exist.
- Keep bot shortcuts aligned with your actual playlists
- Avoid dead commands that point to deleted playlists
- Remove the manual chore of editing the command list
Setup
Build it in a few focused steps.
- 1Connect Spotify and Telegram to Notis once through the portal.
- 2Open Automations from your portal link and pick New Automation.
- 3Write the prompt: 'When a Spotify playlist is created or deleted, update my Telegram bot commands so they reflect my current playlists.'
- 4Select the New Playlist Created or Deleted trigger and set your Telegram chat as the report channel.
- 5Create and delete a test playlist to confirm the command list updates.
Questions about this workflow
Does this overwrite my existing commands?
Notis sets the command list based on your prompt, so describe the full set you want to keep it complete.
Do I need to code the commands?
No. Explain the shortcuts you want in plain language and Notis handles the bot command update.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Spotify to Telegram. A trigger fires from one place; an action lands in another.
Spotify triggers
Telegram actions
New Device Added
Triggers when a new device is added.
Answer Callback Query
Use this method to send answers to callback queries sent from inline keyboards. the answer will be displayed to the user as a notification at the top of the chat screen or as an alert.
Spotify Playlist Item Change
Triggers when songs are added to or removed from a Spotify playlist.
Delete Message
Delete a message, including service messages, with certain limitations.
New Playlist Created or Deleted
Triggers when a new playlist is created or deleted.
Edit Message
Edit text messages sent by the bot.
Export Chat Invite Link
Generate a new primary invite link for a chat; any previously generated primary link is revoked. the bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
Forward Message
Forward messages of any kind. service messages can't be forwarded.
Get Chat Info
Get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.).
Get Chat Administrators
Get a list of administrators in a chat. on success, returns an array of chatmember objects that contains information about all chat administrators except other bots.
Get Chat History
Get chat history messages. note: this uses the getupdates method with specific parameters to retrieve historical messages.
Connect any two apps with Notis in the middle.
Not just Spotify and Telegram. Any combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Telegram.