Build a chat assistant that remembers each conversation and keeps contact data clean. It stores chat history in a Supabase table and fills missing name fields automatically. Great for support teams testing WhatsApp style chats or early CRM capture.
When you click Test workflow, a Set node loads a sample session id, name, and chat text. An Agent uses Google Gemini Flash 2.0 and pulls up to 20 past messages from a Supabase Postgres chat memory using that session id. The Agent sends a reply and the memory node logs the turn to the whatsapp_messages3 table. After that, a Supabase API step finds rows where the session id matches and the name is empty, then writes the name from the input. You get context for each user and cleaner records in one run.
You will need a Supabase project with a table named whatsapp_messages3 and a Google Gemini API key. Connect the Postgres chat memory and the Supabase API credential, then set the sample inputs. Expect faster answers, less manual data entry, and tidier profiles for support, lead intake, and internal help chat pilots.