Skip to content
KiweelyKiweelyKiweely

How to Sync Greenhouse and Workday Data into BigQuery for Unified HR Reporting

How to extract Workday HCM data (WQL, RaaS, or Outbound EIB) and Greenhouse recruiting data (BI Connector via S3 or Harvest API) into BigQuery, join them safely using a Workday Custom ID, and reconcile effective-dated snapshots with ATS event timestamps.

  • Checked against Workday on
  • Applies to Workday Extend
  • 7 min read
  • Published
  • By Kiweely
On this page

To unify Greenhouse recruiting data and Workday HCM data in BigQuery, land each system into its own raw dataset (raw_greenhouse and raw_workday) and join them in a curated analytics view on a durable identifier rather than email or name. Store Greenhouse’s immutable candidate_id (and application_id if you track multi-application funnels) in a Workday Custom ID or Custom Object during Pre-Hire creation, and write Workday’s Employee_ID back to Greenhouse’s employee_id field after Hire completes.

Keeping the two raw landing zones independent prevents a schema change or API retry in one system from blocking loads from the other. All cross-system matching, deduplication, and date alignment happen in BigQuery SQL views or scheduled dbt models in a separate analytics_hr dataset.

Extracting Workday HCM Data into BigQuery

Workday offers three practical extraction paths for BigQuery: the Workday Query Language (WQL) REST API, Reports-as-a-Service (RaaS), and Outbound Enterprise Interface Builder (EIB) file deliveries. The right choice depends on payload volume, whether you rely on Workday calculated fields, and whether you need incremental deltas or daily full snapshots.

Method Pagination & Scale Limits Best Fit for BigQuery Main Drawback
MethodWQL REST API Pagination & Scale Limitslimit up to 10,000 rows per page over a temporary cache capped at 1,000,000 rows (valid up to 30 minutes) Best Fit for BigQueryIncremental loads filtered by effective date or last-updated timestamp; no custom report upkeep Main DrawbackCannot expose complex Workday calculated fields directly without pre-built report fields
MethodRaaS (JSON or CSV) Pagination & Scale LimitsUnpaged single HTTP response; 5-minute timeout via WCP API Gateway (up to 6 hours on direct tenanted host) Best Fit for BigQueryMedium-sized extracts that depend on Workday calculated fields (such as ESI or LRV) Main DrawbackLarge payloads hit memory limits, timeouts, or 429 / 500 throttling under load
MethodOutbound EIB Pagination & Scale LimitsBackground runtime up to 30 hours; supports automatic file splitting for large outputs Best Fit for BigQueryLarge daily full-snapshot extracts (worker rosters, job history, staffing events) Main DrawbackFile-based delivery requires an SFTP or S3/GCS pickup step before BigQuery ingestion

Using WQL via the Workday REST API

WQL lets an external loader (such as a Cloud Run job, Airflow DAG, or Fivetran/Airbyte connector) query Workday data sources with SQL-like SELECT, FROM, and WHERE clauses. Register an API client through Register API Client for Integrations and grant its Integration System User (ISU) access to the Workday Query Language domain along with the underlying worker and staffing data domains.

When paging through WQL results, pass limit=10000 and increment offset starting from 0 against {baseURL}/data. Workday caches up to 1 million rows for the user session or 30 minutes; passing offset=0 forces a fresh cache execution. Keep each query scoped by date or supervisory organization so the total result set stays below the 1 million row cache ceiling.

Using Reports-as-a-Service (RaaS)

Build an Advanced or Search custom report on an indexed data source (such as All Active and Terminated Workers), assign clean Column Heading Override XML Aliases for every column, and check Enable as Web Service. Retrieve the REST endpoint from the report’s related actions under Web Services > View URLs and append ?format=json or ?format=csv&bom=true for UTF-8 CSV output.

Avoid using RaaS for unpartitioned historical dumps. Because RaaS streams the full report in one HTTP response without limit/offset pagination, calls routed through the Workday Cloud Platform (WCP) API Gateway fail at the 5-minute timeout if the report evaluates too many security rules or calculated fields. Keep report prompts narrow (for example, filtering by effective date range) and ensure the report owner’s username contains no backslash (\), which breaks GET requests.

Using Outbound EIB for Large Snapshots

For tenants with tens of thousands of workers or multi-year job history tables, configure an Outbound EIB via the Create EIB task. Point Get Data at a RaaS-enabled custom report (or Workday Web Service), leave Transform blank when native CSV or JSON output already matches your staging schema, and set Deliver to SFTP or Amazon S3.

From SFTP or S3, move the landed files into BigQuery using Google Cloud Storage Transfer Service or the BigQuery Data Transfer Service for Amazon S3. Because the EIB runs asynchronously inside Workday with a 30-hour runtime ceiling and file splitting, it absorbs heavy extracts without tripping HTTP gateway timeouts.

Extracting Greenhouse Recruiting Data into BigQuery

Greenhouse provides two production mechanisms for warehouse reporting: the native Business Intelligence (BI) Connector and the Harvest REST API.

Native Greenhouse BI Connector (via Amazon S3)

Greenhouse’s Business Intelligence Connector runs nightly ETL jobs that export your complete recruiting schema, including candidates, applications, application_stages, offers, jobs, openings, departments, offices, and sources. The connector does not write directly to BigQuery; it delivers either to a Greenhouse-hosted Amazon Redshift cluster or as nightly .csv files to an Amazon S3 bucket you control (for Greenhouse EU and Silo 101 tenants, Amazon S3 is the only supported target).

To land BI Connector files in BigQuery, configure the S3 delivery option in Greenhouse and create a scheduled transfer in the BigQuery Data Transfer Service for Amazon S3. Point the transfer URI at s3://<bucket>/<prefix>/* using runtime parameters such as {run_date} and load each CSV table into raw_greenhouse with WRITE_TRUNCATE for current-state tables or date-partitioned append tables if you archive nightly drops.

Greenhouse Harvest API via ELT Tools

If you want intra-day freshness or prefer not to maintain an AWS S3 bucket purely as a staging hop, extract from the Greenhouse Harvest API (v3) using a managed ELT connector (such as Fivetran or Airbyte) or a scheduled Cloud Run script writing directly to BigQuery. Harvest API endpoints support incremental polling via updated_after query parameters, letting you sync new offers, stage transitions, and candidate updates every 15 to 60 minutes.

The tradeoff is schema maintenance. The BI Connector ships pre-flattened relational tables with documented ERDs, whereas Harvest API payloads nest custom fields, attachments, and stage arrays inside JSON objects that your BigQuery staging views must unnest.

Solving the Join-Key Trap Between Greenhouse and Workday

Most broken HR reporting pipelines fail at the join between raw_greenhouse and raw_workday, not during extraction. Joining on email breaks immediately because candidates apply in Greenhouse using a personal email address and receive a corporate email in Workday on Hire; even when Workday stores the personal email as Home Email, workers frequently change or remove it. Joining on full name breaks on duplicate names, legal-versus-preferred name mismatches, and surname changes.

Establish a bidirectional, system-generated key pair during the Hire workflow:

  1. Create a Workday Custom ID type for Greenhouse. Run Maintain Custom ID Types in Workday and create a type such as GREENHOUSE_CANDIDATE_ID. Set identifier validation to Globally Unique and check the Public checkbox if reporting domains outside the standard Custom ID security domain need to read the field in RaaS or WQL extracts.
  2. Write candidate_id on Pre-Hire creation. When your Greenhouse-to-Workday hire integration (whether Hire Link for Workday, a Candidate Hired webhook listener, or Workday Studio) creates the Workday Pre-Hire, populate GREENHOUSE_CANDIDATE_ID via the Pre-Hire ID web service fields. Workday carries Custom IDs from Pre-Hire onto the active Worker automatically upon Hire completion.
  3. Store application_id and requisition_id for funnel attribution. Because one candidate can hold multiple applications over time, store the hired application_id (and Greenhouse requisition_id if it differs from Workday’s Job Requisition ID) on a Custom Object attached to the Worker or on the Job Requisition reference ID.
  4. Write Workday Employee_ID back to Greenhouse. Once the Hire business process completes in Workday, push the generated Employee_ID back to the candidate’s employee_id field in Greenhouse. That writeback closes the loop for future internal transfers and rehires.

Handling Effective-Dated Snapshots, Internal Transfers, and Rehires

Greenhouse and Workday model time differently. Greenhouse tables store immutable UTC event timestamps (applied_at, entered_on, exited_on, sent_at, resolved_at, starts_at). Workday is effective-dated (Effective_Date, Hire_Date, Original_Hire_Date, Termination_Date) and allows both future-dated hires and retroactive corrections.

Preserve Daily Workday Snapshots in BigQuery

If you overwrite raw_workday.workers every night without keeping a snapshot date, a retroactive termination or cost-center correction in Workday will silently rewrite last quarter’s headcount and time-to-fill numbers. Partition your Workday landing table by snapshot_date (PARTITION BY snapshot_date) and append each daily extract. Query the latest partition for current roster dashboards, and query month-end partitions for historical trend reports.

Prevent Double-Counting on Internal Transfers and Rehires

Joining raw_greenhouse.applications directly to raw_workday.workers on candidate_id or employee_id multiplies rows whenever an employee transfers internally or gets rehired. Follow two rules in your curated BigQuery view:

  • Keep recruiting metrics at the application_id grain. Never count active headcount from a table joined to Greenhouse applications. Aggregate funnel conversion, offer acceptance rate, and time-to-fill by application_id, and pull headcount and attrition from raw_workday.workers_snapshot alone.
  • Pair each hired application to a single Workday hire event. For internal transfers, filter or tag records using Workday’s staffing event type (separating external Hire events from internal Change Job transfers). For rehires, where one Employee_ID has multiple hire dates across years, match each accepted Greenhouse offer to the closest Workday hire date within a bounded window using QUALIFY ROW_NUMBER().
sql
CREATE OR REPLACE VIEW `analytics_hr.v_recruiting_to_hire` AS
WITH latest_workday_workers AS (
  SELECT
    employee_id,
    greenhouse_candidate_id,
    hire_date,
    original_hire_date,
    termination_date,
    hire_reason,
    department_id,
    cost_center_id,
    worker_status
  FROM `raw_workday.workers_snapshot`
  WHERE snapshot_date = (
    SELECT MAX(snapshot_date) FROM `raw_workday.workers_snapshot`
  )
),
hired_applications AS (
  SELECT
    a.id AS application_id,
    a.candidate_id,
    c.employee_id AS gh_employee_id,
    a.job_id,
    a.applied_at,
    a.rejected_at,
    a.status AS application_status,
    o.id AS offer_id,
    o.sent_at AS offer_sent_at,
    o.resolved_at AS offer_accepted_at,
    DATE(o.starts_at) AS offer_start_date
  FROM `raw_greenhouse.applications` AS a
  INNER JOIN `raw_greenhouse.candidates` AS c
    ON a.candidate_id = c.id
  LEFT JOIN `raw_greenhouse.offers` AS o
    ON a.id = o.application_id
    AND o.status = 'accepted'
  WHERE a.status = 'hired'
)
SELECT
  h.application_id,
  h.candidate_id,
  w.employee_id,
  h.job_id,
  h.applied_at,
  h.offer_sent_at,
  h.offer_accepted_at,
  h.offer_start_date,
  w.hire_date,
  w.original_hire_date,
  w.termination_date,
  w.hire_reason,
  CASE
    WHEN w.hire_date > w.original_hire_date THEN 'rehire'
    WHEN LOWER(w.hire_reason) LIKE '%transfer%' THEN 'internal_transfer'
    ELSE 'new_hire'
  END AS hire_category,
  DATE_DIFF(w.hire_date, DATE(h.applied_at), DAY) AS days_apply_to_start,
  w.department_id,
  w.cost_center_id,
  w.worker_status
FROM hired_applications AS h
LEFT JOIN latest_workday_workers AS w
  ON (
    (h.gh_employee_id IS NOT NULL AND h.gh_employee_id = w.employee_id)
    OR CAST(h.candidate_id AS STRING) = w.greenhouse_candidate_id
  )
  AND (
    h.offer_start_date IS NULL
    OR ABS(DATE_DIFF(w.hire_date, h.offer_start_date, DAY)) <= 90
  )
QUALIFY ROW_NUMBER() OVER (
  PARTITION BY h.application_id
  ORDER BY ABS(DATE_DIFF(w.hire_date, COALESCE(h.offer_start_date, DATE(h.offer_accepted_at)), DAY)) ASC
) = 1;

Check the LEFT JOIN match rate on every scheduled run. Any hired Greenhouse application with a NULL Workday employee_id more than 48 hours after offer_accepted_at surfaces an integration drop or missing Custom ID writeback before it distorts executive reporting.

Sources checked

Build, validate, and run integrations in Workday.

Kiweely Vine builds EIBs, Studio assemblies, and connectors in your connected tenant, rehearses loads in Sandbox, and reads back every result.

Want it built for you? OnoeX , a Workday consulting firm, delivers this with Kiweely Vine.

Get the next guide in your inbox.

One email a month with new guides and one Extend tip. Nothing else.

We’ll email you once to confirm. Unsubscribe in one click from any issue.

Protected by reCAPTCHA. Google’s privacy policy and terms apply.