Docs »

Tickets »

Snippets

Quickly reply with predefined responses

Workers and automations can use snippets to quickly insert predefined text into messages. You can think of snippets as copying and pasting from a giant shared clipboard.

However, unlike the traditional paste action, snippets also support sophisticated scripting functionality with placeholders and conditional logic. This means that the content of a snippet can change based on when and where you use it.

In a common use case, an auto-responder message will use placeholders in a snippet like:

Hi {{first_name}},

Thanks for contacting us!

A new support ticket has been opened in response to your message:

Reference #: {{mask}}
Subject: {{subject}}

We'll be in contact shortly.

The above snippet results in the following text when used by an automation on a new ticket:

Hi Charlotte,

Thanks for contacting us!

A new support ticket has been opened in response to your message:

Reference #: CRB-01092-002
Subject: Do you accept purchase orders?

We'll be in contact shortly.