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
import { defineBlock, LoadErrors } from '@core/block';
import { ok } from 'neverthrow';
import { lazy } from 'solid-js';
/** A CRM pipeline, which opens in the Customers view. */
export const definition = defineBlock({
name: 'pipeline',
description: 'View a CRM pipeline',
component: lazy(() => import('./component/PipelineBlock')),
liveTrackingEnabled: false,
async load(source, _intent) {
if (source.type === 'dss') {
return ok({ id: source.id });
}
return LoadErrors.MISSING;
},
accepted: {},
});