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…
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.
Chat message
It starts when you send a message in n8n’s chat:
A chat answer from whichever of your three research workflows fits the question
What you need before you start.
Language model
Runs gpt-4.1 for the agent that reads each question, chooses the research tool and writes the reply.
NeedsOpenAI API key
Checked by Mindket on 13 Nov 2026
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.
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.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software and SaaS | Product marketers | Ask about rivals’ reviews and the market from one chat | “Compare customer feedback on two project tools” goes to company research. |
| Agencies | Strategists | Put the agency’s research workflows behind one chat for the whole team | A strategist asks about trends in a client’s niche before a pitch. |
| Sales | Account executives | Look up a prospect’s company and its social profiles before a call | Asking for a brand’s LinkedIn goes to social media research. |
| Automation consulting | n8n builders | Reuse the router and swap in a client’s own tools | A 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.
Any n8n that can reach OpenAI and holds your three research workflows.
Get it saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Have the three research workflows ready first.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| OpenAI | An API key that can use gpt-4.1 |
| Three workflows | Each starting with a When Executed by Another Workflow trigger that takes a Query string |
workflow.json.OpenAI Chat Model.Company research, Market research and Social media research, pick your matching workflow from the list.Query under its workflow inputs.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.
| To change | Where |
|---|---|
| Which tool gets which question | The routing rules and examples in the system message of AI Agent |
| How answers look | The last line of the same system message |
| How much it remembers | Context Window Length in Simple Memory |
| Who can chat | Make Chat Publicly Available in When chat message received |
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.
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.
It costs little by itself, and most of the cost and risk sit in the workflows it calls.
CompanyResearch, MarketResearch and SocialMedia, but the nodes say Company_research, Market_research and Social_media. Make them match if it picks wronglygpt-4.1 from its API on 14 January 2027 and recommends gpt-6-lunaAn 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).
workflow.json: the workflow as n8n exports it, seven nodes with no sticky notes. It holds no credential.README.md: these notes.Company research, Market research and Social media research pointed at three workflows by their IDs in the author'sgpt-4.1.Each tool sends the agent's request as one text field named Query, so each research workflow needs:
Query, as a string.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.
workflow.json.OpenAI Chat Model.Company research and pick your company research workflow from the list. Do the same in Market research andSocial media research. Each list shows the workflows in your n8n.Query appears under the workflow inputs. If it does not, the chosen workflow's triggerQuery input.When chat message received takes your message from n8n's chat.AI Agent reads it with Simple Memory, which keeps the last five exchanges of that chat.Query and hands its output back.AI Agent. Add a fourth tool by copying a tool node,Simple Memory, five exchanges by default. A smaller window costs fewer tokens.When chat message received gives theCompanyResearch, MarketResearch and SocialMedia, while the nodes nameCompany_research, Market_research and Social_media. The model usually links the two. If it picks the wrong one,gpt-4.1-2025-04-14, the model behind gpt-4.1, ongpt-6-luna. Pick a current model in OpenAI Chat Model before then.README.md 5 KB workflow.json 7 KB
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…
Qwen · Kit
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…
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…
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…
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…
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…