Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
Extract only the remaining content or topic to match for the selected search type. Remove the search instruction, requested content-category wording, complete supported filter clauses, and topic-introducing words such as about, containing, for, or related to. Return null when only category and supported filters remain. Never repeat filter wording as keywords.
Only consume filters present in the supplied schema and supported by the supplied option catalog. Tag predicates remain keyword text. Unsupported or negated filters stay in the query so the search is not silently broadened. Preserve actual keyword phrases, quoted literal topics, dates, and ordinary uses of in or from inside the topic.
Examples: search channels for messages from Person A has query null; search messages from Person A in sales about growth in 2026 has query growth in 2026; search tasks for android and tasks related to android both have query android; high priority tasks assigned to Person A about android has query android; search documents from Person A has query from Person A because documents do not support a sender filter.
Filter-only examples: search high priority tasks assigned to Person A has query null, not high priority tasks assigned to Person A. Search channels from Person A has query null, not Person A. For Documents, search documents from Person A has query from Person A, including the word from, because there is no supported sender field to consume that clause.