Make your website content easy to chat with. The flow scans WordPress posts and pages, builds a vector index in Supabase, and serves answers through an AI chat. It suits marketing teams and content owners who want quick, trusted replies pulled from their own articles.
On the first run, tables are created and all content is loaded. A schedule checks WordPress for changes and only pulls items updated since the last run. Published and unprotected pages are converted from HTML to clean text, split into small chunks, and turned into embeddings with OpenAI. The data is stored in Supabase, and smart logic upserts records so edits replace old vectors. When a chat message arrives, related documents are fetched from Supabase and passed with metadata to a chat model. Postgres stores the chat memory so replies keep context, and the answer is returned by webhook.
Set credentials for WordPress, Supabase, PostgreSQL, and OpenAI. Adjust the schedule to match how often you publish. Expect strong time savings on content indexing and fewer support questions, while visitors get clear answers based on your site. Use it for content search, pre sales FAQs, and training pages that need a helpful chat layer.