Campaigns By Time (Stage) icon

Campaigns By Time (Stage)

Calls Campaign API to fetch campaigns, optionally limited by daily time window via GET /api/campaigns/by-time?from=HH:MM&to=HH:MM. Uses Strapi API credentials (same base URL).

Campaigns By Time (Stage)

AI-generated

Summary

Retrieve campaigns filtered by a daily time window

Inputs

  • fromTime — Start of daily time window in HH:MM format; optional.
  • toTime — End of daily time window in HH:MM format; optional.

Output shape

array of objects each with a json field containing campaign data or error details, and a pairedItem object referencing the original input index

Preserves input order; missing or invalid times return an error object; empty windows result in a plain list request.

Examples

Example 1: Fetch campaigns between 00:00 and 23:59

Set From Time=00:00, To Time=23:59; ensure strapiApiStage credential configured.

Example 2: Filter campaigns from 09:30 to 12:00

Set From Time=09:30, To Time=12:00; optional parameters limit the search window.

Example 3: No time filter applied

Leave From Time and To Time empty to request all campaigns via the base endpoint.

Links

Discussion