Sync Excel data from OneDrive every 5 minutes

Recipe ToolsMarketingDocument/FileDocument Management

What it does

Every 5 minutes, this automation searches OneDrive for files and updates Excel tables with the latest data. It monitors for errors throughout and logs results so someone knows whether the sync succeeded or failed.

Who it's for

Finance teams who need Excel data refreshed automatically from OneDrive without manual updates.

How teams use this

Keep Excel current with OneDrive files

Run the sync every 5 minutes so Excel tables always reflect the latest data stored in OneDrive. The team sees fresh numbers without opening files manually.

Sync data across Sharepoint and Excel

Include Sharepoint as a source so Excel rows pull updates from both OneDrive and Sharepoint. The automation handles both sources in one flow.

Alert on sync failures

Route error logs to a monitoring system so the team is notified when the 5-minute sync fails. Nothing changes in the flow, only where alerts go.

How it works

  1. Run on a 5-minute schedule. The automation starts every 5 minutes to keep Excel synchronized with OneDrive files.
  2. Search for files in OneDrive. Find files in OneDrive that contain the data needed for the Excel update, then list all tables in Excel to prepare for the sync.
  3. Retrieve and update Excel rows. Get cells from ranges and rows from tables in Excel, then update those rows with the latest information from OneDrive files.
  4. Update rows from Sharepoint. Apply changes from Microsoft Sharepoint to Excel rows so all sources stay synchronized across OneDrive, Sharepoint, and Excel.
  5. Log sync results to Job report. Record whether the sync succeeded or encountered an error so someone can monitor the automation health and troubleshoot failures.