Campaigns By Bot (Stage)
AI-generatedSummary
Fetch campaigns for a Telegram bot via the Campaigns By Bot API.
Inputs
- tg_id_bot (required) — Telegram bot ID (bot_external_id) to pass as query parameter "bot_external_id" to /api/campaigns/by-bot
Output shape
array of objects each containing a json field (campaign data or error details) and a pairedItem linking to the input item
Pagination is not used; the node processes each input item independently and returns an array of results.
Examples
Example 1: Retrieve campaigns for a specific bot using its external ID
tg_id_bot = 1234567890; credentials: strapiApiStage (required) configured with base URL and token