Mindket

Chat router for company, market and social media research

Newversion 1 · updated

Overview

An n8n chat workflow where a GPT-4.1 agent reads each question and sends it to one of three research workflows of your own: company, market or social media. The three research workflows are not included.

Chat router for company, market and social media research is an n8n workflow in the Business category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.

At a glance

Runs in
  • n8n Cloud: import the file into a new workflow there
  • Your own n8n server: the same file and steps
  • n8n’s chat: the Chat button in the editor, or a public chat page once you switch it on
  • Your research workflows: whatever they connect to stays theirs

Platform

Connects 1 app

How it works

Trigger

Chat message

It starts when you send a message in n8n’s chat:

  • Your research question, in plain words

Actions

  1. The agent reads the question with the last five exchanges of the chat
  2. Its routing rules pick company, market or social media research
  3. An unclear question gets one question back first
  4. The chosen tool runs your own workflow with the request as Query
  5. The agent returns that workflow’s findings with headings and Markdown

Result

A chat answer from whichever of your three research workflows fits the question

Integrations

What you need before you start.

OpenAI

Language model

Runs gpt-4.1 for the agent that reads each question, chooses the research tool and writes the reply.

NeedsOpenAI API key

Workflow check

Checked by Mindket on 13 Nov 2026

Steps
2 steps, starting on a chat message
AI
1 step calls an AI model: AI Agent
Sign-ins
Signs in to: OpenAI
API keys
No API key is left in the file
Step types
Mindket’s checker reads all 2 of its step types

Read from the workflow’s file, not from a run.

About

What it is

This n8n workflow is a front door for research questions. You type a question in n8n’s chat. A GPT-4.1 agent reads it and picks one of three tools: company research, market research or social media research. Each tool runs another n8n workflow of yours and passes it the question as Query. The answer comes back to the chat with headings and Markdown. Seven nodes make it up. The three research workflows are not in the file.

Who it suits

Teams who already have research workflows in n8n and want one chat box in front of them. It also suits builders who want a routing pattern to copy. Skip it if you want research done out of the box: without your own three workflows, it has nothing to call.

Who uses it, and how
IndustryWho uses itHow they use itExample
Software and SaaSProduct marketersAsk about rivals’ reviews and the market from one chat“Compare customer feedback on two project tools” goes to company research.
AgenciesStrategistsPut the agency’s research workflows behind one chat for the whole teamA strategist asks about trends in a client’s niche before a pitch.
SalesAccount executivesLook up a prospect’s company and its social profiles before a callAsking for a brand’s LinkedIn goes to social media research.
Automation consultingn8n buildersReuse the router and swap in a client’s own toolsA consultant adds a fourth tool for patent searches.

You need more than a little n8n: importing a file, one credential, and three workflows of your own, each taking a Query input.

Where to use it

Any n8n that can reach OpenAI and holds your three research workflows.

  • n8n Cloud: import the file into a new workflow there
  • Your own n8n server: the same file and steps
  • n8n’s chat: the Chat button in the editor, or a public chat page once you switch it on
  • Your research workflows: whatever they connect to stays theirs

Setup

Get it saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Have the three research workflows ready first.

What you need first
NeedDetail
n8nOn n8n Cloud or on a server of your own
OpenAIAn API key that can use gpt-4.1
Three workflowsEach starting with a When Executed by Another Workflow trigger that takes a Query string
  1. In n8n, create a workflow, open its menu, choose Import from File and pick workflow.json.
  2. Add an OpenAI credential and select it in OpenAI Chat Model.
  3. In Company research, Market research and Social media research, pick your matching workflow from the list.
  4. Check that each shows Query under its workflow inputs.
  5. Give each tool a short description of what it does.
  6. Save, open the chat and ask one question of each kind, then press Publish.

How to use it

Open the chat and ask a question in plain words. Name a platform when you want social media research. If the agent cannot tell which kind you mean, it asks you one question first. It remembers the last five exchanges, so a follow-up can be short.

What to change for a different result
To changeWhere
Which tool gets which questionThe routing rules and examples in the system message of AI Agent
How answers lookThe last line of the same system message
How much it remembersContext Window Length in Simple Memory
Who can chatMake Chat Publicly Available in When chat message received

Example

You ask how customers rate two project tools against each other. Reviews and comparisons match company research, so the agent calls that tool. The tool hands your workflow one input, in this shape:

{ "Query": "…" }

Your company research workflow does its work and returns its findings. The agent shows them in the chat under headings, with Markdown and a few emojis.

For newcomers and experts

If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. The agent sits in the middle, with its model, its memory and its three tools hanging below it. Build one research workflow first and test that tool alone.

For experts. Each tool is a Call n8n Workflow Tool node whose Query comes from $fromAI, so the model writes the request it sends. The tool names live in each node’s Name field. The routing itself is only prompt text.

Good to know

It costs little by itself, and most of the cost and risk sit in the workflows it calls.

  • Tool names: the prompt calls the tools CompanyResearch, MarketResearch and SocialMedia, but the nodes say Company_research, Market_research and Social_media. Make them match if it picks wrongly
  • One tool a question: the prompt asks for a single tool unless you ask for more
  • Billing: OpenAI bills each turn of the agent, plus whatever your research workflows spend
  • GPT-4.1: OpenAI removes the snapshot behind gpt-4.1 from its API on 14 January 2027 and recommends gpt-6-luna
  • A public chat lets anyone with its address run your research workflows on your keys
  • Your data: questions and results go to OpenAI. Anything else depends on the workflows you connect
  • Credentials: the JSON holds none, and no link to its author’s workflows

README and files

README

Chat router for company, market and social media research

An n8n chat workflow that decides which kind of research a question needs and hands it on. You type a question in n8n's
chat. A GPT-4.1 agent reads it and calls one of three tools: company research, market research or social media research.
Each tool is another n8n workflow of your own, and its answer comes back to the chat with headings and Markdown. The agent
remembers the last few turns of the conversation.

The three research workflows are not part of this file. It is the front door only: you connect it to three workflows you
already have, or build them first (see "The three research workflows" below).

What is inside

  • workflow.json: the workflow as n8n exports it, seven nodes with no sticky notes. It holds no credential.
  • README.md: these notes.

What we changed from the original copy

  • Company research, Market research and Social media research pointed at three workflows by their IDs in the author's
    own n8n. Those IDs mean nothing in yours, so each tool's workflow choice is now empty for you to fill.
  • Nothing else changed. The original copy needed no backslash repair.

Before you start

  • An n8n instance, on n8n Cloud or your own server.
  • An OpenAI API key that can use gpt-4.1.
  • Three research workflows in the same n8n, or the time to build them.

The three research workflows

Each tool sends the agent's request as one text field named Query, so each research workflow needs:

  1. A When Executed by Another Workflow trigger with one input, Query, as a string.
  2. Whatever research you want behind it: a search API, a scraper, an agent of its own.
  3. A last node whose output is the answer you want the chat to show.

The router's prompt describes what each one should cover. Company research reads a company's site and review sites such as
Trustpilot, G2 and Capterra. Market research looks at trends, competitors and openings. Social media research finds or sums
up LinkedIn and Instagram profiles.

Set it up

  1. In n8n, create a workflow, open its menu and choose Import from File. Pick workflow.json.
  2. Add an OpenAI credential and select it in OpenAI Chat Model.
  3. Open Company research and pick your company research workflow from the list. Do the same in Market research and
    Social media research. Each list shows the workflows in your n8n.
  4. In each of the three, check that Query appears under the workflow inputs. If it does not, the chosen workflow's trigger
    lacks a Query input.
  5. Give each tool a short description of what it does. The agent reads it when choosing.
  6. Save, press the Chat button at the bottom of the editor and ask a question of each kind.
  7. Press Publish when the answers look right.

How a run goes

  1. When chat message received takes your message from n8n's chat.
  2. AI Agent reads it with Simple Memory, which keeps the last five exchanges of that chat.
  3. The agent follows the routing rules in its system message: reviews, ratings and comparisons go to company research,
    trends and competitors to market research, and social media only when you name a platform. If your question is unclear,
    it asks you one question first.
  4. The chosen tool runs your workflow with the request as Query and hands its output back.
  5. The agent answers in the chat with that tool's result, laid out with headings, Markdown and some emojis.

Change the look

  • Routing: the rules and examples in the system message of AI Agent. Add a fourth tool by copying a tool node,
    connecting it to the agent and adding a line for it to the rules.
  • Tone and layout: the last line of the system message asks for headings, Markdown and emojis.
  • Memory: Context Window Length in Simple Memory, five exchanges by default. A smaller window costs fewer tokens.
  • Who can chat: by default only you, from the editor. Make Chat Publicly Available in When chat message received gives the
    chat its own web address.

Good to know

  • Tool names: the system message calls the tools CompanyResearch, MarketResearch and SocialMedia, while the nodes name
    them Company_research, Market_research and Social_media. The model usually links the two. If it picks the wrong one,
    make the names match.
  • One tool a question: the prompt tells the agent to use one tool unless you ask for more. A question that needs two kinds of
    research gets one unless you say so.
  • Billing: OpenAI bills each turn of the agent, plus whatever your research workflows spend.
  • GPT-4.1: OpenAI's deprecations page, read on 2 November 2026, removes gpt-4.1-2025-04-14, the model behind gpt-4.1, on
    14 January 2027 and recommends gpt-6-luna. Pick a current model in OpenAI Chat Model before then.
  • A public chat: once it is public, anyone with the address can run your research workflows on your keys.
  • Your data: your questions and the research results go to OpenAI. What else leaves your n8n depends on the research
    workflows you connect.
Files
README.md  5 KB
workflow.json  7 KB

2 files, 12 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-03

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Business

See all in Business

pplx-decider-v1.1-27b

perplexity-ai · Kit

Picks the best option for a decision from text and images, such as which team should handle a request, with a probability for each choice, for developers who b…

New

NuExtract3

numind · Kit

Reads documents as text or images and fills a JSON template with the fields you ask for, or converts the pages to Markdown. A 4B model for teams that process s…

New

Drex DLM

nace-ai · Kit

Scores yes or no, multiple choice and rating questions about a document in one pass, with a probability for every option. An 8B decision model from Nace.AI tha…

New