ContentRunner Bot Set Active (Stage)
AI-generatedSummary
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