Sync risk records to Google Big Query weekly

Recipe ToolsMarketingWorkatoDeveloper ToolAPI IntegrationData ParserUtilitiesNLUArtificial Intelligence

What it does

When the scheduled time arrives each Sunday at midnight, this automation fetches risk records via HTTP requests and parses the response. It then inserts each record into a BigQuery table so the data stays current.

Who it's for

Data and analytics teams who need risk records synced to BigQuery on a regular schedule.

How teams use this

Keep risk data current in BigQuery

Sync risk records from the source system to BigQuery every Sunday so analysts always have the latest data for reporting and analysis without manual uploads.

Monitor risk records more frequently

Change the schedule from weekly to daily or hourly so risk data refreshes more often and the team can detect changes sooner.

Filter records by risk level before upload

Add a condition to the automation so only high-priority risk records are inserted into BigQuery, reducing noise and focusing on critical data.

How it works

  1. Run every Sunday at midnight. The automation starts on a weekly schedule at 12:00 AM on Sunday so risk records are refreshed at a consistent time.
  2. Fetch risk records via HTTP request. Send HTTP requests to the source system to retrieve risk records. The automation repeats requests and checks a condition to ensure all records are fetched before moving forward.
  3. Parse the JSON response. Parse the JSON response from the HTTP requests so the risk records are structured and ready for BigQuery insertion.
  4. Insert records into BigQuery. For each risk record in the parsed data, insert a row into the risk_table in BigQuery so all records are stored in the data warehouse.