Sync company data from Amazon S3 to Snowflake
Developer ToolMarketingDatabase
What it does
When a new file arrives in Amazon S3, this automation bulk loads rows into a Snowflake table from the staging location. The file is then deleted from S3 to keep the bucket clean.
Who it's for
Data and analytics teams who need to move large files from Amazon S3 into Snowflake without manual steps.
How teams use this
Automate daily data warehouse loads
Load company data from S3 into Snowflake on a schedule without manual intervention. The file is removed after loading so the bucket stays organized and costs stay low.
Route data to different warehouse tables
Extend this automation to load into alternate tables so different teams access the right company data. Only the target table name changes in the bulk load step.
Notify teams when loads complete
Add a Slack notification after the bulk load finishes so the data team knows the company table is refreshed. The core load and cleanup steps stay the same.
Filter files before loading
Add a condition to check the file name or size before bulk loading so only relevant company data enters Snowflake. This prevents unnecessary loads and keeps the warehouse focused.
How it works
- Monitor for new files in S3. Watch Amazon S3 for new file slices that arrive in the bucket. When one appears, the automation starts.
- Bulk load data to Snowflake. Snowflake bulk loads rows from the staging location into the company table so the data is ready for analysis.
- Clean up the source file. Delete the file or folder from Amazon S3 after the data loads successfully to Snowflake.