Hi, I’m creating a flow that will function as a chatbot (in this case, the example is my own automation business), but there’s so much information that I’m a bit lost.
I have a webhook coming from ManyChat, a buffer, a split for text or voice, and three subflows.
I have a FAQ subflow, and this is where I’m stuck. I have an AI agent using Google Sheets, but I recently came across the concept of RAGs (Real-Time Aggregate Groups). I’ve spent many hours searching for information, and sometimes I find that the architecture I’ve been using is already obsolete or that there are tools that make certain processes much easier.
Any ideas or improvements for the overall workflow? What tools are currently used for this type of workflow?
How can I improve the accuracy of the FAQ flow? The same goes for the calendar; it schedules, but sometimes it gets the right day, sometimes it puts it on a different day.
You’ve got a complex workflow, but let’s focus on improving accuracy. For the FAQ, consider using the “OpenAI” node with a “Text Embeddings” model to create embeddings from your FAQ data. Then, when a user asks a question, embed their query and compare it to your FAQ embeddings to find the most relevant answers.
Regarding the calendar, double-check how you’re parsing the date information from the user’s input. Ensure that the date format is consistent and that the calendar node is correctly configured to interpret it. You might need to use a “Set” node to format the date before sending it to the calendar.
Load your FAQ content (from Google Docs, Notion, or files)
Use Default Data Loader node
Connect to Pinecone Vector Store or Qdrant
Run once to populate your vector database
In your main workflow:
Use AI Agent node
Add Vector Store Tool
Configure it to search your vector database
The agent will automatically search when users ask questions
For Calendar Accuracy:
Add this to your AI Agent system prompt:
Current date and time: {{$now.format('YYYY-MM-DD HH:mm')}}
Current day of week: {{$now.format('dddd')}}
When booking appointments:
1. Always confirm the exact date with the user
2. Use ISO format (YYYY-MM-DD) for dates
3. Ask for clarification if the date is ambiguous
4. Repeat the date back to the user before booking