Solved

KPI aggregations with API responses

  • 30 March 2023
  • 1 reply
  • 52 views

Badge +1

Hello,

We are trying to make an internal dashboard using Front data and data from other tools we have. I am wondering what agregation you did in order to make the KPI that we can see in our analytics. For example the reply time (avg).

 

Another question, is it possible to send a separate message using rules ? I mean :

  • we put a tag on a conversation that triggers the following
  • We extract the recipient mail address
  • Send a specific mail to that recipient using a template

 

Thanks,

 

Best regards,

icon

Best answer by evano 30 March 2023, 23:09

View original

1 reply

Userlevel 2
Badge +5

Hi!

You can find out how Front calculates API analytics metrics here:

https://dev.frontapp.com/reference/analytics

From that link, Front calculates avg_total_reply_time

Sum of all reply times for archived conversation segments with at least one reply, that are currently archived. Previously called Resolution time in legacy Front analytics. Takes business hours into account.

 

Please note that this is different than how Reply Time (avg) is calculated for in-app reports.  You can find that metric here:

https://help.front.com/t/q6hlqr6/reply-time-avg

-

For your other question, possibly, if I understand what you’re asking.  You can create a Rule Set, where, given a specific tag, you would send the corresponding message template as a reply.  Here’s our Help Center article on Rule Sets:

https://help.front.com/t/h7hs8fw/rule-sets#instructions

Here’s what that rule might look like:

In Front’s rule editor, Rule Set column labels for the trigger “Tag” is added and the rule action Reply with “Message template”

I hope that helps!

Reply