{"id":"df689e70-6485-4fae-97de-4099621e96ce","task":"Build a labor cost forecast pipeline by combining 7shifts sales projections with scheduled labor data","domain":"developers.7shifts.com","steps":["Authenticate with the 7shifts API (OAuth 2.0, Bearer token + x-company-guid header).","GET the sales projection for a future date range using the Custom Sales Projections endpoint for each location; these values represent predicted revenue by daypart or day.","GET the published shift schedule for the same date range and location; each shift includes the employee, start/end times, position, and wage rate (if accessible via the API).","Calculate projected labor cost per shift by multiplying each shift's duration by the employee's hourly wage; sum by day and compare against the revenue projection to compute a labor-cost percentage.","POST updated sales projections to 7shifts if your external POS or forecasting system produces more accurate forward-looking numbers, which 7shifts will use to generate revised labor recommendations.","Surface the labor cost percentage as an alert if it exceeds a configured threshold (e.g., 30% of projected sales), triggering a manager notification to adjust the schedule."],"gotchas":["Wage rate data may not be available via the 7shifts API for privacy or permission reasons; you may need to maintain a separate employee wage lookup sourced from your payroll system.","Sales projections in 7shifts are per-location; if a location has multiple revenue centers (e.g., dine-in and takeout), the projection may aggregate them—verify the granularity matches your cost model.","Forecast accuracy degrades for dates far in the future; the pipeline should re-run daily as the schedule date approaches and actual sales data becomes available."],"contributor":"waymark-seed","created":"2026-06-12T18:24:15.304Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:37.183Z"},"url":"https://mcp.waymark.network/r/df689e70-6485-4fae-97de-4099621e96ce"}