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 MyActivity($input: ActivityFeedInput!) {
user {
id
activity(input: $input) {
items {
...ActivityEventFields
}
nextCursor
}
}
}
query MyActivityOverview($input: ActivityOverviewInput!) {
user {
id
activityOverview(input: $input) {
from
to
timeZone
total
days {
date
count
}
topEntities {
entityType
entityId
count
}
}
}
}
query EntityActivity($input: SoupInput!, $limit: Int) {
user {
id
soup(input: $input) {
items {
...EntityActivityFields
}
}
}
}
query DatabaseActivity($databaseId: ID!, $limit: Int) {
user {
id
databaseActivity(databaseId: $databaseId, limit: $limit) {
...ActivityEventFields
}
}
}
fragment EntityActivityFields on GraphqlSoupEntity {
__typename
id
activity(limit: $limit) {
...ActivityEventFields
}
}
fragment ActivityEventFields on GraphqlActivityEvent {
__typename
id
actorId
subjectId
entityType
entityId
occurredAt
action {
__typename
... on GraphqlActivityPropertyChanged {
property
from
to
}
... on GraphqlActivityParticipantAdded {
participant
}
... on GraphqlActivityParticipantRemoved {
participant
}
... on GraphqlActivityCallStarted {
callId
}
... on GraphqlActivityUnknownAction {
tag
payload
}
}
}