Sync Spectrum data to TradeTapp daily
Recipe ToolsMarketingDocument/FileDatabaseFile Transfer
What it does
When the clock triggers at 7 AM each day, this automation exports a SQL Server query result as a CSV file. It downloads the file from the on-prem system, uploads it to Sftp, and sends an email with the outcome or any errors.
Who it's for
Data and analytics teams who need to move Spectrum data to TradeTapp on a daily schedule without manual intervention.
How teams use this
Automate daily Spectrum to TradeTapp sync
Run the export and upload on schedule every morning so TradeTapp always has fresh Spectrum data without someone manually triggering the process each day.
Sync to a different Sftp destination
Point the upload step to a different Sftp server or folder so the same daily process feeds multiple downstream systems with Spectrum data.
Filter data before upload
Add a condition to the SQL query so only records matching certain criteria are exported and sent to TradeTapp each day without extra processing.
Notify on sync failures
Include an email step in the error path so the team is alerted in real time when the daily sync fails to complete and needs investigation.
How it works
- Run daily at 7 AM. This automation runs every day at 7:00 AM to keep TradeTapp synchronized with the latest Spectrum data from SQL Server.
- Export SQL query as CSV. Export the query result as a CSV file in SQL Server so the data is ready to move to the on-prem file system.
- Download file from on-prem storage. Download the CSV file from the on-prem file system using Onprem Files so it can be sent to the Sftp server.
- Upload CSV file to Sftp. Upload the CSV file to the Sftp server using Sftp so TradeTapp can access the latest Spectrum data.
- Send completion or error email. Send an email notification with the outcome. If an error occurs during the process, the automation retries up to 2 times before notifying someone.