Search Slack messages, files, channels, and users via Real-time Search API. For queries referencing entities by name (users/channels/files), first resolve with content_types (users/channels/files) to get exact ID. If multiple matches, ask user to clarify before proceeding (e.g.…
sortstringSort results by 'score' (relevance) or 'timestamp' (chronological). Defaults to score.
afterintegerUnix timestamp. Only return results from after this date.
limitintegerMaximum number of results per page. Max 20. Defaults to 20.
queryRequiredstringSearch query. Supports both keyword search and natural language questions. Natural language queries (starting with what/where/how or ending with ?) trigger semantic search if available on the workspace. Supports OR operator for multiple terms: "deployment issues with kubernetes…
beforeintegerUnix timestamp. Only return results from before this date.
cursorstringPagination cursor from a previous response's next_cursor field.
sort_dirstringSort direction: 'asc' (ascending) or 'desc' (descending). Defaults to desc.
highlightbooleanHighlight matching search terms in the results.
modifiersstringAdditional search modifiers in 'modifier:value' format. E.g., 'has:pin before:yesterday is:thread'.
action_tokenstringAction token from a Slack event payload. Required when using a bot token. Not needed for user tokens.
include_botsbooleanInclude bot messages in search results.
term_clausesarrayList of search term clauses for conjunctive matching. Results must match every clause specified. Each clause is a string with one or more search terms.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.