Export lookup table rows to CSV every 5 minutes

Recipe ToolsMarketingData ParserUtilities

What it does

When the clock triggers every 5 minutes, this automation retrieves all entries from the maccabiHaifa lookup table. The top 5 rows are composed into a CSV file, parsed into a list, and ready for the next step.

Who it's for

Data and analytics teams who need to regularly extract and format lookup table data for reporting or integration.

How teams use this

Export lookup data on schedule

Run the export every 5 minutes so the latest lookup table entries are always available as a CSV file. The team gets fresh data without manual intervention each cycle.

Feed data to downstream systems

Parse the CSV into a list format so the records can be sent to other tools or databases. Only the top 5 rows are processed each cycle to keep payloads manageable.

Monitor and handle export errors

If an error occurs during retrieval or parsing, the job stops and does not retry automatically. The team can review the logs to fix the lookup table or CSV structure.

Filter rows by condition before export

Add a condition to the lookup table retrieval so only rows matching specific criteria are included in the CSV. This reduces file size and ensures only relevant data is exported.

How it works

  1. Run every 5 minutes. The automation starts on a 5-minute schedule using Clock so the exported data stays current without manual intervention.
  2. Retrieve all lookup table entries. Get all rows from the maccabiHaifa lookup table so the full dataset is available for export and processing.
  3. Create and parse CSV with top 5 rows. Compose the CSV file containing the top 5 records from the lookup table using Csv Parser, then parse it into a structured list format.
  4. Stop after one iteration. The job stops after processing a single batch of 5 records to prevent duplicate exports and keep the cycle clean.