How to post current date et hour or the date and the hour of a webhook execution? (Aircall)

Hello !

How can I post the dat/time of a webhook execution?
I am building a bot that needs to pass the information of the last Aircall call and I want to take the time and the date of the Aircall. Since I cannot figure out how to take the call date from Aircall, how can I simply post the webhook execution timing on my CRM? What is the formula for this?

Thank you very much !

Hi @HBS_France, you could use an expression such as {{ $now }} to get the current timestamp in n8n:

For more examples (e.g. if you want to use a specific format for your timestamp) you might want to check out this example workflow built by @Jon:

The documentation on how to use Luxon (the library these expressions are built upon) would be available here.

Hope this helps!

Thank you very much !

1 Like