We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Action outputs API response, we can get thread_ts value in next steps.
thread_ts
x
[ ]
jobs: post: runs-on: ubuntu-latest env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} steps: - uses: slackapi/slack-github-action@v1.18.0 id: slack with: channel-id: '#general' slack-message: "Summary" - uses: slackapi/slack-github-action@v1.18.0 with: channel-id: '#general' payload: | { "text": "Details", "thread_ts": "${{ fromJSON(steps.slack.outputs.response).ts }}" }
The text was updated successfully, but these errors were encountered:
Hmm this is a pretty good idea.
I don't think we would be able to provide this for the webhook usecases, but would be useful when using the bot token route.
example output from a successful chat.postMessage
chat.postMessage
{ "ok": true, "channel": "C1H9RESGL", "ts": "1503435956.000247", "message": { "text": "Here's a message for you", "username": "ecto1", "bot_id": "B19LU7CSY", "attachments": [ { "text": "This is an attachment", "id": 1, "fallback": "This is an attachment's fallback" } ], "type": "message", "subtype": "bot_message", "ts": "1503435956.000247" } }
Sorry, something went wrong.
#73 added message-ts as an output
6f5b737
added thread-ts as an output. Fixes #73
3bdd566
#73 added thread-ts as an output (#74)
3b53905
* added thread-ts as an output. Fixes #73 * added example of thread_ts being used in a followup step
stevengill
Successfully merging a pull request may close this issue.
Description
Action outputs API response, we can get
thread_ts
value in next steps.What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Example
The text was updated successfully, but these errors were encountered: