Campaigns By Bot (Stage) icon

Campaigns By Bot (Stage)

Calls Campaign API to fetch campaigns for a given bot via GET /api/campaigns/by-bot?bot_external_id=... Uses Strapi API credentials (same base URL).

Campaigns By Bot (Stage)

AI-generated

Summary

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

Links

Discussion