# Build an FAQ support chat in n8n

Download a small workflow, connect a MandAPI credential, and answer support questions from an editable business FAQ.

## Download the workflow

[Download the English FAQ template](/downloads/cookbook/20261030/mandapi-faq-en.json). A [Spanish template](/downloads/cookbook/20261030/mandapi-faq-es.json) is also available.

The demonstration uses four nodes: Chat Trigger → Basic LLM Chain → Edit Fields, with an OpenAI Chat Model attached to the chain. It answers from a static FAQ for a fictional shop. You do not need email, a vector database or a WhatsApp account to try the editor chat.

## Import and connect MandAPI

In your existing n8n instance, use the workflow menu's **Import from File** option and select the downloaded JSON. The workflow is inactive and its Chat Trigger is private.

Open **MandAPI Chat Model** and create an **OpenAI** credential named **MandAPI**. Enter your own MandAPI API key and set the credential's **Base URL** to `https://api.mandapi.com/v1`. Leave Organization ID empty unless your own setup requires it. Select that credential on the model node.

Use the **OpenAI** credential type. The dedicated OpenRouter credential is tied to OpenRouter's service and is not the right place for a MandAPI key.

## Choose a model and edit the FAQ

In the model node, choose **ID** mode and replace `MODEL_ID` with a Chat Completions model available to your MandAPI key. Keep **Use Responses API** disabled; its saved JSON parameter is `responsesApiEnabled: false`. The template also sets the model node's Base URL to MandAPI.

Open **Answer from the FAQ**, expand its System message and replace the demonstration business, hours and policies with your own verified information. The example asks the model to use only those facts. It has no order lookup, persistent memory or external tools.

## Try three questions

Open n8n's test chat and ask:

| Question | Expected behavior |
| --- | --- |
| What are your opening hours? | State the hours in the demonstration FAQ. |
| Where is order 12345 right now? | Suggest a person review the case; do not invent tracking. |
| I want a refund. | Show the human-support suggestion. |

The suggestion is text only: this template does not notify support, create a ticket, cancel an order or process a refund. Each test sends a real model request and uses your API credits.

## Check and customize

Edit Fields maps the chain's `text` field to `output`, which the chat receives in **When Last Node Finishes** mode. If the chat displays no answer, inspect these fields in the execution. Check the selected credential, model ID, balance and Base URL if the model call fails.

This download was checked for JSON structure and node parameters against n8n's official source on 30 October 2026. It has not been imported into a running n8n instance or tested with a live MandAPI call here. If your n8n version does not recognize a listed node version, update or recreate that node using the same settings before testing.

## References

- [https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai/](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai/)
- [https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/credentials/OpenAiApi.credentials.ts](https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/credentials/OpenAiApi.credentials.ts)
- [https://github.com/n8n-io/n8n/blob/master/packages/%40n8n/nodes-langchain/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.ts](https://github.com/n8n-io/n8n/blob/master/packages/%40n8n/nodes-langchain/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.ts)
- [https://github.com/n8n-io/n8n/blob/master/packages/%40n8n/nodes-langchain/nodes/trigger/ChatTrigger/ChatTrigger.node.ts](https://github.com/n8n-io/n8n/blob/master/packages/%40n8n/nodes-langchain/nodes/trigger/ChatTrigger/ChatTrigger.node.ts)
- [https://github.com/n8n-io/n8n/blob/master/packages/%40n8n/nodes-langchain/nodes/chains/ChainLLM/methods/config.ts](https://github.com/n8n-io/n8n/blob/master/packages/%40n8n/nodes-langchain/nodes/chains/ChainLLM/methods/config.ts)
- [https://github.com/n8n-io/n8n/blob/master/packages/%40n8n/nodes-langchain/nodes/chains/ChainLLM/methods/responseFormatter.ts](https://github.com/n8n-io/n8n/blob/master/packages/%40n8n/nodes-langchain/nodes/chains/ChainLLM/methods/responseFormatter.ts)
- [https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/nodes/Set/v2/manual.mode.ts](https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/nodes/Set/v2/manual.mode.ts)
