Sync People.AI data to Snowflake on schedule
Recipe ToolsMarketingDeveloper ToolAPI IntegrationDatabase
What it does
When a scheduled interval triggers, this automation sends an HTTP request to People.AI for each job ID. Successful responses insert into Snowflake, and errors route to a separate table for review.
Who it's for
Data and analytics teams who need People.AI records synced to their data warehouse on a regular cadence.
Apps used
- Scheduler by Workato
- Workato List
- HTTP
- Snowflake
How teams use this
Sync People.AI records daily
Run the automation every morning to pull the latest People.AI job data and load it into Snowflake so analysts have fresh records for reporting and analysis.
Route errors to a separate table
Failed HTTP requests are automatically inserted into an error table instead of the main table, so the team can investigate and retry without corrupting production data.
Add custom job ID filtering
Filter the job ID list to only include records that match certain criteria, such as a specific status or date range, before sending HTTP requests to People.AI.
Notify teams of sync failures
Set up a notification to alert the engineering team when errors exceed a threshold, so they can investigate People.AI connectivity issues or data quality problems quickly.
How it works
- Trigger on a specified interval. The automation runs on a schedule you set, such as daily or weekly, to keep People.AI data current in Snowflake.
- Send HTTP request to People.AI for each job ID. For each job ID in the list, send an HTTP request to People.AI and retrieve the response data so it can be loaded into the warehouse.
- Insert rows into Snowflake tables. Insert each successful response into the EDWSTAGE.RAW_SRC table in Snowflake. If an error occurs during the HTTP request, insert the row into EDWSTAGE.ERROR_RAW_SRC instead.