Build automations and SLAs in HelpBat
Rules do the routine work so your team can do the thinking. This guide builds a small, sensible set you can grow later.
Every HelpBat help desk starts with weekday business hours, a standard SLA policy, starter triggers, macros and canned responses. Those defaults are a starting point. In this tutorial you will make them match how your team actually works: set your hours and holidays, define SLA targets per priority, and add a few triggers, one time based automation and a macro.
All of this is on every plan, including Free. For the reasoning behind good targets, read How to set SLAs and measure first response time.
What you need
- A HelpBat help desk and a role with permission to manage automations.
- Your team's real working hours, time zone and public holidays.
- The response times you promise customers, if any, per priority.
Step by step
- Set business hours and holidays
Open Settings, Business hours. Set the Name, the Time zone and the hours for each weekday; you can add several windows in a day, for example a lunch break. Under Holidays, one per line, add dates like
2026-12-25 Christmas (every year). SLA clocks stop outside these hours and on holidays. Without business hours, SLAs count calendar time. - Create an SLA policy
Open Automations, SLA policies. A policy has conditions, such as priority or brand, and targets per priority in minutes of business hours: first response (creation to the first public reply), next reply (a customer follow up to the next public reply) and resolution (creation to solved). The first policy from top to bottom whose conditions match a ticket sets its targets.
- Decide what happens on a breach
The assignee is warned before a target is due, 30 minutes by default. When a target is missed, the breach is recorded once, a note is added, the assignee or the group's supervisors are notified, and the policy can raise the priority or move the ticket to another group.
- Add a routing trigger
Open Automations, Triggers. Triggers run the moment a ticket is created or changes, in order, each at most once per change. Build one that routes billing tickets: under all conditions add
eventis created andmessage_textcontains refund; under actions addset_groupBilling andset_priorityHigh. - Add a time based automation
Open Automations, Time based. These run every ten minutes on open tickets and need at least one hours since condition. A classic:
statusis pending andhours_since_requester_updateis greater than 72, thenreplywith a friendly nudge andset_statussolved. Each automation fires once per ticket. - Create a macro
Open Automations, Macros. A macro applies several changes and a reply with one click; agents review the reply before sending. For example "Refund approved": add the tag refund, set status solved, and a reply using placeholders such as
{{requester.first_name | default: "there"}}. - Test with a real ticket
Send a test email that contains the word refund. Check that it lands in Billing with high priority and that the SLA badge shows the right target.
A sensible first set of SLA targets
If you have never set targets, start with numbers your team already hits most of the time, then tighten them. Here is an example shape, not a recommendation for every business:
| Priority | First response | Next reply | Resolution |
|---|---|---|---|
| Urgent | 60 minutes | 120 minutes | 1 business day |
| High | 4 hours | 8 hours | 2 business days |
| Normal | 1 business day | 1 business day | 5 business days |
| Low | 2 business days | 2 business days | 10 business days |
Remember that targets are entered in minutes of business hours, so one business day on a 9 to 5 schedule is 480 minutes. The resolution clock pauses while a ticket is pending or on hold, and those minutes are added back when it resumes.
Useful conditions and actions
Conditions have an all list (every one must hold) and an any list (at least one). A few fields worth knowing:
channel,brand_id,requester_domainandorg_idfor routing by source or customer.sentiment,intentandcategory, set by AI triage, to route negative billing tickets to a senior group.within_business_hoursandsla_breachedfor escalation rules.eventwith values such as customer_reply, agent_reply or sla_breached.
Actions include setting status, priority, group and assignee (or "auto" for the group's routing), tags, custom fields, followers, public replies, internal notes, email notifications, webhooks, snooze, sending the satisfaction survey and running AI triage. The complete list is in the automation docs.
Approvals for sensitive replies
In Settings, Approvals you can choose roles whose replies need approval, or words like refund that make a reply wait for a supervisor. It is a simple guard for new agents and sensitive topics, and it pairs well with AI actions and approvals.
Troubleshooting
A trigger does not fire
Triggers run in position order and each fires at most once per change. An earlier trigger may have changed the ticket so your conditions no longer match. Check the order and the all and any lists.
SLA times look wrong
Check the time zone on the business hours and whether a holiday is set. Targets are in business minutes, not calendar minutes.
A time based automation never runs
It needs at least one hours since condition and only checks open tickets every ten minutes. It also fires only once per ticket.
Frequently asked questions
Are SLAs available on the Free plan?
Yes. SLA policies with business hours, triggers, automations and macros are included on every plan, including Free.
Does an automatic acknowledgement count as a first response?
No. First response is measured to the first public reply by an agent or the AI agent. Automatic acknowledgements do not count.
Can a trigger cause a loop?
No. A trigger can react to another trigger's change, up to five passes, but never in a loop.
Where do I see SLA compliance?
Reports show first response and resolution compliance and the number of breached tickets.