Actions2
Get by ID
AI-generatedSummary
Fetches one bot from Strapi by ID, optionally including selected related data. Uses each input item’s botId or id by default, and returns the normalized bot record with a found flag.
Inputs
- Strapi Collection Path — REST collection path; defaults to
/api/bots. - Bot ID (required) — ID appended to the collection path for the request. Defaults to
{{$json.botId || $json.id}}, so it can be taken from each input item. - Continue On Not Found — Defaults to true. When the request returns no bot, outputs
{found:false}; when false, throws a not-found error. - Populate — Select related data to include: Funnel, Geos, Channels, Messenger, Segments, or All (
*). Defaults to Funnel, Geos, and Channels.
Output shape
One output item per input item, containing {found:true, ...bot} when a bot is returned, or {found:false} when it is not found and Continue On Not Found is enabled.
The bot payload is normalized and flattened, with
idand token fields where available. Missing Bot ID and request errors throw unless node-level Continue On Fail is enabled, in which case the item contains anerrorfield.