🔬 Track Excel 365 changes and approvals with Telegram and Google Sheets logging

21 views · 🔬 Document Extraction & Analysis

Description

Track changes and approvals in Excel 365

📌 Overview

This workflow monitors an Excel 365 sheet every minute and detects new, updated, and deleted rows using a unique ID column. It compares the current dataset with the previous snapshot and identifies field-level differences.

When changes are detected, the workflow filters rows that require approval (Status = “Waiting Approval”), sends structured notifications, and optionally logs every field-level change into an audit sheet (Excel or Google Sheets).

The configuration layer allows you to define the ID column, ignored fields, and audit logging behavior without modifying the comparison logic.

This template is suitable for approval tracking, operational monitoring, and lightweight compliance logging.

How it works

  1. Runs every minute using a schedule trigger
  2. Reads rows from Excel 365
  3. Normalizes and stores a snapshot
  4. Compares with the previous state
  5. Detects new, updated, and deleted rows
  6. Filters rows with “Waiting Approval” status
  7. Sends structured notifications
  8. Logs changes if audit logging is enabled

Setup steps

  1. Configure Microsoft Excel credentials
  2. Ensure your sheet contains a unique ID column
  3. Update the Environment Config node 4.(Optional) Configure Google Sheets credentials for audit logging
  4. Activate the workflow

🚀 Features

⏱ Scheduled Monitoring

🔍 Row-Level Change Detection

Detects:

Uses a unique ID field per row for accurate tracking.

🧠 Field-Level Comparison

⚙️ Environment Configuration Layer

Centralized configuration node allows easy customization without modifying core logic.

Configurable options include:

No hardcoded logic required.

🛑 Approval Validation Layer

🔔 Smart Notification System

Fully customizable message formatting. ⸻

📊 Optional Audit Logging

If enabled in the Environment Config:

Audit Log Structure

TimestampChangeTypeRowIDFieldOldValueNew Value

Designed for compliance and tracking purposes.

📦 Use Cases

🧩 Requirements

🔧 Configuration Guide

All system behavior is controlled from the Environment Config node.

Example configuration structure:

{
  CONFIG: {
    idField: "ID",
    ignoreFields: ["UpdatedAt", "LastModified"],
    monitorOnly: null,
    firstRunSilent: true,
    enableAuditLog: true
  }
}

You can customize:

🟢 First Run Behavior

On first execution:

This prevents false “NEW row” alerts during setup.

🏢 Who Is This For?

💡 Why This Workflow?

Unlike simple Excel polling workflows, this solution:

This is not just an Excel notifier — it is a structured Change Tracking & Approval Monitoring System built on n8n.```language


## 🔗 Nodes Used

Google Sheets, Telegram, Microsoft Excel 365, Schedule Trigger

## 📥 Import

Download [`workflow.json`](workflow.json) and import into n8n:
**Workflow menu → Import from File**

[📖 Importing guide](../../../docs/importing-templates.md) · [🔑 Credential setup](../../../docs/credential-setup.md)