Need Guidance on Defining Custom Functions in Vapi...
# support
a
Hello Vapi Developers, I'm working on an integrated project that uses Vapi Assistant to control a cloud computing workflow prebuilt in Power Automate via voice commands. Here is the context and the challenge I'm facing: Project Overview: Front-end: Using Bubble.io to build the user interface which also hosts the Vapi Assistant. AI Backend: Leveraging Azure AI for all tasks related to artificial intelligence and machine learning. Voice Agent: The core voice functionality is powered by Vapi, integrated within our Bubble.io-based application. Cloud Workflow:Power Automate manages our cloud computing automation, which is prebuilt and is activated through an HTTP trigger. The Challenge: I need to define and implement custom functions for Vapi so that a voice command can trigger the Power Automate workflow. However, I'm uncertain about the best approach to achieve this integration. Specifically, my questions include: - Should I use Vapi’s built-in Functions tools to handle this integration, or would it be more effective to develop a custom solution in my own environment—integrating with Vapi Assistant via its Agent ID? - What are the best practices for securely invoking an HTTP trigger in Power Automate from Vapi Assistant? - Are there any reference implementations, code samples, or documentation that show similar integrations, especially those involving a multi-technology stack like Bubble.io, Azure AI, Vapi, and Power Automate? I appreciate any guidance, experiences, or recommendations you can provide on how to best set up this system. Thanks in advance for your support. https://cdn.discordapp.com/attachments/1363990140728508537/1363990141319778354/20250421_164847.jpg?ex=68080a4f&is=6806b8cf&hm=60e7a452b33d89396dbe5483e0784005c625d01f44dcc54e8641a164bd130a2f&
h
@Vapi Support Bot
k
Hello. I have some videos for you to watch:

For Vapi -> Power Automate flows: I do have a question regarding functionality: How are you intending on using [bubble.io](http://bubble.io) as the front-end in relation with Azure AI? Can you give me an example workflow of how you want this to work?
a
I Really Appreciate Kyle,
I'm on it will be updating you soon.