Sync MySQL building records on schedule
Recipe ToolsMarketingDatabase
What it does
When a scheduled time arrives, this automation queries the buildings table in MySQL to retrieve rows based on the date. The results are logged to a job report for review.
Who it's for
Data and analytics teams who need to regularly pull building records from MySQL on a fixed schedule.
How teams use this
Pull daily building inventory from MySQL
Run the query every morning at 6 AM to fetch buildings added or updated since the last sync. The job report shows what records came through so the team knows the data is current.
Write results to a data warehouse
Add a step after logging to push the MySQL batch into a data warehouse or analytics platform. Include a connection to the target system so the building records flow downstream automatically.
Filter building records by region
Change the MySQL query to filter buildings by a specific region or property type instead of date alone. The schedule and logging remain the same, only the filter condition in MySQL changes.
How it works
- Run on a specified schedule. The automation starts at the date and time someone configures, then runs again on that same schedule each cycle.
- Select rows from the buildings table. Query MySQL to retrieve building records based on the date filter. The results are processed in batches so large datasets are handled efficiently.
- Log results to the job report. Write the query results and sync status to a job report in MySQL so someone can verify the rows were retrieved and confirm the automation ran as expected.