πβ¨ Easy Wordpress Content Creation from PDF Document + Human In The Loop with Gmail Approval
Configured with Chain LLM, Extract From File, Form Trigger, Gmail, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Transform
- AI & models
- Web / API
- Integration
- Messaging
- Routing
- Code
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and β to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Upload PDF | Trigger | Form Trigger | See node parameters |
| Extract Text | Transform | Extract From File | |
| gpt-4o-mini | AI & models | OpenAI Chat Model | See node parameters |
| pollinations.ai | Web / API | HTTP Request | See node parameters |
| Create Wordpress Post | Integration | Wordpress | See node parameters |
| Upload Image to Wordpress | Web / API | HTTP Request | POST |
| Set Image on Wordpress Post | Web / API | HTTP Request | POST |
| Send Error Message | Messaging | Telegram | See node parameters |
| Is there Title & Content? | Routing | If | See node parameters |
| Merge | Transform | Merge | See node parameters |
| Markdown | Transform | Markdown | See node parameters |
| Human In The Loop Approve Blog Post | Messaging | Gmail | sendAndWait |
| Is Approved? | Routing | If | See node parameters |
| Gmail Final Blog | Messaging | Gmail | See node parameters |
| Telegram Partial Blog | Messaging | Telegram | sendPhoto |
| Get Blog Post | Code | Code | See node parameters |
| Write Blog Post | AI & models | Chain LLM | See node parameters |
| Get Base64 | Transform | Extract From File | binaryToPropery |
| Save Image to imgbb.com | Web / API | HTTP Request | POST |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8nβs credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
gmailOAuth2openAiApitelegramApiwordpressApi
Workflow notes
Create Wordpress Post and Add New Image
Create Wordpress Post and Add New Image
https://docs.n8n.io/integrations/builtin/credentials/wordpress/
Create Post Image
Create Post Image
https://pollinations.ai/ https://image.pollinations.ai/prompt/[your image description]
π― Description
π― Description
This n8n workflow automates the process of transforming PDF documents into engaging, SEO-friendly WordPress blog posts. It incorporates AI-powered text analysis, automatic image generation, and a human review step to ensure quality before publishing.
π How It Works
ποΈ PDF Upload & Text Extraction
- Users upload a PDF document through a form trigger.
- The workflow extracts text from the uploaded file, ensuring compatibility with supported formats.
π€ AI-Powered Blog Post Generation
- The extracted text is analyzed by an AI model (GPT-based) to create a structured blog post.
- The AI generates:
- A captivating SEO-friendly title.
- Well-formatted HTML content, including an introduction, chapters with subheadings, and a conclusion.
π¨ Image Creation & Integration
- An image is generated using Pollinations.ai based on the blog post title.
- The vibrant image is uploaded to WordPress and set as the featured image for the post.
π WordPress Draft Creation
- A draft blog post is created on WordPress with the AI-generated title, content, and featured image.
β Human-in-the-Loop Approval
- The draft content is sent via Gmail to a reviewer for manual approval.
- If approved, the post is published on WordPress. If not, an error message is sent for troubleshooting.
π’ Multi-Channel Notifications
- Once published, notifications are sent via Gmail and Telegram to relevant stakeholders.
π§ Setup Steps
π Configure API Credentials
- Set up API connections for:
- OpenAI (for AI content generation).
- WordPress (for post creation and media uploads).
- Gmail (for sending approval emails).
- Telegram (for notifications).
βοΈ Customize Workflow Parameters
- Adjust the AI prompt to match your desired blog structure and tone.
- Modify the image generation parameters to align with your branding needs.
π§ͺ Test & Deploy
- Test the workflow with sample PDFs to ensure:
- Accurate text extraction.
- Proper formatting of generated content.
- Seamless approval and publishing processes.
This workflow streamlines content creation while maintaining quality control through human oversight, making it an ideal solution for efficient blog management! π
Save Image to imgbb
Save Image to imgbb
https://api.imgbb.com/
πβ¨ Easy Wordpress Content Creation from PDF Document + Human In The Loop with Gmail Approval
πβ¨ Easy Wordpress Content Creation from PDF Document + Human In The Loop with Gmail Approval
Purpose and structure
This folder contains the πβ¨ Easy Wordpress Content Creation from PDF Document + Human In The Loop with Gmail Approval workflow. Its executable nodes use chainLlm, code, extractFromFile, formTrigger, gmail, httpRequest, if, lmChatOpenAi, markdown, merge, telegram, wordpress. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Upload PDF
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Telegram/1424_Telegram_Code_Automation_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Upload PDF and Extract Text
- Create Blog Post
- π«π€© New - Human In The Loop
- πβ¨ Easy WordPress Content Creation from PDF Document + Human in the Loop with Gmail Approval