(Solved) How to save the value of Timestamp into Google Sheet?

Hi all. I’m blown away by the awesomeness of Voiceflow, how it works, what it does. Congrats to the team.

I have a challenge: I want to save a Timestamp into my Google sheet by passing system’s default {timestamp} variable to Google sheet like so:

But all values for Timestamp coming to my Google sheet are “0”.

Am I missing something? Isn’t the value of the system’s default {timestamp} variable already pre-set? Do I need to manually set the value of {timestamp} inside my flow? If so, how do I do that?

Cheers, K

Update: I solved this using the Custom Code block and simple JS code timestamp = Date.now();

1 Like

Wicked helpful, thank you!!

I used this into the custom code block in order to get a more readable timestamp.
It will output like this:

Wed, 30 Mar 2022 15:09:56 GMT

ts = new Date();
timestamp = ts.toUTCString();