AI Agents

Process and publish text to X using AI language models

18 nodes 335 135 Automatic trigger
Download

Workflow Description

An intelligent workflow that receives text input, processes it through local language models (Ollama), analyzes and filters content, then automatically publishes optimized posts to X with manual override capability.

How it works

  1. 1.Trigger the workflow manually or via webhook to accept incoming text input
  2. 2.Process and enhance text using LLM chains and Ollama's local language model service
  3. 3.Filter content according to defined criteria and aggregate processed results
  4. 4.Publish the processed content to your X account automatically

Use cases

  • Publish media updates with intelligently processed content without continuous manual intervention
  • Generate smart summaries of long articles and schedule them to X automatically
  • Process user comments or inquiries and send intelligent responses directly to the platform

Requirements

  • Active X account with valid API credentials and access tokens
  • Ollama model installed and running locally on your server or device

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 335
Downloads 135

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