← All work Staffing

From fragile screen-scraping to a live data pipeline

A staffing agency's reporting depended on browser automation that broke whenever their staffing platform changed. We replaced it with direct API pulls into a SQL database that feeds Power BI with no spreadsheets in between.

The challenge

The agency runs its day-to-day operations in a cloud staffing platform. To get that data into reports, they relied on Selenium scripts that logged in like a person, clicked through screens and scraped the results into spreadsheets, which were then loaded into Power BI.

It worked until it didn't. Any change to the platform's screens broke the scripts, the spreadsheets added a manual step between the source and the dashboard, and nobody could be fully sure the numbers on the screen matched the system of record.

The goal was simple: get the platform's data straight into Power BI, reliably, without the intermediary spreadsheets.

What we built

  • Direct API integration. Python code calls the staffing platform's official API instead of scraping its screens, so a layout change no longer breaks anything.
  • A central SQL database. Every pull lands in Azure SQL in a clean, consistent structure that's ready for reporting and keeps history over time.
  • Scheduled, monitored runs. Azure Data Factory triggers the Azure Functions on a schedule, with logging and error handling so a failed run is noticed and fixed, not discovered weeks later in a report.
  • Power BI on top of the database. Reports read from SQL directly, so they're as current as the last pipeline run.

The result

  • No more spreadsheets between the source system and the dashboards.
  • Reporting no longer breaks when the staffing platform updates its interface.
  • One trusted source for the numbers, with history kept automatically.