AI Agents

Automated workflow

18 nodes 203 125 Automatic trigger
Download

Workflow Description

An automated workflow integrating local language models via Ollama with LLM chains and Twitter/X functionality, enabling intelligent data processing with conditional logic, result aggregation, and multi-channel distribution through a structured node architecture.

How it works

  1. 1.Receive input through manual trigger or external workflow execution
  2. 2.Process data via LLM Chain and Ollama models with dynamic Chat Ollama conversations
  3. 3.Split outputs and apply filters to refine results based on conditions
  4. 4.Merge processed data and aggregate results before distribution
  5. 5.Post final outputs to Twitter/X

Use cases

  • Publish intelligent content on social media with advanced natural language processing
  • Process multiple queries automatically, filter results, and aggregate them for batch distribution

Requirements

  • Ollama installed with compatible local language models configured
  • Valid Twitter/X API credentials for authenticated posting to your account

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 203
Downloads 125

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