Assistant is calling functions but not sending dat...
# support
a
This is a new issue, as my functions have previously worked well. The assistant asks for variables like name, contact info and other details to send an email. After asking for all required info, it tells the caller it sent a message, but it's not triggering Make.com any more. It used to work fine. Tested various prompt changes and models. Not working with GPT4 or 4o.
v
@ACME Mike I'm sorry to hear that you're experiencing issues with your voice assistant's email function. It sounds like there might be a problem with the integration between the assistant and Make.com. To assist you better, I would need to check the configuration and logs to understand where the issue might be occurring. However, since I'm here to provide support for VAPI, I can help you ensure that the function call to send an email is being formatted correctly. If you can provide me with the details that the assistant is supposed to collect, I can demonstrate how the function call should be structured. Once we confirm that the assistant is sending the correct data, you may need to check the Make.com scenario logs to see if the webhook is being triggered and if there are any errors on that end. Could you please provide the details that are required for the email function, or would you like me to simulate a function call with example data?
You can continue this conversation by mentioning me in the message.
s
please share call id.
a
This call was to only test a 'sendMessage' function: b401b1bb-6f29-41f3-9452-18c7e3ce740d
Here is another to test a 2nd function: 'estimateRequest' which is also failing: 9e0803ce-3c18-4b10-a782-436f60874163
Working now...all I've done is leave it for a night
s
@ACME Mike sorry for the delayed response, is it resolved now?
a
Yes, It seems to be working fine, but I didn't do anything. Any idea what my issue might have been?
Wow - not working again
Assistant asks for variables but does not hit the Server URL. bb226b0e-fa11-4dd3-aca6-760f4b853c07
s
For this call the functions were not triggered.
@ACME Mike please help with timestamp.
a
Not sure I understand, but this is where the function should have been sent through server url: 06:53:14:861 for call bb226b0e-fa11-4dd3-aca6-760f4b853c07
s
You wanted to call
estimateRequest
function but it didn't called because didn't asked for
address
, what I can suggest is refactor your function descriptions.
do you have few call ids where it was working with same prompt?
a
It was collecting variables for sendMessage function. It actually asked for all the needed data just fine, it just didn't send to Make.com This is specific to call bb226b0e-fa11-4dd3-aca6-760f4b853c07
Here is a call where it worked: b6502b55-6b92-4489-95a5-76e7f41f5d4c
s
@Mike please check DM.