Command

nylas slack reply

Reply to a Slack message in a thread.

Written by Qasim Muhammad Staff SRE

What does nylas slack reply do?

The nylas slack reply command posts a threaded reply to an existing Slack message. Pass --channel, the parent message timestamp via --thread, and the reply text via --text. Use this instead of nylas slack send when you want the message to thread under an existing post.

Usage

nylas slack reply --channel CHANNEL --thread TS --text TEXT

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations
--channelChannel ID or name
--threadParent message timestamp (ts)
--textReply text
--broadcastAlso post to channel
--channel-idChannel ID

Examples

Reply in a thread

nylas slack reply --channel general --thread 1711234567.001234 --text "Rollback finished"

Example output

Reply in #general thread 1234567890.123456 as Alice Chen:
  "Got it!"

✓ Reply posted to thread

Troubleshooting

invalid_thread_ts

Use the parent message ts as printed by `nylas slack messages list --id`. The value is a string with a decimal point.

Run nylas slack reply --help for full help output.