Skip to main content

Workflow Nodes

Manage workflow node types (the catalog of available node definitions) and workflow tools.

Access it as client.workflow_nodes on a Strongly client, or the same path on AsyncStrongly with await. All methods exist on both with identical signatures.

Quick start​

from strongly import Strongly

client = Strongly()

# List (auto-paginates as you iterate) # filters: search, category, type, workflow_type, active, is_system
for workflow in client.workflow_nodes.list():
print(workflow.id)

Methods​

Core​

list​

list(*, search: str | None = None, category: str | None = None, type: str | None = None, workflow_type: str | None = None, active: bool | None = None, is_system: bool | None = None, limit: int | None = None) -> SyncPaginator[WorkflowNode]

List the node types you may use, a page at a time as you iterate.

Parameters

  • search (str | None, optional): Only nodes whose label, description or tags match (sent as q).
  • category (str | None, optional): Only nodes of this category (triggers, sources, transform, ...).
  • type (str | None, optional): Only nodes of this type.
  • workflow_type (str | None, optional): batch or streaming: only the nodes of that kind of workflow.
  • active (bool | None, optional): Only active (True) or inactive (False) nodes.
  • is_system (bool | None, optional): Only the platform's (True) or custom (False) nodes.
  • limit (int | None, optional): The most nodes to return; every matching one when omitted.

create​

create(*, label: str, category: str, type: str, function_definition: Mapping[str, Any], description: str | None = None, is_active: bool | None = None, input_definition: str | None = None, output_definition: str | None = None, editor_config: Mapping[str, Any] | None = None, default_data: Mapping[str, Any] | None = None, icon: str | None = None) -> WorkflowNode

Register a reusable custom node type and return it.

Parameters

  • label (str): Its display label.
  • category (str): triggers, sources, transform, ai, agents, control-flow, destinations or utilities.
  • type (str): Its unique type.
  • function_definition (Mapping[str, Any]): How it runs.
  • description (str | None, optional): What it does.
  • is_active (bool | None, optional): Whether it can be used; True when omitted.
  • input_definition (str | None, optional): Its inputs, as a JSON string: {"structure": {"<field>": {"type", "required", "description"}}, "example": {...}, "empty": {...}}.
  • output_definition (str | None, optional): Its outputs, as a JSON string of the same shape.
  • editor_config (Mapping[str, Any] | None, optional): Its configuration form.
  • default_data (Mapping[str, Any] | None, optional): Its default configuration values.
  • icon (str | None, optional): Its icon: the exact PascalCase name of a lucide-react icon (https://lucide.dev/icons), for example "Scissors", "Settings" or "FileText". Any other name is refused (400).

retrieve​

retrieve(node_id: str) -> WorkflowNode

Get a node type.

Parameters

  • node_id (str): The node type's id.

update​

update(node_id: str, *, label: str | None = None, category: str | None = None, type: str | None = None, description: str | None = None, is_active: bool | None = None, input_definition: str | None = None, output_definition: str | None = None, editor_config: Mapping[str, Any] | None = None, default_data: Mapping[str, Any] | None = None, icon: str | None = None) -> WorkflowNode

Change a custom node type (only the fields you pass) and return it.

A platform node cannot be changed.

Parameters

  • node_id (str): The node type's id.
  • label (str | None, optional): Its new label.
  • category (str | None, optional): Its new category.
  • type (str | None, optional): Its new type.
  • description (str | None, optional): Its new description.
  • is_active (bool | None, optional): Whether it can be used.
  • input_definition (str | None, optional): Its inputs, as a JSON string (as create).
  • output_definition (str | None, optional): Its outputs, as a JSON string.
  • editor_config (Mapping[str, Any] | None, optional): Its configuration form.
  • default_data (Mapping[str, Any] | None, optional): Its default configuration values.
  • icon (str | None, optional): Its icon: the exact PascalCase name of a lucide-react icon (https://lucide.dev/icons), for example "Scissors", "Settings" or "FileText". Any other name is refused (400).

delete​

delete(node_id: str) -> None

Delete a custom node type (a platform node cannot be deleted).

Parameters

  • node_id (str): The node type's id.

Other​

activate_tool​

activate_tool(node_id: str, *, config: Mapping[str, Any] | None = None) -> WorkflowToolRegistration | WorkflowNode

Activate a workflow tool: register an MCP server in your organization's gateway.

Registering again applies new configuration. Answers the MCP server's registration, or, for another tool, its node.

Parameters

  • node_id (str): The tool's node type id.
  • config (Mapping[str, Any] | None, optional): Your configuration values for it; only your calls through it use them.

add_member​

add_member(resource_id: str, *, user_id: str, role: str) -> Permissions

Share the resource with a user.

Parameters

  • resource_id (str): The resource's id.
  • user_id (str): The user to share it with.
  • role (str): "editor" (use and change it) or "user" (use it only; types without a use-only tier, such as knowledge bases, take "editor" only).

datasource_fields​

datasource_fields(datasource_type: str) -> DataSourceFieldSpec

Get the credential fields a data source type needs (a postgres needs host, port, ...).

Parameters

  • datasource_type (str): The data source type, e.g. "postgres".

deactivate_tool​

deactivate_tool(node_id: str) -> WorkflowToolRegistration | WorkflowNode

Deactivate a workflow tool: remove an MCP server's registration, or stop the tool.

Parameters

  • node_id (str): The tool's node type id.

duplicate​

duplicate(node_id: str) -> WorkflowNode

Copy a node type into a new one you own and return it.

A streaming node is not copied (422): a node of your own runs in the batch workflow worker only.

Parameters

  • node_id (str): The node type to copy.

permissions​

permissions(resource_id: str) -> Permissions

Return who can reach the resource: its owner, members and their roles, and visibility.

Parameters

  • resource_id (str): The resource's id.

remove_member​

remove_member(resource_id: str, user_id: str) -> None

Stop sharing the resource with a user.

Parameters

  • resource_id (str): The resource's id.
  • user_id (str): The user to stop sharing it with.

schema​

schema(node_type: str, *, category: str | None = None) -> WorkflowNodeSchema

Get a node type's configuration schema, inputs, outputs and documentation.

Parameters

  • node_type (str): The node's type, catalog id or id.
  • category (str | None, optional): sources or destinations for a type that is both (postgresql, mysql, s3, ...); the default match when omitted.

services_addons​

services_addons(*, type: str | None = None, limit: int | None = None) -> SyncPaginator[ServiceAddon]

List the running add-ons you may use in a workflow node, a page at a time.

Parameters

  • type (str | None, optional): Only add-ons of this type (redis, postgres, ...).
  • limit (int | None, optional): The most add-ons to return; every one when omitted.

services_datasources​

services_datasources(*, type: str | None = None, category: str | None = None, limit: int | None = None) -> SyncPaginator[ServiceDataSource]

List the data sources you may use in a workflow node, a page at a time.

Parameters

  • type (str | None, optional): Only data sources of this type (postgres, s3, ...).
  • category (str | None, optional): Only data sources of this category (relational, cloud-storage, ...).
  • limit (int | None, optional): The most data sources to return; every one when omitted.

services_models​

services_models(*, provider: str | None = None, type: str | None = None, limit: int | None = None) -> SyncPaginator[ServiceModel]

List the AI models a workflow node may use, recommended ones first, a page at a time.

A node's model is the model's id.

Parameters

  • provider (str | None, optional): Only models of this provider.
  • type (str | None, optional): Only models of this type (chat includes multimodal models).
  • limit (int | None, optional): The most models to return; every one when omitted.

set_tool_enabled​

set_tool_enabled(node_id: str, *, enabled: bool) -> WorkflowToolRegistration

Switch an activated MCP server's tools on or off, keeping its registration.

Parameters

  • node_id (str): The MCP server's node type id.
  • enabled (bool): Whether its tools are on.

set_visibility​

set_visibility(resource_id: str, visibility: str) -> Permissions

Make the resource public (every user can find and use it) or private.

Parameters

  • resource_id (str): The resource's id.
  • visibility (str): "public" or "private".

suggest_mappings​

suggest_mappings(*, source_type: str, target_type: str, source_category: str | None = None, target_category: str | None = None) -> MappingSuggestion

Compare two node types: the source's outputs, the target's inputs, suggested mappings.

Parameters

  • source_type (str): The node type the data comes from.
  • target_type (str): The node type it goes to.
  • source_category (str | None, optional): The source's category, for a type that is both a source and a destination.
  • target_category (str | None, optional): The target's category, likewise.

sync_from_s3​

sync_from_s3() -> NodeCatalogSync

Re-read the node catalog from S3 into the platform (admin only).