AI Agents

Intelligent text processing and publishing to X with AI agents

18 nodes 282 145 Automatic trigger
Download

Workflow Description

A smart workflow that receives text inputs, processes them through local language models and LLM chains, analyzes and filters content, then automatically publishes refined posts to X while maintaining manual control when needed.

How it works

  1. 1.Receive manual inputs or external triggers for processing
  2. 2.Process text through LLM chains and local Ollama models
  3. 3.Filter and segment content according to defined criteria
  4. 4.Merge results and apply advanced conditional logic
  5. 5.Automatically publish refined content to X

Use cases

  • Generate and publish smart social content without manual intervention
  • Analyze and filter messages before posting to X
  • Automate conversion of raw ideas into professional posts

Requirements

  • Local Ollama model or accessible server instance
  • Active X/Twitter account with API credentials
  • Input text sources or data for processing

Service Value

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

Apps Used

LLM Chain Lm Chat Ollama Twitter/X Lm Ollama

Details

Trigger Automatic trigger
Nodes 18
Apps 4
Views 282
Downloads 145

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

/

Code

Code

#1

Split Out1

Split Out

#2

Basic LLM Chain4

LLM Chain

#3

Ollama Chat Model

Lm Chat Ollama

#4

When clicking ‘Test workflow’

Manual Trigger

#5

Edit Fields

Set

#6

Merge

Merge

#7

Filter

Filter

#8

When Executed by Another Workflow

Execute Workflow Trigger

#9

Aggregate

Aggregate

#10

Merge1

Merge

#11

Basic LLM Chain

LLM Chain

#12

Ollama Model

Lm Ollama

#13

Sticky Note

Sticky Note

#14

Sticky Note1

Sticky Note

#15

Sticky Note2

Sticky Note

#16

Sticky Note3

Sticky Note

#17

Sticky Note4

Sticky Note

#18