Find a New Book

Find a New Book automates weekly book recommendations every Friday at 11:00 AM, integrating with EmailSend to notify users about new titles. It checks for available books in juvenile literature, selects a random title, and sends an email with details. If no books are found, it alerts users to update their subject choice, ensuring they always receive fresh reading suggestions.

7/8/2025
13 nodes
Complex
schedulecomplexemailsendautomationadvancedapiintegrationlogicconditionalcodecustomemailnotification
Categories:
Schedule TriggeredComplex Workflow
Integrations:
EmailSend

Target Audience

This workflow is ideal for:
- Book Clubs: To automate weekly book recommendations.
- Educators: To provide students with curated reading lists.
- Libraries: To engage patrons with new literature.
- Content Creators: To share book recommendations with their audience.
- Anyone interested in literature: For a fun way to discover new books every week.

Problem Solved

This workflow addresses the challenge of finding and recommending books based on a specific subject. It automates the process of:
- Checking the availability of books in a subject area.
- Selecting a random book from the available options.
- Sending email notifications with book recommendations or alerts if no books are found.

Workflow Steps

  • Trigger the workflow: The process can be initiated either manually or automatically every Friday at 11:00 AM.
    2. Set the Subject: The workflow sets the subject for the book search to juvenile literature.
    3. Retrieve Book Count: It queries the Open Library API to get the count of available books for the specified subject.
    4. Check Book Count: If there are books available, it proceeds; otherwise, it sends an email notifying that no books were found.
    5. Select Random Book: A random book is selected from the available options.
    6. Retrieve Basic Book Info: The workflow fetches basic information about the selected book.
    7. Retrieve Detailed Book Info: It retrieves detailed information, including the book's description.
    8. Filter Book Info: This step extracts relevant details such as authors, title, description, and URL.
    9. Create Author String: The authors are formatted into HTML links for better presentation.
    10. Prepare Book Recommendation: The workflow constructs the email subject and body with the book recommendation.
    11. Send Book Email: Finally, the recommendation is sent via email to the specified recipient.
  • Customization Guide

    Users can customize this workflow by:
    - Changing the Subject: Modify the value in the 'Set Subject' node to focus on different genres or topics.
    - Adjusting the Schedule: Change the cron settings to run the workflow at different times or days.
    - Updating Email Addresses: Replace the 'toEmail' and 'fromEmail' fields in the email nodes to send recommendations to different recipients.
    - Modifying Email Content: Customize the HTML content in the 'Book Recommendation' and 'Send No Book Email' nodes for personalized messaging.
    - Adding Additional Logic: Introduce more conditions or extra nodes for further processing or different actions based on user needs.