Block 1 - Sticky Note1
- Type / Role
- n8n-nodes-base.stickyNote - stickyNote
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This workflow creates an intelligent chatbot that uses your Supabase database as a knowledge base. The AI agent can automatically query your Supabase tables to provide accurate, contextual response...
n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.supabasetool
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Gegenfeld.
Original n8n.io sourceThis workflow creates an intelligent chatbot that uses your Supabase database as a knowledge base. The AI agent can automatically query your Supabase tables to provide accurate, contextual responses based on your stored data.
This template is perfect for:
The workflow combines OpenAI's language model with Supabase's PostgreSQL database capabilities to create a smart chatbot. When users ask questions, the AI agent automatically determines which Supabase records are relevant and uses that data to generate helpful responses. The system maintains conversation history for natural, contextual interactions.
Add your credentials:
Configure your Supabase connection:
Customize the AI model:
Test the chatbot:
Optional - Make it public:
Change the AI Provider: You can replace the OpenAI Chat Model with other providers like Anthropic Claude, Google Gemini, or local models by swapping the language model node.
Adjust Context Window: Modify the "Remember Chat History" node to increase or decrease how many previous messages the AI remembers (default is 10 interactions).
Update System Instructions: Edit the Smart AI Agent's system message to change how the assistant behaves or add specific instructions for your use case.
Connect Multiple Tables: Add additional Supabase Database nodes to give the AI access to multiple tables within your Supabase project.
Add Real-time Features: Leverage Supabase's real-time capabilities by integrating webhooks or subscriptions to keep your chatbot data current.
Add More Tools: Extend the AI agent with additional tools like web search, email sending, or integration with other services.
Chat Trigger → Smart AI Agent ← OpenAI Chat Model
↓
Supabase Database
↑
Remember Chat History
The Smart AI Agent orchestrates the conversation, deciding when to query Supabase and how to use the retrieved data in responses. The memory buffer ensures natural conversation flow by maintaining context across interactions.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | AI chatbot with OpenAI GPT-4.1-Mini and Supabase database knowledge base |
|---|---|
| Complexity | intermediate |
| Nodes | 9 |
| Categories | Internal Wiki, AI Chatbot |
| Author | Gegenfeld |
| Published | 28 Jul 2025 |
Use the JSON export at /data/workflows/6604/6604.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This workflow creates an intelligent chatbot that uses your Supabase database as a knowledge base. The AI agent can automatically query your Supabase tables to provide accurate, contextual response...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Internal Wiki, AI Chatbot use case.