Skip to main content

Inventory reconciliation between Notion & Airtable with GPT-4o Slack alerts

Workflow preview

Workflow preview
100%
Inventory reconciliation between Notion & Airtable with GPT-4o Slack alerts preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description This workflow performs automated inventory reconciliation between Notion (physical counts) and Airtable (system counts), ensuring both databases stay synchronized. It fetches records...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.lmchatazureopenai, n8n-nodes-base.googlesheets, n8n-nodes-base.airtable, n8n-nodes-base.notion, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahul Joshi.

Original n8n.io source

1.1 Workflow description

Title
Inventory reconciliation between Notion & Airtable with GPT-4o Slack alerts
Workflow name
Inventory reconciliation between Notion & Airtable with GPT-4o Slack alerts

📘 Description

This workflow performs automated inventory reconciliation between Notion (physical counts) and Airtable (system counts), ensuring both databases stay synchronized. It fetches records from both systems, merges them into a unified comparison payload, validates the structure, and calculates discrepancies. If a mismatch is detected, the workflow automatically updates Airtable with the corrected count and notifies the operations team on Slack. If everything matches, a simple “No action needed” Slack message is sent. Any malformed or incomplete payloads are logged into Google Sheets for audit tracking.

⚙️ What This Workflow Does (Step-by-Step)

🟢 Manual Trigger – Execute Workflow Starts the reconciliation process on demand.

📥 Fetch Records from Notion Retrieves physical stock data (cycle count) stored in Notion.

📦 Fetch Records from Airtable Loads inventory data from Airtable’s system-of-record table.

🔀 Merge Notion + Airtable Inputs Combines both datasets into a single payload for unified processing.

🔍 Validate Payload Structure (IF Node) Ensures that key fields (like id) exist. Valid → continue Invalid → logged to Google Sheets.

🧾 Log Invalid Versioning Requests to Google Sheets Stores broken or incomplete payload entries for later review.

🧮 Build Combined Notion + Airtable Payload (Code Node) Constructs the structured comparison object: { notion: {...}, airtable: [...] }

📊 Compare Notion Record With Airtable Record (Code Node) Performs core reconciliation logic: Matches items by name Compares physical vs. system count Calculates difference Determines if a correction is needed If mismatch → flagged for update.

🔎 Check If Record Requires Update (IF Node) Branches logic into: Mismatch → Update Airtable + Alert Match → No action summary

🛠️ Update Airtable Record With Corrected Count Writes the accurate physical count from Notion into Airtable.

🧠 Configure GPT-4o – Slack Summary Models Two models: For “no action needed” summaries For “Airtable updated” discrepancy alerts

🤖 Generate Slack Summary / Generate Slack Summary1 AI produces short, precise, operations-friendly Slack messages based on whether a discrepancy existed.

💬 Slack – Send Summary Notification / Send Update Notification Sends final Slack message to the operations user, confirming: Stock match status Updates made Item details Difference values

🧩 Prerequisites

  • Notion API integration
  • Airtable API credentials
  • Azure OpenAI GPT-4o
  • Slack API connection
  • Google Sheets OAuth

💡 Key Benefits

✔ Eliminates manual reconciliation errors ✔ Keeps Airtable continuously aligned with real physical counts ✔ Provides instant Slack visibility to operations teams ✔ Logs all invalid or malformed cases ✔ Centralizes Notion + Airtable consistency checks

👥 Perfect For

  • Operations teams managing multi-system inventory
  • Warehouse cycle count workflows
  • Audit-driven companies needing accurate stock data
  • Businesses using Notion + Airtable as parallel systems

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Configure GPT-4o – Slack Summary Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - lmChatAzureOpenAi
Config choices
Version 1

Block 3 - Log Invalid Versioning Requests to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 4 - Fetch Records from Airtable

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 5 - Fetch Records from Notion Database

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 6 - Merge Notion + Airtable Inputs

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 7 - Build Combined Notion + Airtable Payload

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Compare Notion Record With Airtable Record

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Check If Record Requires Update

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 10 - Generate Slack Summary

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 11 - Slack – Send Summary Notification

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.1

Block 12 - Update Airtable Record With Corrected Count

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 13 - Configure GPT-4o – Slack Summary Model2

Type / Role
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - lmChatAzureOpenAi
Config choices
Version 1

Block 14 - Generate Slack Summary1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 15 - Slack – Send Update Notification

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.1

Block 16 - Validate Payload Structure

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 17 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Inventory reconciliation between Notion & Airtable with GPT-4o Slack alerts
Complexity advanced
Nodes 21
Categories Document Extraction, AI Summarization
Author Rahul Joshi
Published 04 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11479/11479.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Inventory reconciliation between Notion & Airtable with GPT-4o Slack alerts do?

Description This workflow performs automated inventory reconciliation between Notion (physical counts) and Airtable (system counts), ensuring both databases stay synchronized. It fetches records...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.