- AI Fire
- Posts
- ⚡Write Custom eBooks in Minutes with AI Automation
⚡Write Custom eBooks in Minutes with AI Automation
Discover how AI automation can make book writing easier, saving you time and helping your business with personalized eBooks for your audience.
Have you used AI to create an eBook? 😯 |
Table of Contents
Introduction to E-Book Automation
Writing a book can be a long and challenging process. But what if you could automate it and create a book with just a click? This guide will show you how to do just that, making the whole process quick and easy.
Books can really help your business by boosting your reputation on platforms like Amazon or Kindle and acting as powerful lead magnets.
With Make, I'll walk you through setting up an automation that writes and customizes e-books based on user input. It will save your time and make sure each book goes perfect for your audience. If you want to streamline your content creation or grow your business, this guide is for you. So, grab a coffee, and let's get started!
Step-by-step guide
I. Collect Input for Your E-Book
1: Getting started with Google Forms
Log in to Google Forms
2. Creating an E-book Automation Form
Create a form to collect information about the book users want to create.
Include fields for:
Email
Book title
Description
Number of chapters (from 1 to any numbers you choose)
Reading level (from 1st to 12th grade, or undergraduate, etc.)
You can take a look at my sample.
Submit responses.
II. Automate E-Book Creation with Make
1. Sign up to Make and Create a Scenario
Log into Make and create a new scenario.
After logging in, go to the Make dashboard.
Navigate to the Scenarios section, where you will see a purple button labeled “Create a new scenario” at the top right of the page. Click on it.
2. Add Modules to Automate E-Book Creation
Module 1: Google Forms
Select "Watch responses" to trigger the automation when a new form submission is received.
Setup: Add a connection to your Google Forms.
Form ID: Your Google form ID will be between “d/” and “/edit” then fill these characters into the “Form ID” box.
Set the limit to 1, meaning that only one result is returned after running.
Module 2: Open AI
Create/Log in your account on OpenAI and generate an API key.
Back to your scenario in Make, select “Create a Completion” to generate a detailed outline of the book based on the user's input.
Role: Choose “User”.
Message Content: Fill in as below:
With Book Title, means that you will click in the following order based on the result of the Google Forms module:
Answer
Book Title
textAnswers
Answer [ ]
Value.
Do the same with Book Description, Number of Chapters and Reading Level.
Max Tokens: 4000 (increase if more are needed but keep it below approximately 5000).
Please write an outline for an ebook on the following:
Book Title: {{5.answers.`787a2b6a`.textAnswers.answers[].value}}
Book Description: {{5.answers.`05df0160`.textAnswers.answers[].value}}
Number of Chapters: {{5.answers.`0b94d020`.textAnswers.answers[].value}}
Reading level: {{5.answers.`60948fa1`.textAnswers.answers[].value}}
Learn How to Make AI Work For You!
Transform your AI skills with the AI Fire Academy Premium Plan – FREE for 14 days! Gain instant access to 100+ AI workflows, advanced tutorials, exclusive case studies, and unbeatable discounts. No risks, cancel anytime.
Module 3: Tools
This module helps prepare a storage place to accumulate each chapter's content as they are created.
Select “Set variable”.
Setup:
In the “Variable name” box, fill in “cumulative chapters”.
The “Variable value” will be left blank.
Module 4: Repeater
The repeater ensures each chapter is generated sequentially based on the user's specified number of chapters.
Setup: In “Repeats” box, based on the result of the Google Forms module, click in the following order:
Answer
Number of chapters
textAnswers
answer [ ]
value
Module 5: Tools
This module is to retrieve the current value of the cumulative chapters variable.
Action: Select “Get variable”.
Setup: In “Variable name” box, fill in “cumulative chapters”.
Module 6: OpenAI
Module 6 serves as a content generator for each chapter based on the outline and user input.
Select “Create a Completion”.
Role: Choose “User”.
Setup: In “Message Content” box, you can do similarly to the following example:
( is clearly explained in Module 2 - OpenAI. If you are not sure, please revisit the module.)
Please write chapter {{8.i}} of the following book for in the tone and stule of Anthony Robbins:
Book Title: {{5.answers.`787a2b6a`.textAnswers.answers[].value}}
Book Description: {{5.answers.`05df0160`.textAnswers.answers[].value}}
Number of Chapters: {{5.answers.`0b94d020`.textAnswers.answers[].value}}
Reading level: {{5.answers.`60948fa1`.textAnswers.answers[].value}}
Here is the outline: {{6.choices[].message.content}}{{6.object}}
Please provide only the chapter as output with no other commentary, in markdown format. The chapter title should start with the chapter title in H2.
For the subsequent space of the phrase “Here is the outline:”, based on the result of module 2, click in the following order:
Choices [ ]
Message
Content
Max Tokens: 4000 (increase if more are needed but keep it below approximately 5000).
Module 7: Tools
Module 7 helps to store the result of each chapter generated by OpenAI, and then keep track of the content of the current chapter before appending it to the cumulative chapters.
Select “Set variable”.
Setup:
In “Variable name”, fill in “chapter”.
In “Variable value”, based on the result of module 6 - OpenAI, click in the following order:
Choices [ ]
Message
Content.
Module 8: Tools
Module 8 helps to update the cumulative chapters variable with the content of the new chapter by continually building the full book content chapter by chapter.
Select “Set variable”.
Setup:
Fill in “cumulative chapters” for the “Variable name”
In Variable value:
Choose “cumulative chapters”, which is the result of Module 5.
Add “newline” by searching at the bar above.
Choose “chapter”, which is the result of Module 7.
Module 9: Markdown
The Markdown Module helps convert the cumulative chapters content to HTML format.
Select “Markdown to HTML”
Setup: In the “Markdown” box,
Add “#”
Based on the result of the Google Forms module, click in the following order:
Answer
Book Title
textAnswers
answers [ ]
value
Add “newline” by searching the above bar.
Choose “cumulative chapters”, which is the result of Module 8.
Add a filter to ensure the loop runs only the specified number of times to generate the desired number of chapters by comparing the current iteration to the total number of chapters.
Click dots between Module 8 and Module 9 to set up a filter.
The condition will be the output of Module 4 - Repeater. In my scenario, it is named “i”.
In the “Text operators: Equal to”, based on the result of the Google Forms module, you will click in the following order:
Answer
Number of chapters
textAnswers
answers [ ]
value
Module 10: PDF.co
Select “Convert HTML to PDF”.
Add a connection
Now log in to your PDF.co, then go to the main dashboard.
Look for your API key on the dashboard. It’s usually displayed prominently or under a specific section like "API Keys" or "Account Settings."
Back to your scenario in Make, click on the “PDF.co” module, then click on “Add” and fill in your API key to set up the connection.
Choose “HTML to PDF” for the “Convert Type”.
In the “Input HTML Code” box, fill in:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
{{13.data}}
</body>
</html>
“HTML” in purple (as shown in the image above) is the output of Module 9 - Markdown.
Module 11: Email
The Email Module helps send the final product to the recipient, completing the automation process.
Select “Send an Email”.
Add connection to your email.
In “Email Address 1”, based on the result of the Google Forms module, you will click in the following order:
Answer
706bce8d (a variable)
textAnswers
answers [ ]
value
In the “Subject” box, you can fill in: “Your e-book is ready!”
Choose “Plaintext” for the “Content Type”.
In “Content”, fill in:
“Please see attached for your e-book, and I hope you liked this e-book automation!
Enjoy!
AI Fire”
III. Review the E-Book Creation Automation Scenario
Click “Run once”.
Check the generated e-book sent via email:
Conclusion
Automating the book writing process can save you a lot of time and effort, especially when creating personalized content.
By following this guide, you can set up an easy system using Google Forms, Make, OpenAI, and other tools to generate custom e-books based on user input. This automation not only makes content creation faster but also helps build your authority and attract more leads for your business. Give this automation a try, and start creating personalized e-books that will boost your business and better engage your audience.
If you're curious about other ways AI is changing our lives or want detailed, step-by-step guides on how to make money using AI, check out our other articles here:
The Ultimate AI-Powered Lead Generation System to Attract High-Value Clients*
How to Build Your Own Automated AI Sales System with Voice Notes: A Step-by-Step Guide
Wanna Build an E-Book from Your Notes? This Guide is For You: Let's Explore the Power of AI!!!*
Step-by-step Guide to Create Your AI Bot for Easy FAQ Automation
Transform Your Daily News into a Personalized AI Podcast: Guide to Creating Engaging Audio Summaries*
How would you rate this AI Automation? 🚀 |
Reply