Export Snowflake customer data every 15 minutes

Recipe ToolsMarketingDatabase

What it does

When the clock triggers every 15 minutes, this automation queries Snowflake for customer data. The result exports as a CSV file so external systems can consume the latest records on a regular schedule.

Who it's for

Data and analytics teams who need to sync Snowflake customer data to external platforms on a fixed interval.

How teams use this

Sync customer data on a schedule

Export Snowflake customer records as a CSV every 15 minutes so downstream platforms always have fresh data without manual intervention or extra steps.

Feed a data warehouse refresh

Run the query and export on a fixed interval to keep a secondary warehouse in sync with Snowflake. The same flow works for any target that accepts CSV files.

Filter records before export

Add a condition to the query so only customers matching certain criteria are included in the CSV. This requires modifying the Snowflake query to filter by status or region.

How it works

  1. Start the 15-minute schedule. The automation runs every 15 minutes to keep customer data current in downstream systems without manual intervention.
  2. Query customer data from Snowflake. Retrieve the CustomerData table from Snowflake so the latest records are included in the export to external platforms.
  3. Export query result as CSV in Snowflake. Convert the query result to a CSV file in Snowflake so external systems can consume the data in a standard format.