Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Recommend Books by Email Using Ollama

When a book request email arrives over IMAP, an Ollama model builds a search query, calls a book API and replies with recommendations by SMTP.

What it does

## How to Run: 1. Ensure the email trigger is connected to a valid inbox (IMAP/Gmail). 2. Verify the Ollama node is running with the correct model. 3. Set valid credentials for the book search API. 4. Click “Execute Workflow” or activate the workflow to listen in real-time. 5. Send a test email with a book request (e.g., “Recommend me a sci-fi novel.”). 6. Check the sent mailbox for the recommendation email. ## Tip: Customize the book genre parser or API call to match your use case.

The steps

  1. Ollama Model
  2. Email Trigger – Book Request
  3. Analyze Email with Ollama
  4. Create Book Search Query
  5. Call Book Search API
  6. Check API Response
  7. Handle No Book Found
  8. Check Book Name
  9. Extract Book Summary
  10. Wait for Summary Response
  11. Retrieve Book Details
  12. Format Book Data
  13. Enhance Data with Code
  14. Generate Email Content

15 steps in total.

Similar automations