AutomationFlowsAI & RAG › Tollgate Openai Chat (smoke)

Tollgate Openai Chat (smoke)

Tollgate OpenAI Chat (smoke). Uses httpRequest. Event-driven trigger; 2 nodes.

Event trigger★☆☆☆☆ complexity2 nodesHTTP Request
AI & RAG Trigger: Event Nodes: 2 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Tollgate OpenAI Chat (smoke)",
  "nodes": [
    {
      "parameters": {},
      "id": "1",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://127.0.0.1:8787/v1/chat/completions",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer n8n"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"model\": \"tollgate/free\",\n  \"messages\": [\n    { \"role\": \"user\", \"content\": \"Reply with exactly: N8N_TOLL_OK\" }\n  ],\n  \"max_tokens\": 32\n}",
        "options": {}
      },
      "id": "2",
      "name": "Tollgate Chat",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        280,
        0
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Tollgate Chat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "meta": {
    "templateCredsSetupCompleted": true,
    "notes": "Import in n8n. Docker: host.docker.internal:8787. Community node: n8n-nodes-tollgate/"
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Tollgate OpenAI Chat (smoke). Uses httpRequest. Event-driven trigger; 2 nodes.

Source: https://github.com/landjunge/tollgate/blob/main/configs/n8n-openai-chat.workflow.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow creates an image with the new OpenAI image model "GPT-Image-1" based on a form input. Form trigger (image prompt and image size input) Generate the Image via OpenAI API. Return the image

Form Trigger, HTTP Request, Form
AI & RAG

This n8n workflow demonstrates how to build an automated AI chat system using OpenRouter.ai. It includes a manual trigger, sets a model and user message, sends a POST request to the OpenRouter chat AP

HTTP Request
AI & RAG

Przykład. Uses readWriteFile, httpRequest. Event-driven trigger; 3 nodes.

Read Write File, HTTP Request
AI & RAG

LightRAG Request. Uses httpRequest. Event-driven trigger; 3 nodes.

HTTP Request
AI & RAG

legal_rag_telegram_api_current_github_ready. Uses telegramTrigger, httpRequest. Event-driven trigger; 56 nodes.

Telegram Trigger, HTTP Request