AI Agents

OpenAI Assistant with custom n8n tools

14 nodes 213 147 Automatic trigger
Download

Workflow Description

Advanced template integrating OpenAI Assistant with custom n8n tools, enabling conversational interaction through manual chat and executing complex tasks via Twitter/X integration and specialized tools with intelligent data processing.

How it works

  1. 1.Activate manual chat trigger to receive user requests
  2. 2.Send requests to OpenAI Assistant for intelligent processing
  3. 3.Route results to custom tools and integrated services based on request type
  4. 4.Merge processed data and deliver responses to the user

Use cases

  • Build a multi-task intelligent agent that handles complex queries and decisions
  • Automate content posting to Twitter/X with AI-powered refinement and editorial control

Requirements

  • Valid OpenAI API key configured in n8n
  • Twitter/X API credentials for automated publishing

Service Value

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

Apps Used

Manual Chat Trigger OpenAI Twitter/X Tool Code

Details

Trigger Automatic trigger
Nodes 14
Apps 5
Views 213
Downloads 147

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

/

On new manual Chat Message

Manual Chat Trigger

#1

OpenAI Assistant

OpenAI

#2

Execute Workflow Trigger

Execute Workflow Trigger

#3

Mapping data

Code

#4

List countries?

If

#5

Mapping data1

Code

#6

Sticky Note

Sticky Note

#7

Return country list

Set

#8

Return specific capital

Set

#9

Tool to call the workflow below

Tool Workflow

#10

Concatenate country names

Summarize

#11

Get the matching country's details

Merge

#12

Sticky Note1

Sticky Note

#13

Tool: Get current date and time

Tool Code

#14