n8n

How to Automate Notion Knowledge Helpdesk?

A chat assistant answers employee questions using your Notion knowledge base. People type a question, and it returns a clear answer from the right page. This is great for onboarding, policy lookups, and internal FAQs.

A chat message starts a session at a unique chat URL. An AI Agent uses an OpenAI chat model with short memory of the last four messages, so it keeps context across follow ups. It first searches a chosen Notion database by keyword or tag, then opens the matching page to read the actual blocks, including headings, paragraphs, and lists. Tag options are pulled from the database so the agent knows the latest categories without manual updates. A small set step formats session data so the agent stays tied to the right user.

You only need Notion and an OpenAI API key, then point the flow to your database. Expect faster answers and fewer repeat questions, which saves time for your team every day. Use it for IT policies, product FAQs, and team playbooks in one simple chat. After testing, activate it and share the chat URL with your staff for quick access.

What are the key features?

  • Chat trigger starts a session when a message arrives at the chat URL.
  • AI Agent powered by an OpenAI chat model with temperature control and timeout.
  • Short term memory keeps the last 4 messages for context across turns.
  • Notion database search by keyword or tag to find the best matching page.
  • Notion page content fetch reads headings, paragraphs, and lists for precise answers.
  • Database details step loads current tag options to guide the agent’s search.
  • Set step formats session data so the agent stays linked to the right user.

What are the benefits?

  • Reduce manual search time from 10 minutes to under 30 seconds
  • Automate up to 60% of repeated knowledge questions
  • Improve answer accuracy by using one source of truth in Notion
  • Handle 5 times more questions with the same team
  • Connect AI chat with Notion without custom code

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Notion and OpenAI. See the Tools Required section above for links to create accounts with these services.
  3. In Notion, create an internal integration and share your target knowledge base database with that integration so it has access.
  4. In n8n, open the Get database details node. In the Credential to connect with field, click Create new credential for Notion and follow the on screen steps. Select your workspace and authorize.
  5. Still in Get database details, choose the database from the Database dropdown so tag options can be read.
  6. Open both Notion tool nodes named Search notion database and Search inside database record. In each, choose the same Notion credential you created.
  7. Open the OpenAI Chat Model node. In the credential dropdown, click Create new credential, paste your OpenAI API key from your OpenAI account, and select the gpt-4o model.
  8. Open the Format schema node and confirm sessionId is mapped from the When chat message received node. Leave other defaults unless you need changes.
  9. Click the Chat button in the top right of n8n to test. Ask a question that includes a keyword or tag from your Notion database and confirm the reply cites the right content.
  10. Activate the workflow. Open the When chat message received node and copy the Chat URL. Share it with your team to start using the assistant.
  11. Troubleshooting: If you see The resource you are requesting could not be found, open your database in Notion and share it with the integration you created.
  12. Performance tip: If tags change rarely, you may remove the Get database details step to save about 250 to 800 ms per run.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Notion

Sign up

Free plan: $0 per member / mo (Public API included)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Credits:
Created by @maxtkacz. Setup video: YouTube video

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.