Skip to content
Docs

OData Operation Pack

OData Operation Pack turns several operations from one imported OData service into tools an Agent can call. You select the operations once; the agent decides which to call, fills in the arguments, and reads the answer. You find it on the node picker’s API & integrations shelf.

The node has one input handle and one output handle. To offer its tools to an agent, connect its output to the Agent node’s Tools handle. As a plain step in a flow it does nothing of its own: it passes the previous node’s output through unchanged.

credential is the only way a pack authenticates: a Connection attaches its resolved headers, a Secret is sent as the Authorization header, and the same credential covers every operation in the pack. The agent never sees it — the credential is attached after the agent has chosen the arguments. To call one service with two different credentials, add a second pack node.

The OData Operation Pack node's settings form, with the fields described below
The OData Operation Pack node's settings form, with the fields described below
FieldTypeDefaultDescription
Schema (schemaId)string ✦ (required) — The imported OData service whose operations this node exposes to the agent.
Operations (operations)key-value map (optional) — The OData operations from the schema to expose as agent tools.
Service root (serviceRoot)string ✦ (optional) — Overrides the service root for every operation in this pack.
Headers (headers)header rows ✦ (optional) — Extra HTTP headers sent with every call in this pack, as name/value pairs.
Credential (credential)string ✦ (optional) — The credential that authenticates every call in this pack — a Connection or a Secret.
Param overrides (paramOverrides)key-value map (optional) — Per-operation, per-parameter rules for how each parameter is filled.
Approval (requiresApproval)one of inherit, always, never (optional) — Whether a human must approve this before it runs. “Follow the agent’s approval mode” is almost always right.

Fields marked ✦ accept expressions.

Try this node — run it once against your own workspace, with your credentials, without building a flow first.

A stored OData operation records what kind of operation it is, so this pack knows which of its tools read and which write. A listing tool therefore does not inherit the approval a delete needs, and an agent in a read-only posture keeps the tools that only read.

That is the difference between a pack and a single GraphQL Operation node, where the document is opaque and a query cannot be told from a mutation without inspecting it.

The agent is offered the query options that actually apply to each operation:

  • A collection read gets $filter, $orderby, $top, $skip and $count.
  • A by-key read gets only $select and $expand. Filtering a single entity is not a thing.
  • An operation the service has published as unfilterable loses the $filter parameter entirely.

A service that publishes no annotations keeps every option, and refuses what it does not support. Absence is read as “unknown”, not as “unsupported”.

paramOverrides decides, per operation and per parameter, who supplies a value:

  • Fixed (fixed) pins a constant the agent cannot change or see.
  • From expression (from-expression) resolves the value from flow data through an expression, so it comes from upstream rather than from the agent.
  • From AI (from-AI) lets the agent choose the value per call.

The outer key is the operation’s own id:

{
"<operation id>": {
"companyId": { "mode": "from-expression", "expressionPath": "{{ $start->companyId }}" },
"apiVersion": { "mode": "fixed", "fixedValue": "2024-01" }
}
}
  1. Import the OData service and select it as Schema.
  2. In Operations, select the calls the agent may make, for example the collection read and the by-key read for an entity set.
  3. Pin anything the agent should not choose under Parameter overrides.
  4. Set Credential, and connect the pack to the Agent node’s Tools handle.
  • One credential and one service root apply to the whole pack.
  • A large pack is a large tool list. Put a Search Tools node in front of it to let the agent search its tools rather than reading all of them.
  • A freshly imported service is parsed in the background; its operations appear in the picker once parsing finishes.