Send email on a scheduled interval via Workato Service
Recipe ToolsDocument/FileSales EnablementData ParserMarketingDatabase
What it does
When a scheduled interval occurs, this automation downloads a file from Google Drive and parses it into rows. The parsed data replicates to Snowflake, and email confirms the batch completed so someone knows the load succeeded.
Who it's for
Data and analytics teams who need scheduled email confirmation when batch jobs complete.
How teams use this
Confirm daily batch loads complete
Run this automation each morning to download the latest file, parse it, load it to Snowflake, and email the team that the job finished. No manual checks are needed.
Alert finance when payroll data syncs
Point this automation at the payroll file in Google Drive and send email to finance when rows land in Snowflake. The same steps work for a different file and team.
Add error handling to the email
Include a condition in the email step so it only sends when the Snowflake load succeeds, or sends a different message if it fails. That adds visibility to problems.
How it works
- Start on a set interval. At the scheduled time, this automation begins and prepares to process the batch from Google Drive.
- Download the file from Google Drive. Retrieve the file contents so the data is ready to parse and load into the data warehouse.
- Parse the CSV file. Convert the file into structured rows so each item can be processed and added to the list for replication.
- Replicate rows to Snowflake. Load the batch of parsed rows into Snowflake so the data warehouse stays current with the source file.
- Send email confirmation. Notify someone via email that the batch processed, the file was parsed, and the rows were replicated to Snowflake.