Campaigns By Bot
AI-generatedSummary
Fetches campaigns for each input item by making a GET request to /api/campaigns/by-bot with the bot ID as the bot_external_id query parameter. Uses the configured Strapi API URL and bearer token.
Inputs
- Telegram Bot ID (required) — Bot ID sent as
bot_external_id. Defaults to the first available value fromtg_id_bot,bot_external_id, orexternal_idon the incoming item.
Output shape
One output item per input item, containing the parsed API response body as JSON.
The request uses required Strapi API credentials. If the response body is not valid JSON, it is returned as an
errorobject. With Continue On Fail enabled, failures produce an item containing anerrorstring and, for HTTP errors, astatuscode.