AI Agents

- Create a blog post on CRM from a PDF document

12 nodes 284 140 Automatic trigger
Download

Workflow Description

Converts PDF documents about customer relationship management into complete blog articles. The workflow receives a PDF through a form, extracts its content, then deploys an AI agent powered by OpenAI to craft a professional article and publish it directly on Ghost.

How it works

  1. 1.Receive PDF file through an interactive form trigger
  2. 2.Extract text and data from the document
  3. 3.Process content using an intelligent agent based on OpenAI models
  4. 4.Parse and format data using a structured output parser
  5. 5.Validate output quality and apply filtering conditions
  6. 6.Publish the final article directly to Ghost blog

Use cases

  • Transform company reports and whitepapers into ready-to-publish marketing content
  • Generate specialized CRM articles from internal business documents efficiently

Requirements

  • Active Ghost account with API keys for direct publishing
  • OpenAI API key to enable natural language processing capabilities

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Form Trigger Ghost OpenAI Output Parser AI Agent

Details

Trigger Automatic trigger
Nodes 12
Apps 5
Views 284
Downloads 140

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (12)

/

Sticky Note

Sticky Note

#1

Sticky Note1

Sticky Note

#2

Sticky Note3

Sticky Note

#3

Upload PDF

Form Trigger

#4

Extract Text

Extract From File

#5

Post to Ghost

Ghost

#6

gpt-4o-mini

OpenAI

#7

Structured Output - JSON

Output Parser Structured

#8

Separate Title & Content

Code

#9

If

If

#10

Do Nothing

No Op

#11

Create Structured Blog Post

Agent

#12