Email-Based Book Recommendations with Ollama LLM and OpenLibrary API
    100%
    Automation
    0(0 reviews)
    53 downloads

    Email-Based Book Recommendations with Ollama LLM and OpenLibrary API

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    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 structured APIs, great for newsletters, reading clubs, and educational bots. ## How It Works 1. Email Request: Triggers the workflow when a new email with a book request is received. 2. Analyze Email with Ollama: Extracts user intent and book preferences using the Ollama LLM. 3. Create Book Search Query: Generates a query based on the analyzed intent. 4. Book Search API: Fetches book data (title, summary, details) from an API. 5. Check API Response: Validates the API response for book availability. 6. Handle No Book Found: Manages cases where no suitable book is found. 7. Extract Book Summary: Pulls the summary from the API response. 8. Wait for Summary Response: Pauses to ensure summary data is ready. 9. Retrieve Book Details: Gathers additional book details. 10. Format Book Data: Structures the book information for the recommendation. 11. Enhance Data with Code: Refines the data using custom code. 12. Generate Email Content: Creates a personalized email recommendation. 13. Send Email: Delivers the recommendation to the user. ## How to Use - Import the workflow into n8n. - Configure email credentials for the Email Request node. - Set up Ollama LLM API credentials and endpoint. - Configure the Book Search API with appropriate credentials and endpoint. - Test with a sample email requesting a book recommendation. - Adjust the Generate Email Content node for custom email templates if needed. - Ensure the Send Email node is linked to a valid email service. ## Requirements - Email service API credentials (e.g., Gmail, SMTP) - Ollama LLM API access - Book Search API credentials ## Customizing This Workflow 1. Modify the Analyze Email with Ollama node to refine intent extraction for specific genres. 2. Adjust the Book Search API query to target different book databases. 3. Customize the Generate Email Content node to include additional details like author bios.

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 5-15 min

    Included in Builder Pro — $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    —

    0 reviews

    5★
    0
    4★
    0
    3★
    0
    2★
    0
    1★
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought