Sync Sharepoint files with XML parsing and logging

Document ManagementMarketingRecipe ToolsDocument/FileUtilitiesData Parser

What it does

When a file is added or updated in a Microsoft Sharepoint folder, this automation downloads it and checks if it is a zip file. Files are routed accordingly, processed results are uploaded back to Sharepoint, and outcomes are logged to job reports.

Who it's for

IT teams who need to monitor Sharepoint folders, process files automatically, and maintain audit logs without manual intervention.

How teams use this

Monitor uploads and log all outcomes

Track every file added to Sharepoint, process it based on type, and record success or failure in job reports. The team has a complete audit trail without checking Sharepoint manually.

Route zip files to extraction process

Detect zip archives and send them to a dedicated extraction workflow while other files follow the standard path. Only the routing condition changes to handle archive files differently.

Add CSV validation before upload

Include a CSV parser to validate data in non-zip files before upload, and set a condition to reject records that fail validation. This adds a quality gate without changing the core flow.

Notify teams of processing failures

Send alerts to team channels when files fail to process or validation checks reject records. The team responds faster to issues without waiting for manual log review.

How it works

  1. Monitor Sharepoint folder for file changes. Watch a Microsoft Sharepoint folder hierarchy for new or updated files. When a file appears, the automation starts and captures the file reference and name.
  2. Download the file from Sharepoint. Retrieve the file from the Microsoft Sharepoint library so it can be inspected and processed by downstream steps.
  3. Check if file is a zip archive. The Xml Parser examines the file to determine if it is a zip archive. Zip files route to one path and other files route to another so each type is handled correctly.
  4. Upload processed file and log outcome. Send the processed file to a folder in the Microsoft Sharepoint library. The system logs the file name and outcome to job reports for audit purposes.