Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow threading for the ack and result messages for the slack backend #237

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

skiedude
Copy link

@skiedude skiedude commented Sep 30, 2024

Fixes: #161

Example action alias definition

ack:
  extra:
    slack:
      thread_response: true
  format: ":speech_balloon: ACK, Looking that up for you..."
  append_url: false
result:
  extra:
    slack:
      thread_response: true
  format: |
    On-Call:
    Name: {{execution.result.output.result.name}}
    Username: `@{{execution.result.output.result.user_name}}`
    Phone: {{execution.result.output.result.mobile_phone}}
Screenshot 2024-09-30 at 1 17 33 PM

Hubot-slack checks for the existence of envelope.message.thread_ts in order to thread the response instead of sending to the open channel https://github.com/slackapi/hubot-slack/blob/main/src/client.coffee#L191

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

Successfully merging this pull request may close these issues.

Support responding in thread (Slack)
1 participant