HackNotice icon

HackNotice

Call the HackNotice extensions API (alerts, assessments, and more)

Actions85

Chatter → Count

AI-generated

Summary

Count matched chatter posts using either a single search term or a word pool with optional search types and filters.

Inputs

  • Search Mode (required) — Choose between a single term or a word pool search mode.
  • Term (required) — Search phrase to match in chatter subjects and bodies (required if Search Mode is Term).
  • Search Type (required) — Method for matching the search term: exact phrase or wildcard patterns (only for Term mode).
  • Word Pool (required) — JSON array of search terms, for example ["breach", "password"] (required if Search Mode is Word Pool).
  • Word Pool Search Types — Optional JSON array of per-term search types such as match_phrase or wildcard variants (only for Word Pool mode).
  • Minimum Matches (required) — Minimum number of word-pool terms that must match (only for Word Pool mode).
  • Limit by Time (required) — Optionally filter chatter posts by post date using predefined windows or a custom date range.
  • Start Date (required) — Start date for the custom date range filter (required if Limit by Time is Custom).
  • End Date (required) — End date for the custom date range filter (required if Limit by Time is Custom).
  • Additional Filters — Optional JSON filters such as source_name, source_section, author, thread_id, or is_thread_starter applied to the search.

Output shape

a list with a single item containing the count information

Returns an array with one JSON object including the total count of matching chatter posts, page size (50), and computed page count. The node does not paginate its result since it provides only count data.

Examples

Example 1: Count chatter posts matching the phrase 'password breach' exactly within the last week

Set Search Mode to 'Term', input 'password breach' as Term, choose 'Exact Phrase' for Search Type, select 'Last Week' for Limit by Time.

Example 2: Count chatter posts matching at least 2 terms from a word pool ["breach", "password", "compromise"] filtered by author and date range

Set Search Mode to 'Word Pool', enter JSON array for Word Pool, specify Minimum Matches as 2, optionally configure Word Pool Search Types, select 'Custom Date Range' and specify Start Date and End Date, add additional JSON filters for author, etc.

Links

Discussion