Additional Gorgias actions
In addition to the handoff action, the Gorgias Utilities app exposes two utility actions you can use within a handoff to set end-user expectations or branch the conversation before escalating.
Check business hours
The Is in Business Hours action returns whether the Gorgias account is currently within its configured business hours, letting you branch between live agent escalation and a deflection or email-fallback path.
To set up the Is in Business Hours action:
- Add the Gorgias Utilities block with action Is in Business Hours to your answer. The block has no inputs.
- The block exposes a single boolean output,
is_in_business_hours:trueif the current time falls within the Gorgias account’s configured business hours,falseotherwise. - Use the output in an If/Else branch (or equivalent) to route the conversation to live chat or an out-of-hours flow.
If the Gorgias account has no business-hours setting configured, the action returns true. Configure business hours in Gorgias under Settings → Business Hours to rely on this action.
Get median first response time
The Get Median First Response Time action returns the median first response time for the Gorgias account over the past 7 days. Use it to set end-user expectations about the live chat wait time before they escalate.
To set up the Get Median First Response Time action:
-
Add the Gorgias Utilities block with action Get Median First Response Time to your answer.
-
Optionally provide a
tagsinput — a comma-separated list of Gorgias tag names — to filter the calculation to tickets carrying any of those tags. Leave it blank to include all tickets. -
The block exposes three outputs:
-
Surface
response_time_messageto the end user as part of the pre-handoff messaging if desired.