ContentRunner Set Blocked (Stage)
AI-generatedSummary
Update blocked_at for a user‑bot interaction identified by telegram chat and bot IDs or by user and bot IDs
Inputs
- identifyBy — Method to identify the interaction: 'tg' for telegram chat_id + bot_id, or 'uuid' for user_id + bot_id
- tgChatId (required) — Telegram chat identifier for the user
- tgBotId (required) — Telegram bot identifier
- userId (required) — Numeric user identifier
- botId (required) — Bot identifier
- campaignId — Optional UUID to limit update to a specific campaign
- blockedAt (required) — Timestamp when the bot was blocked; use NOW() for current time
Output shape
Array of objects, each containing json (error message or updated interaction details) and pairedItem (original item index)
Success responses include the updated interaction details; failure responses include an error message. The array preserves input order.
Examples
Example 1: Mark a specific interaction as blocked
identifyBy: tg, tgChatId: '123456', tgBotId: '987654', blockedAt: NOW()