ContentRunner Bot Set Active
AI-generatedSummary
Updates the is_active flag for an existing bot in the PostgreSQL bots table, matching it by Telegram bot ID.
Inputs
- Telegram Bot ID (required) — Bot identifier used to find the row by
tg_bot_id. Defaults to the incoming item’sbotId,bot.external_id, orexternal_id, in that order. - Is Active — Boolean value to write to the bot’s
is_activefield; defaults totrue.
Output shape
A list of items, one per input item, each containing the updated database row.
Requires ContentRunner PostgreSQL credentials. If the ID is empty or no bot matches, the operation errors; with Continue On Fail enabled, it returns an item containing an
errorfield instead.