Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Custom slack interrupt message when an interrupt is set #10

Open
ameowlia opened this issue Sep 17, 2020 · 1 comment
Open

Custom slack interrupt message when an interrupt is set #10

ameowlia opened this issue Sep 17, 2020 · 1 comment

Comments

@ameowlia
Copy link

There is an "empty_message" field in the yaml configuration for what to say when no interrupt is set. However there is no customizable "message" field.

It would be great if we could customize our messages. I want to use it to set expectations (ex. "we should respond within 3 hours") and to share docs (ex. "while you wait on the interrupt, we recommend looking at these docs for the answer you need").

It could look something like this:

Screen Shot 2020-09-17 at 5 01 59 PM

@dpb587-pivotal
Copy link
Collaborator

Hi - thanks for the example. I've seen a few teams hack around it to similar effect, but it would be nice to make it cleaner and a bit more featureful. I'll add it to the queue - I keep meaning to get back to interrupt for some improvements like this.

As you may have found, you can currently add a literal value with arbitrary text before or after your interupt-lookups to have it included, but it doesn't work too well when no interrupt ends up being found. For example, something like the following:

delegate:
  union:
  - literal: |
      Hi! We will try to get back to you before end of day today. In the meantime, we recommend checking our docs: https://www.google.com/
      ^ 
  - user: { id: U1234567 }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants