Skip to main content
Answer

Snooze expiry logging in Front API

  • May 17, 2024
  • 3 replies
  • 130 views

Good Morning all,

 

I have been developing performance metrics based off the analytics exports for activity, and have encountered a use case I wish to accommodate.

 

I want to know the amount of time between a snooze expiring and action being taken on a case. the activity dataset currently holds when a snooze was initiated, but as neither the expiry date/time or length of snooze.

 

Is data on snooze expiry/length stored elsewhere? I’d appreciate any assistance on this, Chris.

Best answer by justin

Hi Chris! 

From what is described here, I believe that the events endpoint could be of best use. With this endpoint, you can query specifically by event type and have this querying for reminder events (when a snooze reopens a conversation). 

The payload returned will have the emitted_at value for when the snooze expired, along with relevant information like the conversation involved. 

From there, you could query for any actions taken on those conversations that fit the needs for your metric and apply that to logic on your end for calculating the analytics. 

Best, 
Justin

3 replies

justin
Forum|alt.badge.img+8
  • Fronteer
  • Answer
  • May 20, 2024

Hi Chris! 

From what is described here, I believe that the events endpoint could be of best use. With this endpoint, you can query specifically by event type and have this querying for reminder events (when a snooze reopens a conversation). 

The payload returned will have the emitted_at value for when the snooze expired, along with relevant information like the conversation involved. 

From there, you could query for any actions taken on those conversations that fit the needs for your metric and apply that to logic on your end for calculating the analytics. 

Best, 
Justin


Thank you Justin, that should work well for me.

Are there any other situations that a reminder event would be triggered? The documentation simply states “When a conversation is reopen by a reminder”.

 

Thanks again, Chris.


justin
Forum|alt.badge.img+8
  • Fronteer
  • May 22, 2024

Hi Chris! 

A snooze reopening the conversation is referred to as a reminder and is the only reminder that reopens a conversation. 

Let us know if there are any other questions! 

Best, 
Justin