You can follow the below video or read the step-by-step instructions to setup your AI Bot.
1.1 Create an account on Rowy - a low-code backend platform
1.2 Once you create a workspace, create a new project (see video instructions)
1.3 Create a new table from on of the templates. Pick the one closest to your usecase, you can then tweak it as you need
The table creation will take you through a guided process to setup both OpenAI API key as well as Twilio. These API keys are securely stored to you own project on Google Cloud.
You can create an API key from your OpenAI account dashboard. Copy over that API key to Google Cloud secret manager. Create a new key called openai. Then pick that from the table creation OpenAI API key step.
If you haven't already, sign up for a Twilio account. You'll need to set up a new Twilio phone number and configure it to send and receive messages.
Follow the steps to get the complete setup of the Whatsapp AI bot including the the database, webhooks and cloud functions needed.
In case you want the bot to reply to messages in audio, then you can use a text-to-speech API like Play.ht to do that for you. If you clone the "Whatsapp Business Support" template you will see an example with this option.
👉 Copy the webhook URL from Rowy webhooks and add it to your Whatsapp Sender configuration on the Twilio account.
Send a message to your whatsapp number and see the message on your Rowy account and watch the response coming in from OpenAI.
In case of any questions with the setup, join our Discord to chat with us and share what you are building, we would love to help you out.