Campaigns By Time icon

Campaigns By Time

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

AI-generated

Summary

Fetches campaigns from the configured Strapi API, optionally using a daily time window when both time bounds are provided.

Inputs

  • From Time — Optional start time in 24-hour HH:MM format. A filter is used only when this and To Time are both non-empty.
  • To Time — Optional end time in 24-hour HH:MM format. A filter is used only when this and From Time are both non-empty.
  • Strapi API credentials (required) — Credentials provide the base URL and bearer API token for the GET request.

Output shape

One output item per input item, each containing the parsed API response JSON.

With both valid time bounds, requests GET /api/campaigns/by-time?from=HH:MM&to=HH:MM; if either is empty, requests GET /api/campaigns. Non-empty times must be valid 24-hour HH:MM values. Errors are thrown unless Continue On Fail is enabled, in which case an error object is returned for the affected item.

Links

Discussion