ContentRunner Bot Set Active (Stage) icon

ContentRunner Bot Set Active (Stage)

Update only is_active for a bot by tg_bot_id (bot must already exist)

ContentRunner Bot Set Active (Stage)

AI-generated

Summary

Sets the is_active flag of a Telegram bot identified by tgBotId

Inputs

  • tgBotId (required) — Unique bot identifier (id or external_id from Strapi)
  • isActive — Whether the bot should be active (true) or inactive (false); defaults to true

Output shape

an array of result objects; each contains either an 'error' field or the updated bot record in 'json'

Rows are returned per input item; if the bot is not found an error object is returned, and continueOnFail can suppress errors

Examples

Example 1: Activate bot with ID 456

tgBotId=456, isActive=true; uses default Postgres credential

Links

Discussion