AI Agents

A confusing search to create AI-powered content in

47 nodes 230 107 Webhook
Download

Workflow Description

An intelligent automation that generates AI-powered content through a smart agent, receives requests via webhook, processes them using OpenAI's advanced models, and automatically publishes results to Telegram and X. This streamlined workflow eliminates manual content creation steps while maintaining consistent quality across channels.

How it works

  1. 1.Receive search request through webhook and extract input parameters
  2. 2.Route data to an AI agent powered by OpenAI models to understand context and generate content
  3. 3.Process output through a structured parser to ensure quality and proper formatting
  4. 4.Distribute generated content to Telegram and X while preserving optimal formatting

Use cases

  • Generate high-quality social media posts from search keywords automatically
  • Create multi-platform marketing content from a single request without manual intervention
  • Automate research, creation, and publishing workflow for small editorial teams

Requirements

  • OpenAI API key for accessing advanced language models
  • Authentication tokens and credentials for Telegram and X/Twitter platforms

Service Value

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

Apps Used

OpenAI Output Parser Telegram LLM Chain Twitter/X AI Agent Tool

Details

Trigger Webhook
Nodes 47
Apps 7
Views 230
Downloads 107

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 (47)

/

Sticky Note

Sticky Note

#1

Sticky Note1

Sticky Note

#2

gpt-4o-mini

OpenAI

#3

gpt-4o-mini1

OpenAI

#4

Structured Output Parser1

Output Parser Structured

#5

gpt-4o-mini2

OpenAI

#6

Webhook

Webhook

#7

Respond to Webhook

Webhook

#8

Telegram

Set

#9

gpt-4o-mini5

OpenAI

#10

Basic LLM Chain

LLM Chain

#11

Do Nothing1

No Op

#12

gpt-4o-mini3

OpenAI

#13

Sticky Note4

Sticky Note

#14

Sticky Note2

Sticky Note

#15

Sticky Note5

Sticky Note

#16

If2

If

#17

Prompts

Set

#18

Execute Workflow Trigger

Execute Workflow Trigger

#19

Telegram2

Set

#20

If

If

#21

No Operation, do nothing

No Op

#22

Sticky Note6

Sticky Note

#23

Perplexity Topic Agent

Agent

#24

Call Perplexity Researcher

Tool Workflow

#25

Do Nothing

No Op

#26

Do Nothing2

No Op

#27

Do Nothing3

No Op

#28

Do Nothing4

No Op

#29

Sticky Note7

Sticky Note

#30

Get Topic

Set

#31

If Topic Exists

If

#32

Improve Users Topic

LLM Chain

#33

If Topic

If

#34

Chat Id

Set

#35

Article

Set

#36

Extract JSON

Agent

#37

If Article

If

#38

Create HTML Article

Agent

#39

If HTML

If

#40

Contents

Set

#41

Chat Id1

Set

#42

Sticky Note3

Sticky Note

#43

Sticky Note8

Sticky Note

#44

Success Response

Set

#45

Error Response

Set

#46

Perplexity

HTTP Request

#47