https://discord.gg/botpress logo
Connect chatbot to supabase database
# 🤝help
k
Can Botpress chatbot connect to Supabase database and if yes how do i do that?
b
what are you looking to accomplish? 👀
k
i have a database of user for my service, so i want to connect whatsapp chatbot to the database for users to be able to interact with the information on the database. eg. users can change their details via the chatbot and the update happens on the database.
b
ah gotcha! in that case you'd have to make requests to the supabase API to adjust the contents
ideally, you'd use the bot to determine what data you want to edit and then have that set before the bot makes the request
b
are you receiving any logs on the request? there should be a log somewhere indicating attempted api calls
k
i am receiving logs, on the chatbot it shows data sent is successful and on supabase, it show its waiting for data
b
is there anywhere in supabase where you can see the actual result of the call?
or likely that there's an error
this is just showing that the call was made
9 Views