← All N8N workflows
AI & researchChain LLMCodeExtract From FileForm TriggerGmail

πŸ“„βœ¨ 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.

Workflow preview
TriggerUpload PDFForm TriggerTransformExtract TextExtract From FileAI & modelsgpt-4o-miniOpenAI Chat ModelWeb / APIpollinations.aiHTTP RequestIntegrationCreate Wordpress PostWordpressWeb / APIUpload Image toWordpressHTTP RequestWeb / APISet Image on WordpressPostHTTP RequestMessagingSend Error MessageTelegramRoutingIs there Title &Content?IfTransformMergeMergeTransformMarkdownMarkdownMessagingHuman In The LoopApprove Blog PostGmailRoutingIs Approved?IfMessagingGmail Final BlogGmailMessagingTelegram Partial BlogTelegramCodeGet Blog PostCodeAI & modelsWrite Blog PostChain LLMTransformGet Base64Extract From FileWeb / APISave Image to imgbb.comHTTP Request

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Upload PDFTriggerForm TriggerSee node parameters
Extract TextTransformExtract From Filepdf
gpt-4o-miniAI & modelsOpenAI Chat ModelSee node parameters
pollinations.aiWeb / APIHTTP RequestSee node parameters
Create Wordpress PostIntegrationWordpressSee node parameters
Upload Image to WordpressWeb / APIHTTP RequestPOST
Set Image on Wordpress PostWeb / APIHTTP RequestPOST
Send Error MessageMessagingTelegramSee node parameters
Is there Title & Content?RoutingIfSee node parameters
MergeTransformMergeSee node parameters
MarkdownTransformMarkdownSee node parameters
Human In The Loop Approve Blog PostMessagingGmailsendAndWait
Is Approved?RoutingIfSee node parameters
Gmail Final BlogMessagingGmailSee node parameters
Telegram Partial BlogMessagingTelegramsendPhoto
Get Blog PostCodeCodeSee node parameters
Write Blog PostAI & modelsChain LLMSee node parameters
Get Base64TransformExtract From FilebinaryToPropery
Save Image to imgbb.comWeb / APIHTTP RequestPOST

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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

  • gmailOAuth2
  • openAiApi
  • telegramApi
  • wordpressApi

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

  1. 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

  1. Adjust the AI prompt to match your desired blog structure and tone.
  2. Modify the image generation parameters to align with your branding needs.

πŸ§ͺ Test & Deploy

  1. 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

More in AI & research