mute-gold•2y ago
Chatbot: Capturing the user leads
i have connected my Voiceflow to googlesheet with a post request to send the Complain, Email and name. It's working but i want to also be able to capture the current date and time. How am I supposed to do that since I tried to add a JavaScript code for creating a time/date variable yet i can't seem to find the variable to add it to the post request. please have a look at the pics for better context.


2 Replies
To capture the current date and time in Voiceflow, you can use the built-in
{system.date}
and {system.time}
variables. These variables automatically capture the current date and time, respectively.
To include these in your POST request, you can simply add them to the body of your request. For example, if you're sending a JSON object, it might look something like this:
In this example, {complain}
, {email}
, and {name}
would be replaced with the actual values of these variables, and {system.date}
and {system.time}
would be replaced with the current date and time.
Please note that the format of your request might vary depending on the requirements of the API you're sending the request to. Make sure to adjust the format accordingly to match the API's requirements.mute-goldOP•2y ago
im using the formdata in my body. How can i do it in thisway
how can i create the time/date using the javascript variables to add to the post request