Workspace‑wide Slack message search with date ranges and filters. Use `query` modifiers (e.g., in:#channel, from:@user, before/after:YYYY-MM-DD), sorting (score/timestamp), and pagination.
Page number for manual pagination control. Cannot be used with auto_paginate - choose either automatic collection OR manual page control, not both.
sortstring
Sort results by `score` (relevance) or `timestamp` (chronological).
countinteger
Without auto_paginate: Number of messages per page (max 100). With auto_paginate: Total messages desired. Set count=500 to get 500 messages with automatic pagination handling.
querystring
Required
Search query supporting various modifiers for precise filtering: **Location Modifiers:** - `in:#channel-name` - Messages in specific channel - `in:@username` - Direct messages with user **User Modifiers:** - `from:@username` - Messages from specific user - `from:botname` - Messa…
cursorstring
Cursor for cursor-mark pagination. Use `*` for the first call, then use `next_cursor` from the previous response for subsequent calls. This is the modern pagination approach recommended by Slack. Cannot be used with `page` parameter - choose either cursor-based or page-based pag…
team_idstring
ID of the Slack workspace (team) to operate on, e.g. T0123456789. Use only with org-level Enterprise Grid tokens when you need to target a specific workspace; omit for single-workspace tokens.
sort_dirstring
Sort direction: `asc` (ascending) or `desc` (descending).
highlightboolean
Enable highlighting of search terms in results.
auto_paginateboolean
When enabled, 'count' becomes the total messages desired instead of per-page limit. System automatically handles pagination to collect the specified total. Cannot be used with 'page' parameter - choose either automatic collection or manual page control. Usage: If you fetched 100…
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not