I was thinking I need Replit because I have many c...
# 🌎general
b
I was thinking I need Replit because I have many custom functions built there to schedule appointments with users in Google Calendar, send emails, save data in a Table DB, fetch products from my websites and more. I have been looking through the guides on your YouTube channel but I can't seem to find how to transfer my functions over to Botpress. I will be having a meeting with my business partner later and I want to show him a fully transferred bot from VF to Botpress so we can agree on moving everything over asap. If you can share some insight or share some relevant guides on how to basically copy and paste over my existing functions (I used JavaScript to write them) that would be great! So right now I want to do the following - in Replit I have some custom code that I want active in my AI assistant in Botpress. I have already setup the bot to reach OpenAI (with your template) and added the OpenAI assistant ID and Secret Key. It is working so far, only my custom functions are missing that are doing the following - Capture lead (puts customer details in a table), Schedule appointment (books appointments in a Google Calendar with info from the user) and finally Fetch Product (this uses WordPress' REST API to reach the database on my website to fetch products for users - when a user asks if we have product X available the bot checks the database and provides information + direct link to the product. Any help is much appreciated! 🙂