Octov0.4.2
Reference

Reference

Complete reference for connectors, blocks, the CLI, CEL, and the flow file format.

This section is the complete reference for everything you can put in a flow file: every connector, source, and block type, plus the CLI, the CEL expression language, and the flow file schema.

The tables below catalogue every type by category. Connectors are configured under connectors: and referenced by name; sources bind a flow's entry point to a connector; blocks are the steps of a flow's process chain.

Triggers and sources

TypeDescriptionReference
httpHTTP server connector; routes requests into flows and returns the flow result.HTTP
cronTrigger flows on a schedule.Cron
eventsBroadcast pub/sub topics; every subscriber flow receives each event.Events
queueCompeting-consumer queues; one worker flow receives each message.Queue

Service connectors

TypeDescriptionReference
http-clientOutbound HTTP with base URL, timeouts, and auth (used by the rest block).HTTP
databaseSQL databases (used by the sql block).Database
loggerStructured logging (used by the log block).Logger
slackSlack workspace connection for messaging and events.Slack
notionNotion workspace connection for pages, data sources, and webhooks.Notion
llm-openaiOpenAI LLM provider for the AI blocks.LLM Providers
llm-anthropicAnthropic LLM provider for the AI blocks.LLM Providers
llm-geminiGoogle Gemini LLM provider for the AI blocks.LLM Providers

Control-flow blocks

Composites configured with top-level YAML keys, not settings:. All on one page: Control Flow.

TypeDescription
ifConditional branching on a CEL boolean expression.
switchMulti-case routing; runs the first matching case or the default.
forkScatter the message across parallel branches, then join and pass through.
foreachSequentially iterate an array, running the body per element.
enrichRun a body flow on an isolated copy, then merge back only the named body/variables.
validateAssert CEL rules; reject and stop the flow when any fail.
handle-errorsRun a process chain; on error, expose vars.error and run the error chain.
cache-scopeMemoize the body flow's result in the runtime store, keyed by a CEL expression.

Data blocks

Reshape the message payload and variables: Data.

TypeDescription
set-payloadReplace the message body with the result of a CEL expression.
set-variableStore the result of a CEL expression in a named variable.
delete-variableRemove a named variable from the message.
multi-transformApply an ordered list of additive CEL edits in one block.

Storage blocks

The runtime key-value store: Storage.

TypeDescription
object-readRead an object from the runtime store into the body or a variable.
object-writeWrite an object to the runtime store under a key.
object-deleteDelete an object from the runtime store by key.
invalidate-cacheEvict a cache-scope entry by its key so the next run recomputes.

Integration blocks

Cross-flow and cross-system glue: Integration.

TypeDescription
flow-refInvoke another flow by name, synchronously or fire-and-forget.
jwt-validateVerify a bearer JWT against an OIDC provider; reject with 401 on failure.
template-resourceRender a declared template resource against the current message.

AI blocks

LLM-driven blocks and the MCP server: AI Blocks.

TypeDescription
ai-agentLet an LLM call flow branches as tools in a loop to accomplish a task.
ai-routerRoute the message to a named branch the LLM chooses after inspecting it.
ai-mappingReshape the body to a target shape described by a prompt and optional schema.
ai-retryOn failure, let the LLM revise the message and retry the chain.
clear-agent-memoryErase an ai-agent conversation thread's stored memory.
mcp-routerTurn a flow into a stateless MCP server behind an HTTP source.

Connector-provided blocks

Blocks that operate through a configured connector, documented alongside it.

TypeDescriptionReference
logEmit a structured log line through a logger connector.Logger
restCall an HTTP API through an http-client connector.HTTP
sqlRun a SQL statement through a database connector.Database
publish-eventPublish a message to a broadcast topic.Events
queue-dispatchDispatch a message onto a competing-consumer queue.Queue

Slack

Slack source and blocks: Slack.

TypeDescription
slack-eventSource: receive Slack events (mentions, messages, and more).
slack-send-messageSend a message to a channel or thread.
slack-update-messageUpdate a previously sent message.
slack-add-reactionAdd an emoji reaction to a message.
slack-lookup-userLook up a Slack user.
slack-verify-requestVerify a Slack request signature.

Notion

Notion source and blocks: Notion.

TypeDescription
notion-eventSource: receive Notion webhook events.
notion-query-datasourceQuery a Notion data source.
notion-retrieve-pageRetrieve a page's properties.
notion-retrieve-blocksRetrieve a page's block content.
notion-page-to-markdownRender a page as Markdown.
notion-verify-requestVerify a Notion webhook signature.

Language and tooling

ReferenceDescription
CLIThe octo command: run, invoke, eval, schema, and version.
CEL ExpressionsThe expression language: language basics, macros, and Octo extensions.
Flow FileThe complete YAML schema for integration definition files.

On this page