Give your site a smart sales chat that pulls real product info and answers in plain language. It reads what a buyer needs, checks your database, and shares clear options without switching tools. Ideal for teams that quote plans by city and company size.
Conversations start from a public chat trigger. A short intro message seeds the memory, then the main assistant takes over with long chat memory saved in PostgreSQL. The assistant can call three tools by itself: a MySQL product search, a knowledge base HTTP endpoint, and an external person lookup by name and birthdate. The MySQL query filters by city, state, and modality, and ignores removed items. Variables like cityQuery, state, and holderCount are inferred from the user message, so plain text questions still return exact matches. Set and If nodes route the first message correctly, while two OpenAI assistant nodes handle memory scope and tool use.
Connect OpenAI, PostgreSQL, and MySQL, then align the product query with your table names. Expect faster replies, fewer errors, and more consistent pricing help across agents. Great for pricing guidance, plan comparisons, and prequalification before a human closes the deal.