Skip to content
How to get the curr...
 
Notifications
Clear all

How to get the current date and hour of a webhook execution in callin.io?

3 Posts
2 Users
0 Reactions
6 Views
HBS_France
(@hbs_france)
Posts: 9
Active Member
Topic starter
 

Hello !

How can I post the date/time of a webhook execution? I'm developing a bot that needs to relay information from the last Aircall call, specifically the call's time and date. As I'm having trouble retrieving the call date directly from Aircall, could you advise on how to simply post the webhook execution timestamp to my CRM? What formula should I use for this?

Thank you very much !

 
Posted : 27/10/2022 10:20 am
MutedJam
(@mutedjam)
Posts: 21
Eminent Member
 

Hi, you could use an expression such as {{ $now }} to get the current timestamp in callin.io:

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:

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

Hope this helps!

 
Posted : 27/10/2022 2:19 pm
HBS_France
(@hbs_france)
Posts: 9
Active Member
Topic starter
 

Thank you very much!

 
Posted : 02/11/2022 4:54 pm
Share: