Dates from Vapi not importing into Make.com correc...
# support
t
When I test my voice agent and tell it that I want to book an appointment for tomorrow at 10am it seems to pick up the time correctly but sends the date as a random date in October. Any idea how to correct this issue?
v
@Todd Spencer It sounds like there might be an issue with the date parsing logic within your voice agent. To correct this, you'll want to review the code or configuration responsible for interpreting and formatting dates from spoken input. Here are a few steps you can take to troubleshoot and resolve the issue: 1. Check Date Parsing Logic: Ensure that the logic for parsing dates is correctly interpreting relative terms like "tomorrow." It should calculate the date based on the current date. 2. Review Time Zone Settings: Confirm that the time zone settings are correct, as this can affect the date calculation. 3. Inspect Date Formatting: Make sure that the date is being formatted in ISO format as expected by the system. 4. Test with Different Inputs: Try testing with various date inputs to see if the issue is consistent or if it only occurs with certain phrases. 5. Update Documentation: If you have control over the documentation, ensure that it clearly specifies how users should provide date and time inputs. 6. Contact Support: If the issue persists and you're unable to resolve it, please reach out to the support team for further assistance. If you have access to the code or configuration, I would recommend starting with the first step and proceeding from there. If you need assistance with specific code or configurations, please provide more details, and I'll be happy to help further.
You can continue this conversation by mentioning me in the message.
s
please share the call id.
Also try adding this: [Warning] Do not modify or attempt to correct user input parameters or user input, Pass them directly into the function or tool as given.
5 Views