Give your team a chat that returns clear answers with real sources. An OpenAI assistant looks up your files and shows citations, and n8n formats the reply for easy publishing. Great for help desks, internal wikis, and content teams that need trusted responses.
A chat button in n8n starts the session and sends the prompt to an OpenAI assistant that uses a vector store. After the reply, the workflow calls the OpenAI API to fetch the full thread so every citation is captured. Split steps break messages, content blocks, and annotations into parts. Another call grabs file names from each file id. A Set and Aggregate step shape a clean list of citations. A Code step replaces citation markers with Markdown links, and you can turn Markdown into HTML at the end. A memory buffer keeps recent chat context so answers stay on topic.
You only need an OpenAI API key and an assistant set up with file retrieval. Expect faster review and fewer manual edits because sources are linked for you. Use it for support answers, internal knowledge articles, and sales enablement notes where proof and clarity matter.