https://discord.gg/botpress logo
Product Recommendation System.
# 🤝help
d
Scenario: Hello Guys, I'm working with Real Estate bot and I want to make a product recommendation system. A system that suggests the best matched properties to the users based on the provided information like no of beds, baths, pool yes/no, single or double story, most importantly budget etc. What I have tried: I know this can be achieved very easily with botpress tables but in that case I'll manually have to add or remove the properties form the tables. Problem: Is there any way I can integrate botpress directly with the client's database so that when they'll update properties on their website (basically in the database) my bot will update on its own as it'll be directly connected with the database and that will be updated by the client. I don't want them to tell me everytime a property is sold or added. It should be automated. And once it displays the results it should show a dynamic carousal with clickable click so that they can schedule a tour right from the chat. Any help will be appreciated guys. @prehistoric-airplane-85682 @fresh-fireman-491
l
there are two ways of solving this problem: you can directly query the client's database to list properties, and this way, the data will always stay updated Or you could create a knowledge base of the complete database into a text file and load that into the KB, periodically keep updating the text file.
d
@limited-pencil-78283 Yeah I know about the second part I can use botpress tables for this. But I'll have to update the table manually and thats a very hectic process to update it every time they make a sale or they add a new to the list. I wanna know about the first part. How can I do it with their database so that it stays updated on its own? Any help will be appreciated.
p
Find the api endpoints that are available for their database system and call them via execute code cards in your workflow or every x time interval with the fixed schedule trigger. Hope this helps!
d
Thank you for the help. I'll do some reasearch on it..
p
Alright, let me know if you have further questions!
4 Views