Hey guys, I just created a plugin for the VAPI AI, with this plugin you will be able to use the VAPI AI on your bubble app.
You will have a ready-to-go button, all you need is to set your API PUBLIC key and your assistant ID.
You can also hide this button by adding 0% opacity and use a customized button.
You will have access to those statuses to customize your button:
call_active (Boolean)
assistant_status (call-loading, call-started, assistant-talking, assistant-waiting, call-ended)
You have the start conversation action to start/stop the conversation and the reset to reset the messages.
You also have access to the messages, you can even add some functions like opening a popup when the assistant message contains the word email.
And you will also be able to use background messages, you can use it to add commands to the assistant.
background messages have 2 parameters, role and content.
Possible values for the role are system, user, assistant, tool, or function.
You can explore the VAPI documentation to make better use of it
Demo app: Bubble | No-code apps
Loom video
The plugin has been submitted and is waiting for approval.