Sync unentitled employees from Snowflake every 5 minutes
Recipe ToolsMarketingWorkatoData ParserUtilitiesDatabaseDeveloper ToolAPI Integration
What it does
When the clock triggers every 5 minutes, this automation parses JSON and queries Snowflake for unentitled employees. The batch list is then ready for downstream systems to process without manual database checks.
Who it's for
Data and analytics teams who need to identify unentitled employees in Snowflake on a regular schedule.
How teams use this
Identify unentitled employees on schedule
Run a Snowflake query every 5 minutes to find employees missing required entitlements, then compile them into a batch list for review without manual queries.
Route batches to a provisioning system
Send the unentitled employee batch list to a provisioning platform via REST so entitlements can be granted automatically. Only the endpoint target changes.
Filter by department before batching
Add a condition to the Snowflake query so only unentitled employees in a specific department are included in the batch list. That narrows the scope without changing the core flow.
How it works
- Run on a 5-minute schedule. The automation starts every 5 minutes to keep the unentitled employee list current and ready for use.
- Parse the JSON payload. Extract structured data from the incoming JSON document so the fields can be mapped and used in Snowflake queries.
- Select unentitled employees from Snowflake. Query Snowflake to retrieve all rows where employees lack the required entitlements, then add each row to a batch list for processing.
- Send the batch list via REST. Post the compiled list of unentitled employees to a REST endpoint so downstream systems can provision entitlements or trigger alerts.