Flowise chat memory API Request to n8n [SOLVED]
Hey Everybody
I've been building a chatbot in Flowise from which I want to send the chat memory to n8n via an API request and then log the chat history into my supabase database from n8n using Postgres Chat Memory.
BUT I don't know if this is a good way of doing it or if it's just a detour. I've been told it's the easiest way. However, I don't know how to do it.
Picture 1:
In the 1. picture you can see my RAG AI agent which is triggered by an API call. When I use the chat node in n8n it upserts the chat history into supabase through the Postgres Chat Memory node (which is why I wanna send the chat history from Flowise to n8n - because Postgres works really well)
Picture 2:
In the 2. picture is my chatbot.
Perhaps I don't even need to send the chat history to n8n to upsert it into supabase - I don't know. Have you got any suggestions?
WHAT MY QUESTION IS: How do I upsert the chat history (including the user's question and the ai's answer) into supabase including timestamp?
9
58 comments
Peter Kaad
4
Flowise chat memory API Request to n8n [SOLVED]
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by