Revoke a BTCPay API key from Telegram
When a key needs to be revoked, capture the decision in Telegram and let Notis confirm which key before removing its access.
Trigger
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
Action
Delete API Key
Tool to revoke a specific api key. use when you need to remove an api key to immediately prevent its use. call after identifying the key to revoke.
Why this helps
Urgent access cleanup can get delayed when the decision happens in chat but the revocation task is left for later.
- Turn an explicit revocation request into a tracked action.
- Confirm the exact key before removing it.
- Keep access cleanup connected to the decision.
Setup
Build it in a few focused steps.
- 1Connect Telegram and BTCPay Server to Notis once in the portal.
- 2Create the automation through Automations or by asking Notis in plain language.
- 3Write one instruction to revoke a key only after an explicit request and confirmation of the exact API key; ask for clarification if uncertain.
- 4Choose the Telegram New Message Received trigger and a channel for run reports.
- 5Test with one real, explicit revocation request for a designated key.
Questions about this workflow
Can the revocation be undone?
The action deletes a specific API key to prevent its use, so have Notis confirm the exact key before acting.
Will a discussion that mentions a key trigger revocation?
The prompt should require an explicit revocation instruction, not a general mention or discussion.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Btcpay server. A trigger fires from one place; an action lands in another.
Telegram triggers
Btcpay server actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Payment Request
Tool to create a new payment request for a store. use after confirming store id.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Store
Tool to create a new store in btcpay server. use when you need to provision a new store before processing transactions.
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
Create BTCPay Server User
Tool to create a new btcpay server user. use when you need to register a new user programmatically as an administrator.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Register a Webhook
Tool to register a new webhook. use when you need to receive store event notifications.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Delete API Key
Tool to revoke a specific api key. use when you need to remove an api key to immediately prevent its use. call after identifying the key to revoke.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Delete Payment Request
Tool to delete a specific payment request. use when you need to archive/remove an existing payment request for a store.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Delete Store Payout
Tool to delete a specific payout from a store. use when you need to cancel a payout no longer needed.
Get API Key
Tool to retrieve the current api key. use after authentication to get api key details.
Connect any two apps with Notis in the middle.
Telegram and Btcpay server, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Btcpay server.