Create AI-generated books with GPT-4.1-mini, DALL-E, Google Drive and AWS S3
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model, Google Drive, OpenAI and AWS S3. It also calls googleapis.com over HTTP.
How it runs
Trigger: When a chat message arrives.
- Book Brief Agent (AI Agent): runs an AI agent, with model: gpt-4.1-mini; output parser: Structured Output Parser
- Book Writer Agent (AI Agent): runs an AI agent, with model: gpt-4.1-mini; 2 tools (Designer Agent, Content Writer Agent); output parser: Structured Output Parser
- Generate cover image (OpenAI): work with image
- Upload to AWS S (AWS S3): upload
- Configure metadata (Edit Fields (Set)): sets 2 fields: Drive Folder ID, S3BaseURL
- Build book html (Markdown): converts between Markdown and HTML
- Upload to Google Drive (HTTP Request): calls googleapis.com (POST)
- Convert document to PDF (Google Drive): download
- Archive to Drive Folder (Google Drive): uses Google Drive
Services it uses
HTTP calls to: googleapis.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - OpenAI
@n8n/n8n-nodes-langchain.openAi - AWS S3
n8n-nodes-base.awsS3 - Markdown
n8n-nodes-base.markdown - HTTP Request
n8n-nodes-base.httpRequest
From the author
Multi-Agent Book Creation Workflow with AI Tool Node and GPT-4, DALL-E Who’s it for This workflow is designed for: - Content creators who want to generate books or structured documents automatically. - Educators and trainers who need quick course materials,…