Forecast / Schedule Events requests (Playvox connector)
AnsweredHi team, this is for the Forecast / Schedule Events requests (Playvox connector). Describing all the requirements below. All operations are GET-only, table names are proposed.
1. Forecasts
FORECAST_CONFIGURATION, FORECAST, FORECAST_VOLUME_DAILY, FORECAST_VOLUME_INTERVAL
Ingest /forecast/configurations and /forecast/forecasts, then:
• Daily: /forecast/forecasts/{dailyId}/raw-volumes-v2
• Intraday: /forecast/forecasts/{intradayId}/volumes-v2
Refresh daily across 45 completed days back + 365 days ahead, wherever data exists. Enumerate all scenarios and explicit workstream IDs. Preserve volume and nullable manualAdjustedVolume for primary and alternate scenarios, so we retain original, manually adjusted and alternate values separately. Zero adjustments are valid; missing values remain null.
2. Staffing requirements
FORECAST_REQUIREMENT_INTERVAL
Ingest /forecast/forecasts/{intradayId}/requirements-v2 at 30-minute intervals, using the same horizon as point 1. Preserve scenario, channel, workload-task ID, interval boundaries, fractional staffing/effort and handle-time/SLA inputs. Retain the requested workstream scope because returned rows omit it. Keep tasks separate; requirements volume must not replace forecast volume.
3. Schedule Events and shift tasks
SCHEDULE_EVENT + targeting/task-window children; extend existing SHIFT_TASK
Take complete daily snapshots of /api/schedule/configuration/events, retaining recurrence, timezone, targeting, task windows, comments and change/deletion indicators.
For /schedule/shifts, refresh 45 completed days back + 21 days ahead, wherever schedules have been generated. Add shiftTasks.comment and lockedTask, and reconcile removed/rescheduled tasks. The 21-day limit applies to generated schedules, not recurring event definitions.
━━━━━━━━━━━━━━━━━━━━
Additional datasets for future reporting
Please also expand the request to include the following. For metric feeds in points 4–5, apply the 45-day rolling refresh and one-time historical backfill requested in the existing-ingestion thread.
4. Workstream configuration and metrics
WORKSTREAM_DEFINITION, WORKSTREAM_PERIOD_METRICS
Snapshot /api/workactivity/workstreams/definitions daily, retaining timezone, calendar, workload-task mappings and targets.
Ingest /api/workactivity/workstreams/metrics with workstreamGrouping=true, preserving daily/native weekly periods, timezone, volumes, handle/first-reply/wait/service-level measures and underlying totals.
5. Agent metrics
AGENT_ACTIVITY_METRICS_*, AGENT_SCHEDULE_METRICS_*
Ingest /api/workactivity/workstreams/metrics/agents and /api/schedule/metrics with user/date grouping, preserving agent identity and channel/task detail. Keep both legacy and V2 handle-time measures, and separate rostered from actual metrics.
Future rostered metrics need only 21 days, where schedules have been generated.
6. Calendars and leave
SCHEDULE_CALENDAR, SCHEDULE_CALENDAR_LEAVE_ALLOTMENT, LEAVE_REQUEST + date/history children
Refresh complete calendar definitions and dated allowances from /schedule/calendars, preserving timezone, raw values, units and comments.
Ingest all available leave requests through /timeoff/leave-requests/by-calendar, including lifecycle states, daily minutes and available history. Follow every pagination token.
7. Backlog, agent-state snapshots and adherence
WORKSTREAM_BACKLOG_*, AGENT_*_SNAPSHOT, AGENT_ADHERENCE_WINDOW
• Backlog: /workactivity/back-office/backlog/snapshot/workstreams and /workactivity/back-office/backlog/snapshot/age-bands/buckets. Preserve complete periods and every dated bucket; apply the 45-day daily refresh where recoverable.
• Live state: /api/workactivity/tasks/active and /workactivity/agent-activity-states. Append timestamped snapshots, ideally every 15 minutes, subject to supported limits.
• Adherence: /api/workactivity/shiftdata/adherence. Refresh the previous 45 completed days for corrections.
Across all feeds: preserve source IDs, precision, nulls, timezones and nested detail. Use stable-key upserts with one current row per business key, retaining revision history separately. For live-state feeds, append timestamped snapshots.
Please also confirm the support for observed fields/routes absent from the published articles.
I’ve attached a documentation pack containing the GET operations needed.
-
Official comment
Hi Ninad,
Thank you for the detailed breakdown of the Playvox Workforce Management data your team needs. We are currently rolling out new Schedule Event and Forecast tables for the Playvox Workforce Management connector, which cover part of this request, and we will share an update on this thread once they are available. We have added the remaining items, including staffing requirements, workstream and agent metrics, calendars and leave, backlog and adherence data, to our active backlog. Which of these feeds are most important to your reporting, so we can prioritize them first? We will keep you updated on this thread as we make progress.
Best regards,
Syead Mujtaba Imam Rizwi
Please sign in to leave a comment.
Comments
1 comment