Api code
# 🤝help
a
Hi everyone, I have a problem and I don't know how to solve it. I have a service with API key. The user sends a request - it is sent to the service, the result is sent back to Botpress. And the variable with the result is available for further use - sending a response to the user. I tried to generate the code in Botpress and GPT4, I get an error in the code. I would be very grateful if you could explain how to make the code or where to find it. Or if there is a template Translated with DeepL.com (free version)
q
Check out these; there is all the code required for using external APIs in Botpress and sending the response to the user. You can also download chatbot files and try them https://discord.com/channels/1108396290624213082/1166972460583899229 https://discord.com/channels/1108396290624213082/1178590925421821982
Here is a great example from 🦸‍♂️ SimplyGreatBots 🫡 of how to use API keys. Check the YouTube video, study the code, and download the bot https://discord.com/channels/1108396290624213082/1171505452257902662
a
Thanks a lot buddy, you helped me out. Have a good day
q
🦸‍♂️ 🛠️ 🫡
2 Views