Node Templates
// Individual building blocks for your workspace workflows
export Ontology Chain
// THE node for 'how is X connected to Y?' (Start X, To Y) and 'what is related to X?' (Start X alone): explained paths through the ontology, each hop cited to its source passage; it can also walk a typed chain of hops. Emits a synthesizer-ready summaryText; wire Start from Merge Ranked Lists' topId and summaryText into a Knowledge Synthesizer's context. Start and To take an entity's NAME only, as the documents write it and never translated ('现金流风险' stays '现金流风险'): the kind the user names goes in Start Type / To Type ('lo strumento AI' is Start 'AI', Start Type 'AI tool'; 'AI (AI_Model)' is Start 'AI', Start Type 'AI_Model'). A result shows 2 paths unless Max Paths raises it (up to 5). Query (advanced) replaces every field, Start included.
export Ontology Traverse
// Walk typed links out of, into, or both directions from an ontology object and return the connected sub-graph.
export Task
// One unit of intent, above the lanes that attempt it. Holds the brief and nothing else: wire it into one or more Lane nodes and they share that one text, while the board rolls their states up into a single status for the task. A lane is a worker on a branch — this is the thing the worker is working ON, and it outlives any single attempt.
export Plan aggregate
// Collect the tasks every Plan review produced into one ordered, de-duplicated list. Several reviews wire into its one Tasks input; it drops the duplicates four lenses inevitably raise, sorts by priority then by lens, and emits both the JSON a Task node is built from and the markdown checklist a design doc carries.
export Ontology Set Property
// Patch (merge) the properties of an existing ontology object or link and return its id.
export Ontology Search
// Search the organization ontology (knowledge graph) for matching objects plus a match count. Supports entity mode (search by NAME), schema mode (search by RELATIONSHIP/THEME via matching types), and hybrid.
export Ontology From Documents
// Bridge documents onto the knowledge graph: given document ids (e.g. semantic chunk hits), return the ontology objects appearing in them, ranked by appearance frequency and connectivity, optionally with the links among them. Wire from KB Semantic Search's documentIds output.
export Ontology Entity 360
// Fetches the full 360 profile of one ontology entity - its links grouped by type WITH counts (e.g. 'employed_by (incoming): 18'), plus appearance counts - and emits a synthesizer-ready text summary. Wire objectId from Merge Ranked Lists' topId so the top fused entity's relationship profile reaches the answer. This is the node that answers COUNT and relationship questions from the graph.
export Ontology Delete
// Soft-delete (recoverable server-side) an ontology object or link. Returns its id and the delete timestamp.
export Ontology Create Object
// Create (or idempotently upsert by identity key) an object in the organization ontology and return its id for chaining into Ontology Create Link.
export Ontology Create Link
// Link two ontology objects with a typed edge. Returns the link id and whether the server refused to downgrade an existing higher-confidence link.
export Ontology Aggregate
// Count ontology objects, grouped by object type. Returns EXACT totals over everything the caller may see — a real census, not a sample or a ranked page. Leave every input empty for a whole-graph breakdown, or set a type for a single count.