RAG Assistant for my customers based on my own websites
A few days ago, I came across WAHA (Whatsapp API for N8N) (we use Whatsapp for customer chats) and by then had already seen videos about using Telegram as an assistant, and Nate's and other YTers videos on RAG. But all of them (including Nate) had examples on doing RAG using documents in Google Drive.
I don't use Google Drive at work and I don't create documents (at least not yet), that would be beneficial to my customers. And so, I thought about creating a workflow that did this:
A workflow that took whatsapp messages like, "what's the price?", "what is covered in your service?", "are you open now?", "how do I download X?" and provide answers automatically from the content of my websites.
And for the past week, I have been trying to get it done. I am proud to say that I finally got the RAG from websites working. I am sharing that workflow here. This is my first draft and I haven't really bothered with aesthetics (naming of nodes and responses). Will do that once I know that everything is working A-OK.
Things I still need to do:
  • Create snippet in my wordpress websites to trigger n8n webhook on page, post, products and courses creation.
  • Create snippet in my wordpress websites to trigger an n8n webhook for page, post, products and courses updation.
  • Update the workflow (fetch page nodes after webhook trigger) to take the url passed by the webhook.
  • Create my Whatsapp Assistant workflow to answer queries on behalf of my team.
You can download and use it freely. Just make sure that if you enhance it in anyway, to share it forward and to this community.
Oh, and I am no expert in n8n. I just started using this last month and from all the searches, chats on n8n official community and asking people like Nate, it would be clear that I literally have no expertise in this. I just mashed up a lot of stuff from here and there to get this working. And used a lot of AI chats. So, please don't ask me to explain to or troubleshoot for you.
Tip: Claude seems to be better at figuring out n8n issues than Chatgpt, at least in some areas.
11
8 comments
Ravi Warrier
2
RAG Assistant for my customers based on my own websites
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