ContentRunner Set Blocked (Stage) icon

ContentRunner Set Blocked (Stage)

Update only blocked_at in user_bot_interactions by tg_chat_id + tg_bot_id or user_id + bot_id

ContentRunner Set Blocked (Stage)

AI-generated

Summary

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()

Links

Discussion