Sync split files daily to Google Drive

Recipe ToolsMarketingDocument/FileSales EnablementData ParserUtilities

What it does

When the clock triggers at midnight each day, this automation downloads a file from Google Drive and parses its content into batches. Each batch is processed through a template and uploaded back to Google Drive so the team has fresh split files ready.

Who it's for

Operations teams who need to split and transform files on a daily schedule without manual work.

How teams use this

Automate daily file splits

Run the split and transform process every night so fresh files are ready each morning. The team no longer needs to manually download, parse, and upload files.

Route split files to project folders

Change the upload destination to send each batch to a different Google Drive folder based on project or department. The parsing and template steps stay the same.

Add validation before upload

Include a condition to check that each transformed batch meets data quality standards before uploading to Google Drive. Only valid batches are saved.

How it works

  1. Run daily at midnight. This automation starts every day at 12:00 AM to keep files current and split according to schedule.
  2. Download the source file. Fetch the file contents from Google Drive so the content can be parsed and processed in the next steps.
  3. Parse content into batches. Extract and organize the document into batches using Xml Parser so each one can be processed separately through the template.
  4. Transform each batch with template. For each batch, apply the template to format and structure the data according to requirements before uploading.
  5. Upload split files back. Save the transformed batches as files to Google Drive so the team can access the split files immediately.