Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
An n8n workflow that answers a question from the data a second workflow returns. An OpenAI model reads that data as context, and the setup notes include a small sample second workflow so the example runs.
Questions answered from another workflow’s data is an n8n workflow in the Developer 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.
Manual start
Nothing runs on its own. You press Execute Workflow, and it uses:
An answer to your question, written from the data your second workflow returned
What you need before you start.
Answer writer
Reads the question and the data from the second workflow, and writes the answer.
NeedsOpenAI API key
Checked by Mindket on 13 Nov 2026
This n8n workflow answers a question from data that a second n8n workflow returns. A manual start sets the question, a retrieval chain asks your second workflow for data, and an OpenAI model answers from what comes back. It is a pattern, not a finished product. Your second workflow can read a sheet, a database or an API. Five nodes run it, beside two sticky notes.
n8n builders who want a chat or question step over data that n8n already fetches, and who would rather not set up a vector store. Skip it for large data sets, since everything the second workflow returns goes to the model.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Automation | n8n builders | Add a question step on top of an existing data workflow | A builder asks questions of a workflow that pulls open tickets. |
| Sales | Operations leads | Ask about contacts and notes held in a sheet | A lead asks which notes mention a renewal. |
| Customer support | Support teams | Query a small knowledge source that a workflow already loads | An agent asks what a customer was told last month. |
| Teaching | Trainers | Show how a language model uses retrieved context | A trainer runs the sample, then swaps in other data. |
You need n8n basics and one OpenAI key. The setup notes give a second workflow to paste in, and it takes about as long as importing a file.
Any n8n with access to OpenAI will run it. Both workflows must sit on the same n8n, since one points at the other by its ID.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. The notes include the sample second workflow as JSON.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| OpenAI | An API key |
| A second workflow | One that starts with Execute Workflow Trigger and returns your data. The notes give a sample |
workflow.json.Workflow Retriever, replace YOUR_SUBWORKFLOW_ID with that ID.OpenAI Chat Model.Retrieval QA Chain2 to read the answer.Example Prompt to ask something of your own.Press Execute Workflow whenever you want an answer. To use it for real, replace the sample with a workflow that returns your data, and replace the manual start with a chat or a form.
| To change | Where |
|---|---|
| The question | The input value in Example Prompt |
| The data | Your second workflow |
| The model | OpenAI Chat Model |
| Which workflow is read | The ID in Workflow Retriever |
The fixed question asks for the notes held on a customer called Jay Gatsby, and for his email address. The retriever runs the sample workflow, which returns three customer records.
From those records the model can answer with Jay Gatsby’s note, which says he hosts large parties and prefers evening calls, and with the sample address jay.gatsby@example.com.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. A retriever is the part that fetches facts for a question. Here it fetches them by running another workflow.
For experts. Workflow Retriever sends the question to the second workflow as query. Each item from that workflow’s last node becomes one passage, and the chain gives all of them to the model.
| Node | What it does | What to know |
|---|---|---|
Workflow Retriever | Runs the second workflow | Version 1 takes the workflow ID as plain text |
Retrieval QA Chain2 | Joins the question, the context and the model | At version 1 it reads the question from the input field |
Example Prompt | Sets the fixed question | Replace it to take a chat or a form |
The retriever does no search, and one model default is due to retire.
example.com addressesOpenAI Chat Model sets no model, so n8n uses gpt-5-mini. OpenAI’s deprecations page, read on 12 November 2026, gives 11 December 2026 for its shutdown, with gpt-5.6-terra as the replacementAn n8n workflow that answers a question from data that a second workflow returns. You type a question, an OpenAI model reads
whatever the second workflow hands back and answers from it. The pattern suits any source n8n can reach, such as a sheet, a
database or an API, because the second workflow does the fetching and this one does the asking.
workflow.json: the workflow as n8n exports it, five nodes. Four are the question flow and the fifth is the retriever thatREADME.md: these notes, with a small sample second workflow you can paste in to try it.Workflow Retriever pointed at a workflow on the author's own n8n, which was not part of the file. Its ID isYOUR_SUBWORKFLOW_ID now.OpenAI Chat Model is gone, and the file is named for what it does.Execute Workflow Trigger node and ends with a node that returns your data.Copy this JSON, open a new workflow in n8n and paste it onto the canvas. Name it and save it. It returns three made-up customer
records with notes, so the example question has something to find. The addresses use example.com, which is reserved for
examples.
{
"name": "Customer notes (sample)",
"nodes": [
{
"name": "Execute Workflow Trigger",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1,
"position": [0, 0],
"parameters": {}
},
{
"name": "Customer notes",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [220, 0],
"parameters": {
"jsCode": "return [\n { json: { name: 'Jay Gatsby', email: 'jay.gatsby@example.com', notes: 'Hosts large parties. Prefers evening calls.' } },\n { json: { name: 'Daisy Buchanan', email: 'daisy.buchanan@example.com', notes: 'Asked for a quote in March. Waiting on the budget.' } },\n { json: { name: 'Nick Carraway', email: 'nick.carraway@example.com', notes: 'Referred by Jay Gatsby. Wants a demo.' } }\n];"
}
}
],
"connections": {
"Execute Workflow Trigger": {
"main": [[{ "node": "Customer notes", "type": "main", "index": 0 }]]
}
}
}
The sample ignores the question and returns every record. That works for three records. For real data, read the question in the
Code node with $input.first().json.query and return only the matching rows.
/workflow/ is its ID.workflow.json.Workflow Retriever, replace YOUR_SUBWORKFLOW_ID with that ID.OpenAI Chat Model.Retrieval QA Chain2 to read the answer. It should give the notes and the email for Jay Gatsby.Example Prompt.When clicking "Execute Workflow" starts the run by hand.Example Prompt sets one field, input, to What notes can you find for Jay Gatsby and what is his email address?Retrieval QA Chain2 takes that input as its question. At node version 1 it reads {{ $json.input }}.Workflow Retriever runs your second workflow and passes it the question as a field named query. Each item the last nodeOpenAI Chat Model writes the answer from that context, and the chain returns it.input value in Example Prompt. To take questions from a chat or a form, swap the trigger and set inputOpenAI Chat Model.Workflow Retriever.query and nothing else. Only the final run's output is used, not the stepsOpenAI Chat Model sets no model, so n8n uses its default for that node, gpt-5-mini. OpenAI's deprecations page, read on 12gpt-5.6-terra as the replacement. Pick another model before then.NOTICE.md 658 B README.md 5 KB workflow.json 3 KB
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…