Templates

Support queue digest routine

Each morning, what is waiting in the support queue, summarised by a bot that can only read.

Illustration of the app. Names and values come from this template.

The short answer

Create a digest bot, grant it your support connector, such as Intercom or SupportWire, allow only read, list and search tools, and deny every other tool on that connector for the bot. Run the prompt once in a chat, then make it a daily routine. Routines use team connectors only and pause after 10 failures in a row.

How to use this template

  1. Add Intercom or SupportWire from the integrations catalog as a team connector.
  2. Create a digest bot and grant it only that connector.
  3. Match the tool names below to your connector, scope the rules to the digest bot, and save them as an admin.
  4. Run the prompt once in a chat with the bot, then make it a routine, such as 0 9 * * 1-5 for 9am on weekdays.

The template

Copy it, then replace the values in angle brackets with your own.

Rules (scope each one to the digest bot; replace intercom with your connector's name):
[
  { "name": "Allow reads", "effect": "allow", "priority": 40, "tool_glob": "intercom__get*" },
  { "name": "Allow lists", "effect": "allow", "priority": 40, "tool_glob": "intercom__list*" },
  { "name": "Allow searches", "effect": "allow", "priority": 40, "tool_glob": "intercom__search*" },
  { "name": "Deny everything else", "effect": "deny", "priority": 100, "tool_glob": "intercom__*", "reason": "The digest bot only reads." }
]

Routine prompt:
Summarise open support conversations from the last 24 hours. Group them as:
waiting on us, waiting on the customer, and urgent. For each one give the
customer, the topic in one line and how long it has waited. End with the
three to answer first.

Routine limits to know

Why a read-only bot

A digest only needs to read. Denying writes for this bot means a confused run cannot reply to a customer or close a conversation, and nothing waits for an approval that nobody is there to give. Replies stay with your support team, or with a separate bot whose writes ask first.

Watching your own Slack too

This digest reads the support tool, not Slack. For your own Slack, link your Slack user and ask a bot to watch your Slack: it creates a routine named Slack watch that runs every 15 minutes and reports only DMs, mentions and questions for you, each run covering what arrived since the last good run.

Related reading

Questions

Why can a routine not use my personal connectors?

No person is in the chat during a run, so Bello Bot offers team connectors only. Add the support tool as a team connector for the routine to use it.

How often can a routine run?

At most every 15 minutes, with up to 20 routines enabled per org.

Can the digest reply to customers?

Not with these rules. Every tool other than reads, lists and searches is denied for the digest bot.

Keep reading

Try Bello Bot with your team

Public beta. Bring your own model keys, invite your team, and approve what your bots do.