Clean library book catalogs with Google Books, Google Sheets, and Gmail
Ready for 3.0What this workflow does
This workflow has 27 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Gmail. It also calls googleapis.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate Uploaded File (Code): runs custom JavaScript code
- Parse Uploaded Spreadsheet (Spreadsheet File): reads or writes a spreadsheet file (legacy node)
- Get Existing Catalog Rows (Google Sheets): uses Google Sheets
- Seed Existing Catalog Keys (Code): runs custom JavaScript code
- Process Books in Batches of (Loop Over Items (Split in Batches)): loops over the items in batches
- Compile Import Summary (Code): runs custom JavaScript code
- Validate ISBN (Code): runs custom JavaScript code
- Email Import Summary (Gmail): uses Gmail
- Is ISBN Valid (If): checks a condition and branches into true / false
- Check Duplicate Book (Code): runs custom JavaScript code
…plus 15 more steps. See the full node list below.
Services it uses
HTTP calls to: googleapis.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Spreadsheet File (Parse Uploaded Spreadsheet): Convert to File / Extract from File.
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Spreadsheet File
n8n-nodes-base.spreadsheetFile - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - No Operation, do nothing
n8n-nodes-base.noOp - Gmail
n8n-nodes-base.gmail - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow receives an uploaded .xlsx library inventory, validates and normalizes ISBNs, enriches book details via the Google Books API, deduplicates against an existing Google Sheets catalog, writes clean records to a master sheet, routes…