OpenAI Assistant with custom n8n tools

OpenAI Assistant with custom n8n tools

Complex
High
14
Nodes
Complex
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
14
Node Types
11

Node Types

if
List countries?
1 node
manual Chat Trigger
On new manual Chat Message
1 node
open Ai Assistant
OpenAI Assistant
1 node
execute Workflow Trigger
Execute Workflow Trigger
1 node
code
Mapping data, Mapping data1
2 nodes
sticky Note
Sticky Note, Sticky Note1
2 nodes
set
Return country list, Return specific capital
2 nodes
tool Workflow
Tool to call the workflow below
1 node
summarize
Concatenate country names
1 node
merge
Get the matching country's details
1 node
tool Code
Tool: Get current date and time
1 node

Workflow JSON

9.98 KB
{
  "id": "aVTi7K9mFjK5OjAV",
  "meta": {
    "instanceId": "b3a8efae31a34c2224655b66499bee098263a56d266da574e8820468780b7ddd"
  },
  "name": "OpenAI Assistant with custom n8n tools",
  "tags": [],
  "nodes": [
    {
      "id": "d15e7634-408b-43c5-a8d6-afcbc83479a9",
      "name": "On new manual Chat Message",
      "type": "@n8n/n8n-nodes-langchain.manualChatTrigger",
      "position": [
        600,
        300
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5d9ad043-adbe-4970-aa4e-b81dfcb9e255",
      "name": "OpenAI Assistant",
      "type": "@n8n/n8n-nodes-langchain.openAiAssistant",
      "position": [
        820,
        300
      ],
      "parameters": {
        "options": {},
        "assistantId": "asst_BWy0154vMGMdrX7MjCYaYv6a"
      },
      "credentials": {
        "openAiApi": {
          "id": "au6fQZN7it62DWlS",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "0c3aded2-886d-4c9f-...

Showing first 1000 characters. Click "Expand" to view the full JSON.