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
- Ollama Model
- Email Trigger – Book Request
- Analyze Email with Ollama
- Create Book Search Query
- Call Book Search API
- Check API Response
- Handle No Book Found
- Check Book Name
- Extract Book Summary
- Wait for Summary Response
- Retrieve Book Details
- Format Book Data
- Enhance Data with Code
- Generate Email Content
15 steps in total.
Similar automations
Email AutomationReply to Travel Requests by Email with Ollama5 stepsEmail AutomationDraft Email Replies from IMAP with Ollama and Gmail5 stepsAI Agents & AssistantsCreate Trip Itineraries from Email and WhatsApp with Ollama8 stepsEmail AutomationReview AI Email Replies Before Sending via IMAP10 steps