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
fragment FavoriteFields on GraphqlFavorite {
__typename
id
entityType
entityId
sortOrder
createdAt
fileType
documentSubType
channelType
channelId
}
query Favorites($filter: FavoritesFilterInput) {
user {
id
favorites(filter: $filter) {
...FavoriteFields
}
}
}
mutation SetFavorite($entity: EntityRefInput!, $favorite: Boolean!) {
setFavorite(entity: $entity, favorite: $favorite) {
__typename
result {
__typename
... on GraphqlMutationSuccess {
effects {
__typename
... on SoupUpdated {
item {
__typename
id
isFavorited
}
}
}
}
... on GraphqlMutationError {
errorCode
message
}
}
favorite {
...FavoriteFields
}
}
}
mutation ReorderFavorites($input: ReorderFavoritesInput!) {
reorderFavorites(input: $input) {
__typename
id
entityType
entityId
sortOrder
}
}