Templates / Email-based book recommendations with Ollama LLM and OpenLibrary API

Email-based book recommendations with Ollama LLM and OpenLibrary API

Ready for 3.0

by Oneclick AI Squad ✓ · 591 views · created 2025-07-03 · Support Chatbot, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 15 nodes and runs when a new email arrives over IMAP. Along the way it connects Ollama Chat Model.

How it runs

Trigger: When a new email arrives over IMAP.

  1. Analyze Email with Ollama (AI Agent): runs an AI agent, with model: Ollama Model
  2. Create Book Search Query (Edit Fields (Set)): sets or maps fields
  3. Call Book Search API (HTTP Request): calls an HTTP API
  4. Check API Response (If): checks a condition and branches into true / false
  5. Check Book Name (Code): runs custom JavaScript code
  6. Handle No Book Found (Send Email): sends an email over SMTP
  7. Extract Book Summary (HTTP Request): calls an HTTP API
  8. Wait: pauses before continuing
  9. Retrieve Book Details (HTTP Request): calls an HTTP API
  10. Format Book Data (Edit Fields (Set)): sets or maps fields

…plus 3 more steps. See the full node list below.

Services it uses

Ollama Chat Model

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.

Nodes used (9)

From the author

This workflow listens for incoming book request emails, extracts the user's intent using the Ollama LLM, queries book data (title, summary, details) via an API, and sends a personalized recommendation email. Ideal for automated book suggestions using LLMs and…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.