Hi team, sorry for the long messages... trying to provide more context on my question. Please let me know if there are better ways of asking these type of questions:
**Goal**: learn the best practice while integrating my backend server and Vapi
I will use the use cases from the agent I am building as a media for my questions.
Agent description: I am building an agent as a personal secretary to handle incoming calls properly. It should pass through the call when it finds the incoming call legit otherwise denies the call.
Where am I: Now I have my vapi assistant ready and I can chat with it.
**Next**: I want to add more functionality to this agent with the following use cases
*Use cases: *
* During the conversation, I want to analyze the call in real time to log the transcript and potentially generate some data as input for the following prompts
* I want my agent to check my Google Calendar availabilities before deciding if it should pass through the call
* Right before passing through the call, I want my agent to send me a text message summarizing the current conversation so I can have the context.
My thoughts/questions:
* Is it even necessary to have a backend server for my use cases above? It seems the answer is yes to me unless I am aware of some existing features of Vapi
* What would be the general practice of integrating a server logic into voice agent? E.g. only relying on webhook? Adding logic after vapi receive the speech-text but before sending it LLM in order to add dynamic info to the prompt?
Thanks in advance!