text.transform
Operation: text.transform
Category: text
Advanced text operations: regex replace, split, join, template, truncate
Runtime
Section titled “Runtime”Type: Native (built-in)
Timeout: 300s
Retries: 3 (ExponentialWithJitter)
Inputs
Section titled “Inputs”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
text | String | No | — | Text to transform |
items | Array<String> | No | — | Array of strings (for join) |
Outputs
Section titled “Outputs”| Name | Type | Description |
|---|---|---|
text | String | Transformed text |
parts | Array<String> | Split parts (for split) |
count | Number | Number of parts (for split) |
Default Configuration
Section titled “Default Configuration”{ "transform": "trim"}import { WorkflowBuilder } from "@fabric-platform/sdk";
const workflow = new WorkflowBuilder("my-workflow") .node("text-transform", "tool", (n) => n.config({ operation: "text.transform", // ... node-specific config }) ) .build();from fabric_platform import FabricClient
fabric = FabricClient(api_key="fab_xxx")
wf_id = fabric.upsert_workflow("my-workflow", nodes=[ { "key": "text-transform", "kind": "tool", },])use fabric_sdk::FabricClient;
let client = FabricClient::new("http://localhost:3001", api_key)?;
let wf_id = client.upsert_workflow("my-workflow", serde_json::json!({ "nodes": [{ "key": "text-transform", "kind": "tool" }]})).await?;curl -X POST http://localhost:3001/v1/workflow-definitions \ -H "Authorization: Bearer $FABRIC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "my-workflow", "nodes": [{ "key": "text-transform", "kind": "tool" }] }'