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
query ItemPreviewNameCacheWrite($input: SoupInput!) {
user {
id
soup(input: $input) {
items {
__typename
id
displayName
... on GraphqlSoupDocument { documentName: name }
... on GraphqlSoupChat { chatName: name }
... on GraphqlSoupProject { projectName: name }
... on GraphqlSoupChannel { channelDisplayName: name }
... on GraphqlSoupCall { customName }
... on GraphqlSoupCrmCompany { companyName: name }
... on GraphqlSoupEmailThread { emailName: name }
}
}
}
}
query ItemPreviewFileTypeCacheWrite($input: SoupInput!) {
user {
id
soup(input: $input) {
items {
__typename
id
... on GraphqlSoupDocument {
fileType
}
}
}
}
}
query ItemPreview($input: SoupInput!) {
user {
id
soup(input: $input) {
items {
...ItemPreviewFields
}
}
}
}
# Rich display previews load task metadata before their children mount.
# Keep ItemPreviewFields minimal for cached creation seeds and name-only reads.
query ItemPreviews($input: SoupInput!) {
user {
id
soup(input: $input) {
items {
...ItemPreviewDetailsFields
}
}
}
}
fragment ItemPreviewDetailsFields on GraphqlSoupEntity {
...ItemPreviewFields
... on GraphqlSoupDocument {
properties {
...SoupPropertyFields
}
viewerPermission {
__typename
... on GraphqlAccessLevelPermission {
accessLevel
}
}
}
}
fragment ItemPreviewFields on GraphqlSoupEntity {
__typename
id
displayName
... on GraphqlSoupDocument {
documentName: name
fileType
subType {
__typename
... on GraphqlTaskSubType {
isCompleted
}
}
}
... on GraphqlSoupChat {
chatName: name
}
... on GraphqlSoupProject {
projectName: name
}
... on GraphqlSoupEmailThread {
emailName: name
senderEmail
senderName
}
... on GraphqlSoupChannel {
channelDisplayName: name
channelType
}
... on GraphqlSoupCall {
customName
channelName
}
... on GraphqlSoupCrmCompany {
companyName: name
domains
}
}