Sync People.AI data to Snowflake on schedule
Recipe ToolsDeveloper ToolAPI IntegrationDatabase
What it does
When a scheduled interval triggers, this automation sends a request to People.AI for each job ID. The results insert into Snowflake, and if the request fails, the error logs to a separate table for review.
Who it's for
Data and analytics teams who need People.AI records synced to Snowflake without manual API calls.
Apps used
- Scheduler by Workato
- Workato List
- HTTP
- Snowflake
How teams use this
Sync People.AI records nightly
Run this automation every night to pull the latest People.AI data for all job IDs and load it into Snowflake. The team wakes up with fresh data ready to query.
Monitor sync health with error tracking
Failed requests go to a separate error table so the team can see which job IDs had issues. This makes it easy to spot patterns and fix problems without losing successful data.
Add filtering by job status
Extend this automation to only sync job IDs with a specific status, such as completed or pending. Add a condition to filter the list before the requests begin.
Route errors to a notification channel
When errors occur, send a summary to a Slack channel so the team is alerted immediately. Include the job ID and error message so someone can act fast.
How it works
- Trigger on a specified interval. On your schedule, this automation wakes up and begins processing the list of job IDs.
- Send request to People.AI for each job ID. For each job ID in the list, Rest sends a request to People.AI and retrieves the response data for processing.
- Insert successful results to Snowflake. When the request succeeds, Snowflake inserts the row into the RAW_SRC table so the data is available for analysis.
- Log errors to a separate table. When the request fails, Snowflake inserts the error details into the ERROR_RAW_SRC table so someone can investigate and retry if needed.