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 workflow that asks for a Notion database link in a chat and has Claude write an n8n assistant workflow for that database. It checks the JSON, sends Claude back when something is wrong and returns JSON to paste into n8n.
Claude-written n8n chat assistant for any Notion database 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.
A chat message
A user starts it in the chat page:
The JSON of an n8n chat assistant for that database, shown in the chat to paste onto a canvas
What you need before you start.
Database source
Gives the properties of the database named by the link.
NeedsA Notion credential, and the database shared with the integration
Workflow writer
Rewrites the template and judges whether the result is valid.
NeedsAn Anthropic API key, in an Anthropic credential
Checked by Mindket on 13 Nov 2026
This n8n workflow builds a Notion chat assistant for you. In a chat page you paste the link of a Notion database. The workflow reads the database, cuts its list of properties down and gives Claude that list with a template assistant workflow. Claude rewrites the template for your database and returns n8n workflow JSON. Two checks follow, and a failed check sends Claude back with the problem. Eighteen nodes do the work, beside five sticky notes.
Builders who want a chat assistant for each of several Notion databases and do not want to edit the same workflow by hand every time. It suits agencies, consultants and internal-tools teams. Skip it if you are new to n8n, because the result is JSON that you paste into a canvas and set up yourself. Claude can still get it wrong, and the checks catch only some mistakes.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Agencies | Automation agencies | Give each client a chat assistant for the client’s own FAQ database | An agency pastes a client’s FAQ link and gets a ready assistant workflow in a few minutes. |
| Corporate IT | Internal-tools teams | Roll out assistants to several departments | A team generates one assistant each for the HR, IT and facilities databases. |
| Software | Developer advocates | Show what a chat and an AI agent can build together | A speaker pastes a link live and drops the result onto an n8n canvas. |
| Support | Support leads | Try an assistant on a new help-center database | A lead generates an assistant for a new database before deciding whether to build a custom one. |
You need basic n8n skills, an Anthropic API key and a Notion integration with access to the database.
Any n8n that can reach Notion and the Anthropic API will run it. The chat page is served by n8n itself. The generated workflow can be pasted into n8n 1.52.0 or newer.
Set input dataDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Two services are involved.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| Notion | A Notion integration, and the database shared with it |
| Anthropic | An API key, saved in an Anthropic credential |
workflow.json.Notion.Anthropic Chat Model, Anthropic Chat Model1 and Anthropic Chat Model2.Open the chat and paste a Notion database link. The workflow answers with the JSON of a new workflow, or says that the link does not look like a database.
| To change | Where |
|---|---|
| The template that Claude rewrites | The workflow JSON in Set input data |
| The model | model in each Anthropic Chat Model node |
| What Claude is told to do | The prompt and the prefix in Generate Workflow Agent |
| The checks on the result | Check for WF JSON errors and Valid n8n workflow JSON? |
| The length of the answer | maxTokensToSample in the Anthropic Chat Model nodes |
| The welcome text | When chat message received |
A user pastes the link of a database of company policies.
The workflow reads the database’s properties and gives them to Claude with the template. When the checks pass, the chat shows the JSON of a new assistant workflow. Pasted into n8n, it draws the nodes, and they need only credentials.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. A workflow can be copied as JSON text and pasted onto another canvas. Here Claude writes that text, starting from a workflow that already works.
For experts. Notion reads the database from the first URL in the chat input, and its error output goes to Return error to chat. A Code node cuts each property to its id, name, type and select options. Set input data joins that with the template and a feedback prompt. The agent is a ReAct agent with a structured output parser inside an auto-fixing parser. A Switch node looks for object Object in the search tool’s body, and a text classifier then judges the JSON. A failure of either check loops back to Set input data.
| Node | What it does | What to know |
|---|---|---|
Notion | Reads the database named by the link | A bad link, or a database that is not shared, goes to Return error to chat |
Simplify properties object | Cuts each property to id, name, type and select options | It saves tokens for the agent |
Set input data | Builds the task from the database details, the template and the feedback | The template is the JSON inside this Code node |
Generate Workflow Agent | Asks Claude to rewrite the template | It is set to continue on error, so a failed call does not stop the run |
Check for WF JSON errors | Looks for a placeholder in the search tool’s body | A hit goes back for another try, with feedback |
Valid n8n workflow JSON? | Has a classifier judge whether the JSON is a valid workflow | An invalid verdict goes back for another try |
The Claude model was replaced, the template in the Code node was cleaned and the links in the sticky notes were cut. Mindket did not run this workflow.
claude-3-5-sonnet-20240620. Anthropic’s deprecations page, read on 12 November 2026, shows that model retired on 28 October 2025, with claude-sonnet-5-5 as the replacement. Mindket’s copy sets it on node version 1.6 and drops the temperature, which n8n ignores for Claude Sonnet 5Set input data is a variant of the Notion knowledge base assistant. Its credentials and a company’s database ID and name are gone, its chat model is now gpt-5.6-terra, and the example tag list stays for Claude to replaceAn n8n workflow that asks for a Notion database link in a chat and has Claude write an n8n assistant workflow for that database. It checks the JSON, sends Claude back when something is wrong and returns JSON to paste into n8n.
workflow.json: the workflow as n8n exports it, twenty-three nodes. Eighteen do the work and five are sticky notes that label the steps. It holds no credential.README.md: these notes.claude-3-5-sonnet-20240620. Anthropic’s deprecations page, read on 12 November 2026, shows it retired on 28 October 2025. Mindket’s copy uses node version 1.6 with claude-sonnet-5-5, and the temperature setting is gone.Set input data lost its credentials, and its Notion database ID is now <YOUR_NOTION_DATABASE_ID>. The database name, its cached address and the chat widget’s webhook ID are gone too. Its chat model is now gpt-5.6-terra, because it drives an agent with tools.workflow.json.Notion.Anthropic Chat Model, Anthropic Chat Model1 and Anthropic Chat Model2.When chat message received takes the pasted link.Notion reads the database. A bad link goes to Return error to chat.standardize schema and Simplify properties object shrink the properties.Set input data joins the database details with the template and a feedback line.Generate Workflow Agent asks Claude for the new workflow JSON.Set schema for eval pulls out the JSON, and Check for WF JSON errors looks for a placeholder in the search tool.Valid n8n workflow JSON? judges the JSON. A good one goes to Return success to chat, and a bad one goes back through Set schem for rerun.Set input data.model in each Anthropic Chat Model node.Generate Workflow Agent.Check for WF JSON errors and Valid n8n workflow JSON?.maxTokensToSample in the Anthropic Chat Model nodes.When chat message received.NOTICE.md 573 B README.md 4 KB workflow.json 34 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…
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.