GenAiHub

Last checked 23 October 2026 — responded normally.

Clean library book catalogs with Google Books, Google Sheets, and Gmail

Quick overview

Live
Open / InstallLast updated October 23, 2026

Description

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 exceptions to a manual review sheet, and emails an import summary via Gmail. How it works Receives an HTTP POST webhook request containing an uploaded .xlsx file. Validates the file type and size, parses the spreadsheet into rows, loads existing catalog entries from Google Sheets, and initializes an in-memory set of “seen” book keys for deduplication. Processes rows in batches of 50, cleaning and validating ISBN-10/ISBN-13 values and tagging invalid or missing ISBNs for manual review. Checks each valid row for duplicates (by ISBN or normalized title/author) and routes duplicates to the “Needs Manual Review” Google Sheets tab with a reason. For non-duplicate books, waits briefly and calls the Google Books API by ISBN to fetch metadata, then normalizes title/author/publisher/year/category and falls back to spreadsheet values when metadata is missing. Upserts standardized, cleaned records into the “Clean Master DB” Google Sheets tab and appends any metadata lookup failures to “Needs Manual Review.” Compiles run-level counts (updated, duplicates, missing/invalid ISBN, errors, manual review) and sends an import summary email via Gmail. Setup Create a webhook caller (or form/tool) that uploads an .xlsx file to the workflow’s POST webhook URL at /library-upload. Add Google Sheets OAuth2 credentials and replace YOUR_LIBRARY_SPREADSHEET_ID, ensuring the workbook contains tabs named “Clean Master DB” and “Needs Manual Review” with matching columns. Add an HTTP Header Auth credential for the Google Books API request (or adjust the request authentication) and confirm any required API key/header values. Add Gmail OAuth2 credentials and update the recipient address (currently library-admin@example.com) for the import summary email. Ensure the uploaded spreadsheet includes the expected headers: ISBN, Book Title, Author, Publisher, Year, and Category. An n8n automation workflow template by AYLA BATOOL.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

AYLA BATOOL

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • google-sheets
  • http-request
  • gmail
  • code

Capabilities

  • 4 nodes

Information

TypeWorkflow
Sourcen8n
AddedOctober 10, 2026

Comments

?

Others in the same category, ranked by how often they are opened.