Skip to content
Docs

Core concepts

Eight terms cover almost every conversation about Publicus. If these click, the rest of the docs will read as a reference — not an introduction.

A directed graph of nodes that does one job from start to finish. You edit a draft and publish it as a numbered version, and every run starts at the flow’s Start node. See Flows.

One piece of work in a flow, such as calling an API, transforming data or asking an AI agent. Every node type has a set of typed Instructions (the fields you fill in on the node’s settings panel) and a set of handles that declare how it can be wired to its neighbours. The full catalogue lives in Nodes.

A coloured port on a node where an edge starts or ends. A node’s handles declare the ways it can be connected. There are ten handle types: input, output, trigger, schedule, webhook, iteration, and four attachment points on the Agent node — tool, memory, middleware, and model. See the handle table in Nodes.

The node that starts a flow. The picker’s trigger shelf holds five: Schedule (cron), Webhook (inbound HTTP), Webhook / Chat (chat-shaped HTTP requests with a per-conversation thread id), Webhook / Gateway (a Discord or Slack bot under Chat apps that Publicus keeps connected, through the Discord gateway or Slack Socket Mode), and Email Trigger (inbound email on a connected mailbox or a Publicus inbox). Every flow also has exactly one Start node, the manual / default entry point that carries the run’s start payload. See Triggers.

A node that runs a language model in a loop: the model reads its input and conversation, decides whether to call tools, and keeps going until it produces a final answer. Tools, memory, middleware, and the model itself attach to the Agent node through dedicated handles, and an agent can pause mid-run to wait for human approval before using a sensitive tool. See Build an AI agent and Memory.

A node that runs part of the flow once per item of its input (Parallel) or once per page of a paged API (OffsetBased, PageBased). The part it repeats is wired to its iteration handle, and the flow continues through its output handle only after every item or page has finished. See Connectors.

One run of a flow, from the trigger that starts it to its last node. Publicus records every run as a tree of entries, one per node visit, and the Runs page under Operations shows that record. See Runs & debugging.

Built-in places for state that needs to outlive a single run. All but Secrets sit under Data in the sidebar; Secrets are a tab of Connections, under Services.

  • Secrets: encrypted credentials, referenced by id from node Instructions (e.g. secretCredentialId on Database/Query).
  • Key-value: single values, readable in any expression as $kv->myKey, writable through the KeyValueStore/Set node.
  • Tables: lightweight structured rows with Insert, Upsert and Query nodes.
  • Conversations: the history that agents read and append to through their memory nodes. See Conversations.
  • Memory: durable facts and episode summaries that agents record and recall across conversations. See Memory.
  • Knowledge bases: embedded documents for semantic search and retrieval-augmented generation. See Knowledge bases.

See Data overview.

A typical flow is: a trigger fires and starts a run. Publicus runs each node in turn along the edges of the graph, in the background, and each node hands its result to the next through their handles (JSON out of one node’s output, into the next node’s input). When a node needs external state (credentials, cached values, structured records), it reaches into data. When it needs to receive external events instead of poll them, a Webhook trigger stands in front of the graph.

Knowing that, every other page in the docs is either a deeper dive on one of these terms or a reference for a specific node type.