Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/proactions-ai-kit-configuration-for-sections/_shared/latest--partial-step.schema.json
Parent schema proactions-ai-kit-configuration-for-sections
Type: object

A single step in a workflow. The 'step' property determines the type and schema to use.

One of

1. BREAK object
2. DEBUG object
3. FOR object
4. IF object
5. END object
6. PARALLEL object
7. SET object
8. SWITCH object
9. CALL_TEMPLATE object
10. TRY object
11. WHILE object
12. GET_TEXT_CONTENT object
13. GET_XML_CONTENT object
14. SELECTED_OBJECT object
15. SET_METADATA object
16. SHOW_RESPONSE object
17. SHOW_NOTIFICATION object
18. INSERT_TEXT object
19. INSERT_XML object
20. REPLACE_TEXT object
21. REPLACE_XML object
22. INSERT_LIST object
23. SANITIZE object
24. SCRIPTING object
25. TO_LIST object
26. PARSE_JSON object
27. MARKDOWN_TO_HTML object
28. BASE64_TO_BLOB object
29. BRIGHTER_AI object
30. DEEPL_TRANSLATE object
31. DEEPL_WRITE object
33. UPLOAD_IMAGE object
35. UPLOAD object
36. ELEVENLABS_TTS object
37. ELEVENLABS_STT object
41. HUB_YOUTUBE_UPLOAD object
43. OPENAI_ASSISTANT object
44. OPENAI_THREAD object
46. OPENAI_THREAD_FILES object
48. OPENAI_COMPLETION object
49. HUB_COMPLETION object
54. OPENAI_SPEECH object
55. HUB_SPEECH object
56. AZURE_OPENAI_SPEECH object
58. HUB_TRANSCRIPTION object
60. REST object
65. READ_CLIPBOARD object
66. WRITE_CLIPBOARD object
67. DOWNLOAD object
68. FILE_UPLOAD object
69. PROMPT object
70. FORM object
71. PLAY_AUDIO object
72. USER_SELECT object
73. IMAGE_PICKER object
74. SHOW_PROGRESS object
75. UPDATE_PROGRESS object
76. HIDE_PROGRESS object
77. SLEEP object
78. CLEAR_SELECTION object
79. CHANGE_VIEW_SIZE object

Definitions

BREAK object

Breaks out of the current loop (e.g., WHILE or FOR) based on the given condition.

step string required

Breaks out of the current loop (e.g., WHILE or FOR) based on the given condition.

Values: "BREAK"
condition string

The condition to evaluate. Loop will be broken when condition evaluates to true. If not provided, breaks unconditionally.

DEBUG object

Logs debug information about the current flow context and step configuration. Optionally triggers a debugger breakpoint.

step string required

Logs debug information about the current flow context and step configuration. Optionally triggers a debugger breakpoint.

Values: "DEBUG"
id string

Optional identifier for the debug step, included in the log message.

omitDebugger boolean

If true, skips triggering the debugger breakpoint.

Default: false
FOR object

Executes a set of steps for a fixed number of iterations (numeric) or iterates over an array (items).

step string required

Executes a set of steps for a fixed number of iterations (numeric) or iterates over an array (items).

Values: "FOR"
var string required

The name of the variable to set with the current iteration value.

start number

The starting value of the loop variable (numeric).

end number

The ending value of the loop variable (numeric, inclusive).

by number

Step increment for numeric loops (can be negative). If omitted, inferred from start/end (1 or -1).

items string

An array to iterate over (e.g., an expression producing an array). If provided, numeric start/end are ignored.

do []

Steps to execute in each iteration of the loop.

IF object

Execute a conditional branch based on a condition

step string required

Execute a conditional branch based on a condition

Values: "IF"
condition string

The condition to evaluate. Can be a template expression with {{ }} syntax.

test string

Legacy alternative to condition. The condition to evaluate using JavaScript syntax.

then []

Steps to execute if the condition is true

else []

Steps to execute if the condition is false

END object

Ends the execution of a flow based on the given condition, with optional notification.

step string required

Ends the execution of a flow based on the given condition, with optional notification. (Note: Aliases END_IF are deprecated, use 'END' instead)

Values: "END" "END_IF"
condition string

The condition to evaluate. Flow will be terminated gracefully when condition evaluates to true.

notification object

Optional notification to show when ending the flow.

PARALLEL object

Runs multiple step lists in parallel and merges their flow contexts upon completion.

step string required

Runs multiple step lists in parallel and merges their flow contexts upon completion.

Values: "PARALLEL"
steps [] required

An array of step arrays, where each sub-array represents a branch of steps to execute in parallel.

SET object

Sets variables in the flow context. Can execute steps, evaluate expressions, or set key-value pairs.

step string required

Sets variables in the flow context. Can execute steps, evaluate expressions, or set key-value pairs.

Values: "SET"
steps []

Steps to execute before setting the variable. The result is stored in the flow context.

expression string

JavaScript expression to evaluate and set as the variable value.

text string

Text to resolve (with variables) and set as the variable value.

raw_text string

Raw text to set as the variable value without resolution.

name string

Name of the variable to set in the flow context.

convertTo string

Convert the value to a specific type (e.g., "number").

Values: "number"
outputs object[]

Output mappings from step outputs to flow context

SWITCH object

Evaluates a switch value and executes the steps for the matching case. Supports both array and object syntax for cases.

step string required

Evaluates a switch value and executes the steps for the matching case. Supports both array and object syntax for cases.

Values: "SWITCH"
cases Record<string, []> required

The cases to match against the switch value. Each case key should match a possible switch value, with the value being an array of steps to execute. Use "default" as a fallback case.

condition string

The condition to evaluate for the switch value. Can be a template expression with {{ }} syntax.

switch string

Legacy alternative to condition. The switch value to evaluate using JavaScript syntax.

CALL_TEMPLATE object

Calls a predefined template of steps by name and executes it.

step string required

Calls a predefined template of steps by name and executes it.

Values: "CALL_TEMPLATE"
name string required

The name of the template to call from the TEMPLATES: section.

TRY object

Executes a set of steps in a try block, and if an error occurs, executes catch steps.

step string required

Executes a set of steps in a try block, and if an error occurs, executes catch steps.

Values: "TRY"
try [] required

Steps to execute in the try block.

catch []

Steps to execute if an error occurs in the try block.

WHILE object

Repeatedly executes a set of steps while a condition evaluates to true.

step string required

Repeatedly executes a set of steps while a condition evaluates to true.

Values: "WHILE"
condition string

The condition to evaluate for the loop. Can be a template expression with {{ }} syntax.

test string

Legacy alternative to condition. The test expression to evaluate using JavaScript syntax.

do []

Steps to execute in each iteration of the loop.

GET_TEXT_CONTENT object

Retrieves text content from the document or a specific location and sets it as output.

step string required

Retrieves text content from the document or a specific location and sets it as output. (Note: Aliases CTX_GET_TEXT_CONTENT are deprecated, use 'GET_TEXT_CONTENT' instead)

Values: "GET_TEXT_CONTENT" "CTX_GET_TEXT_CONTENT"
at string

Location to read text from. Options: CURSOR, CURSOR_PARAGRAPH, XPATH, REPORT.

Values: "CURSOR" "CURSOR_PARAGRAPH" "XPATH" "REPORT"
xpath string

XPath expression for reading text at a specific location.

outputs object[]

Output mappings from step outputs to flow context

GET_XML_CONTENT object

Retrieves XML content from the document or a specific location and sets it as output.

step string required

Retrieves XML content from the document or a specific location and sets it as output. (Note: Aliases CTX_GET_XML_CONTENT are deprecated, use 'GET_XML_CONTENT' instead)

Values: "GET_XML_CONTENT" "CTX_GET_XML_CONTENT"
at string

Location to read XML from. Options: CURSOR, CURSOR_PARAGRAPH, XPATH, REPORT.

Values: "CURSOR" "CURSOR_PARAGRAPH" "XPATH" "REPORT"
xpath string

XPath expression for reading XML at a specific location.

outputs object | object[]

Output mappings from step outputs to flow context

SELECTED_OBJECT object

Retrieves information about the currently selected content object and sets it as output.

step string required

Retrieves information about the currently selected content object and sets it as output. (Note: Aliases CTX_SELECTED_OBJECT are deprecated, use 'SELECTED_OBJECT' instead)

Values: "SELECTED_OBJECT" "CTX_SELECTED_OBJECT"
outputs object | object[]

Output mappings from step outputs to flow context

SET_METADATA object

Set a field value in the object panel using a selector or XPath. Supports tagsinput and plain fields.

step string required

Set a field value in the object panel using a selector or XPath. Supports tagsinput and plain fields. (Note: Aliases CTX_SET_METADATA are deprecated, use 'SET_METADATA' instead)

Values: "SET_METADATA" "CTX_SET_METADATA"
selector string required

CSS selector of the input element to update.

inputs object | object[]

Input mappings from flow context to step inputs

SHOW_RESPONSE object

Shows a response to the user in a modal. Can run inline steps before showing and supports HTML mode.

step string required

Shows a response to the user in a modal. Can run inline steps before showing and supports HTML mode. (Note: Aliases CTX_SHOW_RESPONSE are deprecated, use 'SHOW_RESPONSE' instead)

Values: "SHOW_RESPONSE" "CTX_SHOW_RESPONSE"
inlineSteps []

Steps to execute while showing an in-place loading UI before the response is displayed.

mode string

Render mode for the response. Use "html" to render HTML; otherwise plain text is used.

Values: "html" "text"
inputs object[]

Input mappings from flow context to step inputs

SHOW_NOTIFICATION object

Shows a notification to the user with optional title and resolved message.

step string required

Shows a notification to the user with optional title and resolved message. (Note: Aliases CTX_SHOW_NOTIFICATION are deprecated, use 'SHOW_NOTIFICATION' instead)

Values: "SHOW_NOTIFICATION" "CTX_SHOW_NOTIFICATION"
message string required

The message to show. Supports variable resolution.

notificationType string

Type of notification (info, warning, error, message, task, success).

Default: "info"
Values: "info" "warning" "error" "message" "task" "success"
title string

Optional title for the notification.

INSERT_TEXT object

Insert text at the given location (cursor, xpath or report). If the step reads text from the flowContext, you can use a preceding SET step to provide the content.

step string required

Insert text at the given location (cursor, xpath or report). If the step reads text from the flowContext, you can use a preceding SET step to provide the content. (Note: Aliases CTX_INSERT_TEXT are deprecated, use 'INSERT_TEXT' instead)

Values: "INSERT_TEXT" "CTX_INSERT_TEXT"
in string

Optional path or variable name to read the content from the flowContext. If omitted, the step uses the content from the default text input.

at string

Where to insert the text. Use CURSOR (default), XPATH, or REPORT.

Values: "CURSOR" "XPATH" "REPORT"
xpath string

XPath expression used when at is XPATH.

forceWrite boolean

Write content even if the document is considered read-only.

inputs object[]

Input mappings from flow context to step inputs

INSERT_XML object

Insert XML content at the given location. The content can be provided via the flowContext (using in) or via the default text input.

step string required

Insert XML content at the given location. The content can be provided via the flowContext (using in) or via the default text input. (Note: Aliases CTX_INSERT_XML are deprecated, use 'INSERT_XML' instead)

Values: "INSERT_XML" "CTX_INSERT_XML"
in string

Optional path or variable name to read the XML content from the flowContext. If omitted, the step uses the default text input.

at string

Where to insert the XML. Use CURSOR (default) or XPATH.

Values: "CURSOR" "XPATH"
xpath string

XPath expression used when at is XPATH.

position string

Position mode for insertion when using cursor (e.g. insertInline, insertBefore, insertAfter).

Default: "insertInline"
Values: "insertInline" "insertBefore" "insertAfter"
forceWrite boolean

Write content even if the document is considered read-only.

REPLACE_TEXT object

Replace existing text at the given location (cursor paragraph, cursor or xpath) with the provided content. Content can come from a flow variable (using in) or the default text input.

step string required

Replace existing text at the given location (cursor paragraph, cursor or xpath) with the provided content. Content can come from a flow variable (using in) or the default text input. (Note: Aliases CTX_REPLACE_TEXT are deprecated, use 'REPLACE_TEXT' instead)

Values: "REPLACE_TEXT" "CTX_REPLACE_TEXT"
in string

Optional text or variable name to read the content from the flowContext. If omitted, the step uses the default text input.

at string

Where to replace the text. Options: XPATH, CURSOR_PARAGRAPH, CURSOR.

Values: "XPATH" "CURSOR_PARAGRAPH" "CURSOR"
xpath string

XPath expression used when at is XPATH.

forceWrite boolean

Write content even if the document is considered read-only.

REPLACE_XML object

Replace XML content at the given location. Content can be sourced from a flow variable (in) or the default text input.

step string required

Replace XML content at the given location. Content can be sourced from a flow variable (in) or the default text input. (Note: Aliases CTX_REPLACE_XML are deprecated, use 'REPLACE_XML' instead)

Values: "REPLACE_XML" "CTX_REPLACE_XML"
in string

Optional text or variable name to read the XML content from the flowContext.

at string

Where to replace the XML. Options: XPATH, CURSOR_PARAGRAPH, CURSOR.

Values: "XPATH" "CURSOR_PARAGRAPH" "CURSOR"
xpath string

XPath expression used when at is XPATH.

forceWrite boolean

Write content even if the document is considered read-only.

INSERT_LIST object

Insert a list of items into the document. The items can be provided as a list input or be generated from a text input (converted to a list using ProcessToList).

step string required

Insert a list of items into the document. The items can be provided as a list input or be generated from a text input (converted to a list using ProcessToList). (Note: Aliases CTX_INSERT_LIST are deprecated, use 'INSERT_LIST' instead)

Values: "INSERT_LIST" "CTX_INSERT_LIST"
in string

Optional text or variable name to read the content (text) from the flowContext. If omitted, the step uses the default text input.

containerElement string

Container tag to use for the list (default 'ul').

listItemElement string

List item tag to use for entries (default 'li').

omitContainer boolean

When true, inserts items one-by-one instead of a full container.

xpath string

XPath expression used when at is XPATH.

at string

Where to insert the list. Use CURSOR (default) or XPATH.

Values: "CURSOR" "XPATH"
position string

Position mode for insertion when using cursor (e.g. insertInline, insertBefore, insertAfter).

Default: "insertInline"
Values: "insertInline" "insertBefore" "insertAfter"
forceWrite boolean

Write content even if the document is considered read-only.

inputs object | object[]

Input mappings from flow context to step inputs

SANITIZE object

Sanitizes text input. Can strip markdown code blocks and validate/repair XML content before forwarding the result to the flow context.

step string required

Sanitizes text input. Can strip markdown code blocks and validate/repair XML content before forwarding the result to the flow context.

Values: "SANITIZE"
stripMarkdown boolean

If true, removes markdown code blocks (...) from the input before further processing.

Default: false
validateAndRepairXml boolean

If true, attempts to validate and repair XML fragments found in the input.

Default: false
inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

SCRIPTING object

Executes inline JavaScript (script) or a JS-style template (template). Use with caution — only in trusted flows.

step string required

Executes inline JavaScript (script) or a JS-style template (template). Use with caution — only in trusted flows.

Values: "SCRIPTING"
script string

A JavaScript expression or block to be executed in the step context. If mode: "async" the script is treated as async.

template string

A template string that will be resolved using the step context and then parsed as JSON. Use this when you want to build structured output.

mode string

Execution mode for scripts. Use "async" to run the script using the asynchronous evaluator.

Values: "async"
TO_LIST object

Convert a textual AI response into a list of strings. Detects JSON arrays, ordered/unordered lists, comma-separated values, or falls back to a single-item array.

step string required

Convert a textual AI response into a list of strings. Detects JSON arrays, ordered/unordered lists, comma-separated values, or falls back to a single-item array. (Note: Aliases PROCESS_TO_LIST are deprecated, use 'TO_LIST' instead)

Values: "TO_LIST" "PROCESS_TO_LIST"
inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

PARSE_JSON object

Parses JSON content from the text input and stores the resulting object in the flow context.

step string required

Parses JSON content from the text input and stores the resulting object in the flow context. (Note: Aliases PROCESS_PARSE_JSON are deprecated, use 'PARSE_JSON' instead)

Values: "PARSE_JSON" "PROCESS_PARSE_JSON"
in string

Optional path or variable name to read the JSON string from the flowContext. If omitted, the default text input is used.

inputs object[]

Input mappings from flow context to step inputs

outputs object | object[]

Output mappings from step outputs to flow context

MARKDOWN_TO_HTML object

Converts markdown text to HTML and sets it as text output.

step string required

Converts markdown text to HTML and sets it as text output.

Values: "MARKDOWN_TO_HTML"
text string

Text input or flow variable to convert. If omitted, the default text input is used.

BASE64_TO_BLOB object

Converts a base64-encoded string to a Blob and stores it in the flow context as a blob output.

step string required

Converts a base64-encoded string to a Blob and stores it in the flow context as a blob output.

Values: "BASE64_TO_BLOB"
in string

Optional path or variable name to read the base64 string from the flowContext. If omitted, the default text input is used.

contentType string

Optional content type for the resulting Blob (e.g. "image/png").

outputs object[]

Output mappings from step outputs to flow context

BRIGHTER_AI object

Upload an image to BrighterAI, poll for processing completion and download the anonymized image. The resulting anonymized image blob is written to the configured output.

step string required

Upload an image to BrighterAI, poll for processing completion and download the anonymized image. The resulting anonymized image blob is written to the configured output. (Note: Aliases SERVICE_BRIGHTER_AI are deprecated, use 'BRIGHTER_AI' instead)

Values: "BRIGHTER_AI" "SERVICE_BRIGHTER_AI"
service string

Optional service name override. If not specified, defaults to 'BRIGHTER_AI'.

serviceName string

Service operation name (e.g. blur, dnat, mask). If not provided, blur is used.

params object

Optional url parameters object passed to the BrighterAI upload endpoint.

inputs object | object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

DEEPL_TRANSLATE object

Translate text using DeepL. Supports many optional DeepL parameters and returns the translated text as the default text output.

step string required

Translate text using DeepL. Supports many optional DeepL parameters and returns the translated text as the default text output. (Note: Aliases SERVICE_DEEPL_TRANSLATE are deprecated, use 'DEEPL_TRANSLATE' instead)

Values: "DEEPL_TRANSLATE" "SERVICE_DEEPL_TRANSLATE"
instruction string required

Text to translate (can include templates). If omitted, the default text input is used.

target_lang string required

Target language code for the translation (e.g. EN, DE, FR).

service string

Optional service name override. If not specified, defaults to 'DEEPL'.

replaceXmlLang string

Optional: replace xml:lang attributes in the translated output with this language code.

tag_handling string

How to handle tags; default is "xml".

Values: "xml" "html" "none"
source_lang string

Language of the text to be translated. If this parameter is omitted, the API will attempt to detect the language of the text and translate it.

context string

Additional context that can influence a translation but is not translated itself.

split_sentences string

Sets whether the translation engine should first split the input into sentences.

Values: "0" "1" "nonewlines"
preserve_formatting boolean

Sets whether the translation engine should respect the original formatting, even if it would usually

formality string

Sets whether the translated text should lean towards formal or informal language.

Values: "default" "more" "less" "prefer_more" "prefer_less"
glossary_id string

Specify the glossary to use for the translation.

outline_detection boolean

Disable the automatic detection of XML

non_splitting_tags string

Comma-separated list of XML tags which never split sentences.

splitting_tags string

Comma-separated list of XML tags which always cause splits.

ignore_tags string

Comma-separated list of XML tags that indicate text not to be translated.

model_type string

Specifies which DeepL model should be used for translation.

Values: "quality_optimized" "prefer_quality_optimized" "latency_optimized"
show_billed_characters boolean

When true, the response will include the billed_characters parameter.

outputs object[]

Output mappings from step outputs to flow context

DEEPL_WRITE object

Rephrase/write text using DeepL Write endpoint. Returns the rephrased text in the default text output.

step string required

Rephrase/write text using DeepL Write endpoint. Returns the rephrased text in the default text output. (Note: Aliases SERVICE_DEEPL_WRITE are deprecated, use 'DEEPL_WRITE' instead)

Values: "DEEPL_WRITE" "SERVICE_DEEPL_WRITE"
service string

Optional service name override. If not specified, defaults to 'DEEPL_WRITE'.

instruction string

Text to be rephrased or written. If omitted, default text input is used.

target_lang string

Optional target language for writing/rephrasing.

writing_style string

Optional writing style parameter.

tone string

Optional tone parameter for the writing API.

outputs object[]

Output mappings from step outputs to flow context

EDAPI_OBJECT_CONTENT object

Fetch object content from EDAPI and return it as blob or configured outputs. The content id can be provided via cfg.contentId or via a text input.

step string required

Fetch object content from EDAPI and return it as blob or configured outputs. The content id can be provided via cfg.contentId or via a text input.

Values: "EDAPI_OBJECT_CONTENT"
contentId string

Explicit content id to fetch. If omitted, the step will try to read the id from the default text input.

format string

Format of the content to fetch.

Default: "lowres"
inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

UPLOAD_IMAGE object

Upload an image to EDAPI by providing an image object (url or blob). Returns the created object metadata as output.

step string required

Upload an image to EDAPI by providing an image object (url or blob). Returns the created object metadata as output. (Note: Aliases CTX_UPLOAD_IMAGE are deprecated, use 'UPLOAD_IMAGE' instead)

Values: "UPLOAD_IMAGE" "CTX_UPLOAD_IMAGE"
objectType string

Type of object to create (default: Image).

createMode string

Creation mode, e.g. AUTO_RENAME.

inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

UPDATE_BINARY_CONTENT object

Update binary content of an existing object in EDAPI using the provided blob. Returns updated object metadata.

step string required

Update binary content of an existing object in EDAPI using the provided blob. Returns updated object metadata. (Note: Aliases CTX_UPDATE_BINARY_CONTENT are deprecated, use 'UPDATE_BINARY_CONTENT' instead)

Values: "UPDATE_BINARY_CONTENT" "CTX_UPDATE_BINARY_CONTENT"
inputs object | object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

UPLOAD object

Upload content to EDAPI by providing a blob or specifying parameters (filename, type). Returns created object metadata.

step string required

Upload content to EDAPI by providing a blob or specifying parameters (filename, type). Returns created object metadata.

Values: "UPLOAD"
options object

Obtions data for the UPLOAD

filename string

Filename to use for the uploaded object

basetype string

BaseType - Used to identify upload location when using basefolder configuration.

type string

Object type to create (e.g. File, Image)

createMode string

Creation mode (e.g. AUTO_RENAME)

inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

ELEVENLABS_TTS object

Generate speech audio from text using ElevenLabs TTS. Text is taken from the default text input or a flow variable via in.

step string required

Generate speech audio from text using ElevenLabs TTS. Text is taken from the default text input or a flow variable via in.

Values: "ELEVENLABS_TTS"
service string

Optional service name override. If not specified, defaults to 'ELEVENLABS'.

apiKey string

Override API key from service configuration

endpoint string

Override endpoint URL from service configuration

voice_id string

Voice identifier to use for synthesis

model_id string

TTS model id

voice_settings object

Optional voice settings object

output_format string

Desired audio output format (e.g. mp3, wav, pcm)

language_code string

Language code for the synthesis

pronunciation_dictionary_locators string

Pronunciation dictionary locators (array or string) - resolved

seed string

Seed for deterministic generation

previous_text string

Optional previous_text context

next_text string

Optional next_text context

apply_text_normalization boolean

Apply normalization to text

apply_language_text_normalization boolean

Apply language specific normalization

mime_type string

MIME type to use for the produced blob (e.g. audio/mpeg)

inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

ELEVENLABS_STT object

Transcribe audio using ElevenLabs STT. Provides the transcribed text and optional JSON result.

step string required

Transcribe audio using ElevenLabs STT. Provides the transcribed text and optional JSON result.

Values: "ELEVENLABS_STT"
service string

Optional service name override. If not specified, defaults to 'ELEVENLABS'.

apiKey string

Override API key from service configuration

endpoint string

Override endpoint URL from service configuration

model_id string

Model id to use for transcription - default: scribe_v1

language_code string

Language code for transcription

tag_audio_events boolean

Tag audio events option

num_speakers number

Number of speakers to detect

timestamps_granularity string

Timestamps granularity

diarize boolean

Enable diarization

additional_formats array

Additional output formats

file_format string

Input file format (e.g. wav, mp3)

cloud_storage_url string

URL to fetch input from cloud

inputs object[]

Input mappings from flow context to step inputs

outputs object | object[]

Output mappings from step outputs to flow context

HUB_YOUTUBE_AUTH_INIT object

Initiate OAuth authorization flow for YouTube (requires ProActions-Hub). Opens the auth URL when available unless cfg.omitOpenAuth is true.

step string required

Initiate OAuth authorization flow for YouTube (requires ProActions-Hub). Opens the auth URL when available unless cfg.omitOpenAuth is true.

Values: "HUB_YOUTUBE_AUTH_INIT"
service string

Optional service name override. If not specified, defaults to 'HUB'.

omitOpenAuth boolean

If true, do not automatically open the authorization URL in a new window; return the URL in the response instead.

account string

Optional account identifier used by the Hub API.

outputs object[]

Output mappings from step outputs to flow context

HUB_YOUTUBE_AUTH_STATUS object

Check the status of a previously initiated YouTube OAuth authorization flow.

step string required

Check the status of a previously initiated YouTube OAuth authorization flow.

Values: "HUB_YOUTUBE_AUTH_STATUS"
service string

Optional service name override. If not specified, defaults to 'HUB'.

account string

Optional account identifier used by the Hub API.

outputs object[]

Output mappings from step outputs to flow context

HUB_YOUTUBE_AUTH_LOGOUT object

Log out the configured Hub YouTube account. Uses POST to logout and returns the resulting object.

step string required

Log out the configured Hub YouTube account. Uses POST to logout and returns the resulting object.

Values: "HUB_YOUTUBE_AUTH_LOGOUT"
service string

Optional service name override. If not specified, defaults to 'HUB'.

account string

Account identifier to log out (resolved).

outputs object[]

Output mappings from step outputs to flow context

HUB_YOUTUBE_UPLOAD object

Upload a video to YouTube via the Hub service. Supports video file, optional thumbnail, metadata fields (title, description, privacyStatus, categoryId), tags and additionalMetadata. Progress can be shown when cfg.updateProgress is true.

step string required

Upload a video to YouTube via the Hub service. Supports video file, optional thumbnail, metadata fields (title, description, privacyStatus, categoryId), tags and additionalMetadata. Progress can be shown when cfg.updateProgress is true.

Values: "HUB_YOUTUBE_UPLOAD"
service string

Optional service name override. If not specified, defaults to 'HUB'.

title string

Video title

description string

Video description

privacyStatus string

Privacy status: public, unlisted, or private

Values: "public" "unlisted" "private"
categoryId string

YouTube category id

tags array

Array of tags to set on the uploaded video

additionalMetadata object

Optional object with additional metadata to attach

updateProgress boolean

If true, progress will be reported to ProgressBar during upload

account string

Account identifier for the Hub target (resolved)

inputs object | object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

HUB_CONTENT_EXTRACTION object

Extract textual content from a URL using the ProActions-Hub extraction tool. The URL can be provided via the default text input or the in/url configuration.

step string required

Extract textual content from a URL using the ProActions-Hub extraction tool. The URL can be provided via the default text input or the in/url configuration.

Values: "HUB_CONTENT_EXTRACTION"
service string

Optional service name override. If not specified, defaults to 'HUB'.

inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

OPENAI_ASSISTANT object

Create or reuse an OpenAI assistant. If cfg.assistantId is provided the assistant will be retrieved; otherwise a new assistant is created. The created or retrieved assistant is written to the flow context.

step string required

Create or reuse an OpenAI assistant. If cfg.assistantId is provided the assistant will be retrieved; otherwise a new assistant is created. The created or retrieved assistant is written to the flow context.

Values: "OPENAI_ASSISTANT"
service string

Optional service name override. If not specified, defaults to 'OPENAI_COMPLETION'.

assistantId string

If provided, load the assistant with this ID instead of creating a new one.

reuse boolean

If true and storeIn is provided, try to reuse a persisted assistant id.

storeIn string

Storage location for persisting assistant id: page/session/browser.

Values: "page" "session" "browser"
instruction string

Initial instructions / system prompt for the assistant (supports templates).

model string

Model to use when creating the assistant

outputs object[]

Output mappings from step outputs to flow context

OPENAI_THREAD object

Create or reuse an OpenAI thread. If cfg.reuse and cfg.storeIn are provided the thread id may be reused. The created thread is written to the flow context.

step string required

Create or reuse an OpenAI thread. If cfg.reuse and cfg.storeIn are provided the thread id may be reused. The created thread is written to the flow context.

Values: "OPENAI_THREAD"
service string

Optional service name override. If not specified, defaults to 'OPENAI_COMPLETION'.

reuse boolean

If true and storeIn provided, try to reuse a persisted thread id

storeIn string

Storage location for persisting thread id: page/session/browser.

Values: "page" "session" "browser"
outputs object[]

Output mappings from step outputs to flow context

OPENAI_DELETE_THREAD object

Delete a thread using its id. Provide the thread object or id via inputs.

step string required

Delete a thread using its id. Provide the thread object or id via inputs.

Values: "OPENAI_DELETE_THREAD"
service string

Optional service name override. If not specified, defaults to 'OPENAI_COMPLETION'.

inputs object[]

Input mappings from flow context to step inputs

OPENAI_THREAD_FILES object

Create a vector store for thread file tools and optionally upload files. Writes created store to flow context and optional uploaded file list to an optional output.

step string required

Create a vector store for thread file tools and optionally upload files. Writes created store to flow context and optional uploaded file list to an optional output.

Values: "OPENAI_THREAD_FILES"
service string

Optional service name override. If not specified, defaults to 'OPENAI_COMPLETION'.

name string

Name of the vector store

replaceStores boolean

If true replace existing stores instead of appending

expires_after number

Expiration configuration for the vector store

inputs object | object[]

Input mappings from flow context to step inputs

outputs object | object[]

Output mappings from step outputs to flow context

OPENAI_THREAD_MESSAGE object

Send a message to a thread/assistant. The assistant and thread inputs are required. The message can be provided via cfg.instruction or via default text input. The assistant response text is stored in the default text output.

step string required

Send a message to a thread/assistant. The assistant and thread inputs are required. The message can be provided via cfg.instruction or via default text input. The assistant response text is stored in the default text output.

Values: "OPENAI_THREAD_MESSAGE"
service string

Optional service name override. If not specified, defaults to 'OPENAI_COMPLETION'.

instruction string

Optional message instruction; if omitted the default text input is used.

inputs object | object | object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

OPENAI_COMPLETION object

Chat/completion step that calls OpenAI (or Hub/Azure variants). Supports messages, images, audio, attachments, tools (functions), structured outputs (json_schema/json_object/list), reasoning and audio output. Many step-level configuration options are supported via cfg.*.

step string required

Chat/completion step that calls OpenAI (or Hub/Azure variants). Supports messages, images, audio, attachments, tools (functions), structured outputs (json_schema/json_object/list), reasoning and audio output. Many step-level configuration options are supported via cfg.*. (Note: Aliases SERVICE_OPENAI_COMPLETION are deprecated, use 'OPENAI_COMPLETION' instead)

Values: "OPENAI_COMPLETION" "SERVICE_OPENAI_COMPLETION"
service string

Optional service name override. If not specified, defaults to 'OPENAI_COMPLETION'.

model string

Model id or deployment id to use

promptId string

Id of a stored prompt configuration to reuse

instruction string

The user prompt to send to the LLM (supports templates)

behavior string

The system prompt to send to the LLM (supports templates)

options object

Raw options that will be merged into the request payload

response_format string | object

Structured response format. Can be a string ("json_object" or "list") or an object with json_schema definition

outputAudio object

Configuration object to request audio output (voice/format)

tool_choice string

Optional tool selection policy

maxToolIterations number

Maximum number of tool iterations to perform

afterToolResultToolChoice string

Behavior after a tool result (none|auto)

Values: "none" "auto"
functions array

Array of function descriptors for tool calling

functionsReuseContext boolean

Whether to reuse full flowContext when executing function templates

safetyIdentifier string

Optional safety identifier for the request

messages array

Array of prior messages to include in the conversation (overrides flowContext.messages)

images array

Array or single image input(s) defined inline via cfg.images or cfg.image

image string

Single inline image config

audio string

Single inline audio config

audios array

Array of audio inputs

reasoning object

Reasoning configuration object to pass to the API (for models supporting reasoning)

imageDetail string

Image detail level for image inputs (low, high, auto)

Default: "auto"
Values: "low" "high" "auto"
audioFormat string

Audio format for audio inputs (e.g., wav, mp3)

attachments array

Array of generic attachments (images, audio, text) to include in the user message

outputs object | object | object | object | object | object | object | object | object | object[]

Output mappings from step outputs to flow context

HUB_COMPLETION object

Chat/completion step that calls OpenAI (or Hub/Azure variants). Supports messages, images, audio, attachments, tools (functions), structured outputs (json_schema/json_object/list), reasoning and audio output. Many step-level configuration options are supported via cfg.*.

step string required

Chat/completion step that calls OpenAI (or Hub/Azure variants). Supports messages, images, audio, attachments, tools (functions), structured outputs (json_schema/json_object/list), reasoning and audio output. Many step-level configuration options are supported via cfg.*.

Values: "HUB_COMPLETION"
service string

Optional service name override. If not specified, defaults to 'HUB'.

model string

Model id or deployment id to use

promptId string

Id of a stored prompt configuration to reuse

instruction string

The user prompt to send to the LLM (supports templates)

behavior string

The system prompt to send to the LLM (supports templates)

options object

Raw options that will be merged into the request payload

response_format string | object

Structured response format. Can be a string ("json_object" or "list") or an object with json_schema definition

outputAudio object

Configuration object to request audio output (voice/format)

tool_choice string

Optional tool selection policy

maxToolIterations number

Maximum number of tool iterations to perform

afterToolResultToolChoice string

Behavior after a tool result (none|auto)

Values: "none" "auto"
functions array

Array of function descriptors for tool calling

functionsReuseContext boolean

Whether to reuse full flowContext when executing function templates

safetyIdentifier string

Optional safety identifier for the request

messages array

Array of prior messages to include in the conversation (overrides flowContext.messages)

images array

Array or single image input(s) defined inline via cfg.images or cfg.image

image string

Single inline image config

audio string

Single inline audio config

audios array

Array of audio inputs

reasoning object

Reasoning configuration object to pass to the API (for models supporting reasoning)

imageDetail string

Image detail level for image inputs (low, high, auto)

Default: "auto"
Values: "low" "high" "auto"
audioFormat string

Audio format for audio inputs (e.g., wav, mp3)

attachments array

Array of generic attachments (images, audio, text) to include in the user message

target string

Override the target used on service configuration level.

outputs object | object | object | object | object | object | object | object | object | object[]

Output mappings from step outputs to flow context

AZURE_OPENAI_COMPLETION object

Chat/completion step that calls OpenAI (or Hub/Azure variants). Supports messages, images, audio, attachments, tools (functions), structured outputs (json_schema/json_object/list), reasoning and audio output. Many step-level configuration options are supported via cfg.*.

step string required

Chat/completion step that calls OpenAI (or Hub/Azure variants). Supports messages, images, audio, attachments, tools (functions), structured outputs (json_schema/json_object/list), reasoning and audio output. Many step-level configuration options are supported via cfg.*. (Note: Aliases SERVICE_AZURE_OPENAI_COMPLETION are deprecated, use 'AZURE_OPENAI_COMPLETION' instead)

Values: "AZURE_OPENAI_COMPLETION" "SERVICE_AZURE_OPENAI_COMPLETION"
service string

Optional service name override. If not specified, defaults to 'AZURE_OPENAI_COMPLETION'.

model string

Model id or deployment id to use

promptId string

Id of a stored prompt configuration to reuse

instruction string

The user prompt to send to the LLM (supports templates)

behavior string

The system prompt to send to the LLM (supports templates)

options object

Raw options that will be merged into the request payload

response_format string | object

Structured response format. Can be a string ("json_object" or "list") or an object with json_schema definition

outputAudio object

Configuration object to request audio output (voice/format)

tool_choice string

Optional tool selection policy

maxToolIterations number

Maximum number of tool iterations to perform

afterToolResultToolChoice string

Behavior after a tool result (none|auto)

Values: "none" "auto"
functions array

Array of function descriptors for tool calling

functionsReuseContext boolean

Whether to reuse full flowContext when executing function templates

safetyIdentifier string

Optional safety identifier for the request

messages array

Array of prior messages to include in the conversation (overrides flowContext.messages)

images array

Array or single image input(s) defined inline via cfg.images or cfg.image

image string

Single inline image config

audio string

Single inline audio config

audios array

Array of audio inputs

reasoning object

Reasoning configuration object to pass to the API (for models supporting reasoning)

imageDetail string

Image detail level for image inputs (low, high, auto)

Default: "auto"
Values: "low" "high" "auto"
audioFormat string

Audio format for audio inputs (e.g., wav, mp3)

attachments array

Array of generic attachments (images, audio, text) to include in the user message

outputs object | object | object | object | object | object | object | object | object | object[]

Output mappings from step outputs to flow context

OPENAI_IMAGE_GENERATION object

Generate images using OpenAI image models (DALL·E and GPT-Image-1). Supports model, size, quality, count (n), response_format and other parameters. The generated images are stored in the configured output key or default imageList.

step string required

Generate images using OpenAI image models (DALL·E and GPT-Image-1). Supports model, size, quality, count (n), response_format and other parameters. The generated images are stored in the configured output key or default imageList. (Note: Aliases SERVICE_OPENAI_IMAGE_GENERATION are deprecated, use 'OPENAI_IMAGE_GENERATION' instead)

Values: "OPENAI_IMAGE_GENERATION" "SERVICE_OPENAI_IMAGE_GENERATION"
service string

Optional service name override. If not specified, defaults to 'OPENAI_IMAGE_GENERATION'.

model string

Image model to use (gpt-image-1, dall-e-3, dall-e-2)

Values: "gpt-image-1" "dall-e-3" "dall-e-2"
instruction string

The user prompt to send to the LLM (supports templates)

size string

Desired image size (model-dependent)

quality string

Image quality setting

n number

Number of images to generate (1-4; DALL·E3 supports 1)

style string

Image style for supported models (e.g. natural, vivid)

response_format string

DALL·E response format: 'url' or 'b64_json' (gpt-image-1 returns b64_json)

Values: "url" "b64_json"
output_format string

Output format for gpt-image-1 (png|jpeg|webp)

Values: "png" "jpeg" "webp"
background string

Background setting (e.g. transparent)

seed number

Random seed for reproducible results

user string

User identifier for attribution and policy monitoring

timeoutMs number

Request timeout in milliseconds

maxRetries number

Maximum number of retries for recoverable errors

outputKey string

FlowContext key where images will be stored (default: imageList)

inputs object[]

Input mappings from flow context to step inputs

outputs object | object[]

Output mappings from step outputs to flow context

HUB_IMAGE_GENERATION object

ImageGeneration using ProActions Hub.

step string required

ImageGeneration using ProActions Hub.

Values: "HUB_IMAGE_GENERATION"
service string

Optional service name override. If not specified, defaults to 'HUB'.

model string

Image model to use (gpt-image-1, dall-e-3, dall-e-2)

Values: "gpt-image-1" "dall-e-3" "dall-e-2"
instruction string

The user prompt to send to the LLM (supports templates)

size string

Desired image size (model-dependent)

quality string

Image quality setting

n number

Number of images to generate (1-4; DALL·E3 supports 1)

style string

Image style for supported models (e.g. natural, vivid)

response_format string

DALL·E response format: 'url' or 'b64_json' (gpt-image-1 returns b64_json)

Values: "url" "b64_json"
output_format string

Output format for gpt-image-1 (png|jpeg|webp)

Values: "png" "jpeg" "webp"
background string

Background setting (e.g. transparent)

seed number

Random seed for reproducible results

user string

User identifier for attribution and policy monitoring

timeoutMs number

Request timeout in milliseconds

maxRetries number

Maximum number of retries for recoverable errors

outputKey string

FlowContext key where images will be stored (default: imageList)

target string

Override the target used on service configuration level.

inputs object[]

Input mappings from flow context to step inputs

outputs object | object[]

Output mappings from step outputs to flow context

AZURE_OPENAI_IMAGE_GENERATION object

ImageGeneration using Azure OpenAI.

step string required

ImageGeneration using Azure OpenAI. (Note: Aliases SERVICE_AZURE_OPENAI_IMAGE_GENERATION are deprecated, use 'AZURE_OPENAI_IMAGE_GENERATION' instead)

Values: "AZURE_OPENAI_IMAGE_GENERATION" "SERVICE_AZURE_OPENAI_IMAGE_GENERATION"
service string

Optional service name override. If not specified, defaults to 'AZURE_OPENAI_IMAGE_GENERATION'.

model string

Image model to use (gpt-image-1, dall-e-3, dall-e-2)

Values: "gpt-image-1" "dall-e-3" "dall-e-2"
instruction string

The user prompt to send to the LLM (supports templates)

size string

Desired image size (model-dependent)

quality string

Image quality setting

n number

Number of images to generate (1-4; DALL·E3 supports 1)

style string

Image style for supported models (e.g. natural, vivid)

response_format string

DALL·E response format: 'url' or 'b64_json' (gpt-image-1 returns b64_json)

Values: "url" "b64_json"
output_format string

Output format for gpt-image-1 (png|jpeg|webp)

Values: "png" "jpeg" "webp"
background string

Background setting (e.g. transparent)

seed number

Random seed for reproducible results

user string

User identifier for attribution and policy monitoring

timeoutMs number

Request timeout in milliseconds

maxRetries number

Maximum number of retries for recoverable errors

outputKey string

FlowContext key where images will be stored (default: imageList)

inputs object[]

Input mappings from flow context to step inputs

outputs object | object[]

Output mappings from step outputs to flow context

OPENAI_SPEECH object

Generate speech audio using the OpenAI Speech API (or corresponding Hub/Azure variants). Reads text from the default text input and returns an audio blob.

step string required

Generate speech audio using the OpenAI Speech API (or corresponding Hub/Azure variants). Reads text from the default text input and returns an audio blob. (Note: Aliases SERVICE_OPENAI_SPEECH are deprecated, use 'OPENAI_SPEECH' instead)

Values: "OPENAI_SPEECH" "SERVICE_OPENAI_SPEECH"
service string

Optional service name override. If not specified, defaults to 'OPENAI_SPEECH'.

model string

Model id to use for TTS (e.g. tts-1)

voice string

Voice id to use for synthesis

response_format string

Response audio format (e.g. mp3, wav, pcm)

speed number

Playback speed multiplier (e.g. 1.0)

mime_type string

Optional MIME type for the produced blob (e.g. audio/mpeg)

inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

HUB_SPEECH object

ProActionsHub-compatible speech generation step. Inherits behavior from OPENAI_SPEECH.

step string required

ProActionsHub-compatible speech generation step. Inherits behavior from OPENAI_SPEECH.

Values: "HUB_SPEECH"
service string

Optional service name override. If not specified, defaults to 'HUB'.

model string

Model id to use for TTS (e.g. tts-1)

voice string

Voice id to use for synthesis

response_format string

Response audio format (e.g. mp3, wav, pcm)

speed number

Playback speed multiplier (e.g. 1.0)

mime_type string

Optional MIME type for the produced blob (e.g. audio/mpeg)

target string

Override the target used on service configuration level.

inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

AZURE_OPENAI_SPEECH object

Azure OpenAI speech step alias.

step string required

Azure OpenAI speech step alias. (Note: Aliases SERVICE_AZURE_OPENAI_SPEECH are deprecated, use 'AZURE_OPENAI_SPEECH' instead)

Values: "AZURE_OPENAI_SPEECH" "SERVICE_AZURE_OPENAI_SPEECH"
service string

Optional service name override. If not specified, defaults to 'AZURE_OPENAI_SPEECH'.

model string

Model id to use for TTS (e.g. tts-1)

voice string

Voice id to use for synthesis

response_format string

Response audio format (e.g. mp3, wav, pcm)

speed number

Playback speed multiplier (e.g. 1.0)

mime_type string

Optional MIME type for the produced blob (e.g. audio/mpeg)

inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

OPENAI_TRANSCRIPTION object

Transcribe audio using OpenAI (or Azure/Hub variants). Reads an audio file/blob from inputs and writes the transcription text and optional segment list.

step string required

Transcribe audio using OpenAI (or Azure/Hub variants). Reads an audio file/blob from inputs and writes the transcription text and optional segment list. (Note: Aliases SERVICE_OPENAI_TRANSCRIPTION are deprecated, use 'OPENAI_TRANSCRIPTION' instead)

Values: "OPENAI_TRANSCRIPTION" "SERVICE_OPENAI_TRANSCRIPTION"
service string

Optional service name override. If not specified, defaults to 'OPENAI_TRANSCRIPTION'.

instruction string

Optional prompt/instruction to bias transcription.

language string

Optional language code to hint at language for transcription.

temperature number

Optional temperature / randomness parameter for transcription model.

model string

Optional model override (e.g. 'whisper-1').

inputs object[]

Input mappings from flow context to step inputs

outputs object | object[]

Output mappings from step outputs to flow context

HUB_TRANSCRIPTION object

Hub-compatible transcription step (delegates to hub service). Writes transcription text and optional segments list.

step string required

Hub-compatible transcription step (delegates to hub service). Writes transcription text and optional segments list. (Note: Aliases SERVICE_OPENAI_TRANSCRIPTION are deprecated, use 'HUB_TRANSCRIPTION' instead)

Values: "HUB_TRANSCRIPTION" "SERVICE_OPENAI_TRANSCRIPTION"
service string

Optional service name override. If not specified, defaults to 'HUB'.

instruction string

Optional prompt/instruction to bias transcription.

language string

Optional language code to hint at language for transcription.

temperature number

Optional temperature / randomness parameter for transcription model.

model string

Optional model override (e.g. 'whisper-1').

inputs object[]

Input mappings from flow context to step inputs

outputs object | object[]

Output mappings from step outputs to flow context

AZURE_OPENAI_TRANSCRIPTION object

Azure OpenAI transcription alias (delegates to the OpenAI transcription implementation).

step string required

Azure OpenAI transcription alias (delegates to the OpenAI transcription implementation). (Note: Aliases SERVICE_AZURE_OPENAI_TRANSCRIPTION are deprecated, use 'AZURE_OPENAI_TRANSCRIPTION' instead)

Values: "AZURE_OPENAI_TRANSCRIPTION" "SERVICE_AZURE_OPENAI_TRANSCRIPTION"
service string

Optional service name override. If not specified, defaults to 'AZURE_OPENAI_TRANSCRIPTION'.

instruction string

Optional prompt/instruction to bias transcription.

language string

Optional language code to hint at language for transcription.

temperature number

Optional temperature / randomness parameter for transcription model.

model string

Optional model override (e.g. 'whisper-1').

inputs object[]

Input mappings from flow context to step inputs

outputs object | object[]

Output mappings from step outputs to flow context

REST object

Generic REST step. Builds a Request from the given configuration (url, method, headers, parameters, body or formData) and executes it using the host HTTP helper. Results are written to cfg.outputs when provided or to the default text output.

step string required

Generic REST step. Builds a Request from the given configuration (url, method, headers, parameters, body or formData) and executes it using the host HTTP helper. Results are written to cfg.outputs when provided or to the default text output. (Note: Aliases SERVICE_REST are deprecated, use 'REST' instead)

Values: "REST" "SERVICE_REST"
url string required

The URL to call. Supports template expressions and variable resolution.

method string

HTTP method to use (GET, POST, PUT, DELETE, ...). Default: GET.

Default: "GET"
Values: "GET" "POST" "PUT" "DELETE" "PATCH" "HEAD" "OPTIONS"
headers object

Optional headers object. Values will be resolved against the flow context.

parameters object

Optional query parameters object. Values will be resolved against the flow context.

body string | object

Optional request body. May be a string or object. Objects are JSON-stringified by the step.

formData object

Optional formData object. Supports File/Blob entries and arrays. Values are resolved against the flow context.

requestOptions object

Optional low-level RequestInit overrides passed to the fetch helper.

outputs object | object | object | object | object | object[]

Output mappings from step outputs to flow context

STABILITY_AI_UPSCALE object

Upscale an image using StabilityAI upscale endpoint. Uploads a provided image blob and returns the upscaled image blob.

step string required

Upscale an image using StabilityAI upscale endpoint. Uploads a provided image blob and returns the upscaled image blob. (Note: Aliases SERVICE_STABILITY_AI_UPSCALE are deprecated, use 'STABILITY_AI_UPSCALE' instead)

Values: "STABILITY_AI_UPSCALE" "SERVICE_STABILITY_AI_UPSCALE"
service string

Optional service name override. If not specified, defaults to 'STABILITY_AI'.

prompt string

Optional prompt describing desired changes to the image

output_format string

Desired output format (e.g. jpeg, png)

inputs object | object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

STABILITY_AI_OUTPAINT object

Outpaint an image region using StabilityAI. Supports coordinates (left,right,up,down) to define the outpainting area.

step string required

Outpaint an image region using StabilityAI. Supports coordinates (left,right,up,down) to define the outpainting area. (Note: Aliases SERVICE_STABILITY_AI_OUTPAINT are deprecated, use 'STABILITY_AI_OUTPAINT' instead)

Values: "STABILITY_AI_OUTPAINT" "SERVICE_STABILITY_AI_OUTPAINT"
service string

Optional service name override. If not specified, defaults to 'STABILITY_AI'.

left number

Pixels to the left (default 0)

right number

Pixels to the right (default 0)

up number

Pixels to the top (default 0)

down number

Pixels to the bottom (default 0)

inputs object | object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

STABILITY_AI_SEARCH_AND_REPLACE object

Search and replace regions or objects within an image using StabilityAI. Provide a prompt and a search_prompt to locate and replace visual elements.

step string required

Search and replace regions or objects within an image using StabilityAI. Provide a prompt and a search_prompt to locate and replace visual elements. (Note: Aliases SERVICE_STABILITY_AI_SEARCH_AND_REPLACE are deprecated, use 'STABILITY_AI_SEARCH_AND_REPLACE' instead)

Values: "STABILITY_AI_SEARCH_AND_REPLACE" "SERVICE_STABILITY_AI_SEARCH_AND_REPLACE"
service string

Optional service name override. If not specified, defaults to 'STABILITY_AI'.

prompt string

Prompt describing replacement target or desired result

search_prompt string

Prompt describing what to search for in the image

inputs object | object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

STABILITY_AI_SEARCH_AND_RECOLOR object

Search and recolor elements in an image using StabilityAI. Provide select_prompt and prompt to find and recolor elements.

step string required

Search and recolor elements in an image using StabilityAI. Provide select_prompt and prompt to find and recolor elements. (Note: Aliases SERVICE_STABILITY_AI_SEARCH_AND_RECOLOR are deprecated, use 'STABILITY_AI_SEARCH_AND_RECOLOR' instead)

Values: "STABILITY_AI_SEARCH_AND_RECOLOR" "SERVICE_STABILITY_AI_SEARCH_AND_RECOLOR"
service string

Optional service name override. If not specified, defaults to 'STABILITY_AI'.

select_prompt string

Prompt to select elements to recolor

prompt string

Prompt describing the recoloring operation

inputs object | object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

READ_CLIPBOARD object

Reads content from the user clipboard. Prefers HTML content when available, falls back to plain text.

step string required

Reads content from the user clipboard. Prefers HTML content when available, falls back to plain text.

Values: "READ_CLIPBOARD"
outputs object[]

Output mappings from step outputs to flow context

WRITE_CLIPBOARD object

Writes text to the user clipboard. Reads the content from the configured input (cfg.text) or from the default text input in the flow context.

step string required

Writes text to the user clipboard. Reads the content from the configured input (cfg.text) or from the default text input in the flow context.

Values: "WRITE_CLIPBOARD"
text string

Text to write to clipboard. If omitted, uses the default text input from flow context.

DOWNLOAD object

Downloads a file constructed from text or an existing Blob. The filename is required.

step string required

Downloads a file constructed from text or an existing Blob. The filename is required. (Note: Aliases DOWNLOAD_TEXT are deprecated, use 'DOWNLOAD' instead)

Values: "DOWNLOAD" "DOWNLOAD_TEXT"
filename string

Name of the file to download (required).

contentType string

The content-type to set for the download of the file.

Default: "text/plain"
inputs object[]

Input mappings from flow context to step inputs

FILE_UPLOAD object

Opens a file upload dialog (modal) and stores selected file(s) into the flow context. Supports output mapping via the outputs config or default file output.

step string required

Opens a file upload dialog (modal) and stores selected file(s) into the flow context. Supports output mapping via the outputs config or default file output. (Note: Aliases USER_FILE_UPLOAD are deprecated, use 'FILE_UPLOAD' instead)

Values: "FILE_UPLOAD" "USER_FILE_UPLOAD"
promptText string

Prompt text shown in the upload dialog.

accept string

Comma-separated list of accepted MIME types for upload (e.g. "image/png,application/pdf").

fileTypes array

Array of accepted MIME types for the upload (e.g. ["audio/mp3","audio/wav"]).

maxSize number

Maximum file size allowed in bytes.

outputs object | object | object[]

Output mappings from step outputs to flow context

PROMPT object

Shows a simple prompt to the user and stores the entered text into the default text output.

step string required

Shows a simple prompt to the user and stores the entered text into the default text output. (Note: Aliases USER_PROMPT are deprecated, use 'PROMPT' instead)

Values: "PROMPT" "USER_PROMPT"
promptText string

Text displayed in the prompt. Can contain template placeholders resolved against the flowContext.

placeholder string

Optional placeholder shown inside the input field.

outputs object[]

Output mappings from step outputs to flow context

FORM object

Displays a configurable form to the user (via FormBuilder). The form definition is provided in cfg.form. When submitted, the returned values are merged into the flowContext.

step string required

Displays a configurable form to the user (via FormBuilder). The form definition is provided in cfg.form. When submitted, the returned values are merged into the flowContext.

Values: "FORM"
form Record<string, formComponent | formGroup> required

Form field definitions. Each key is the field name, and the value is a FormComponent object defining the field type and properties. See the comprehensive form documentation for all available field types and properties.

title string

Title of the form modal.

buttons object[]

Optional buttons configuration for the form modal. Array of button objects defining submit/cancel buttons.

minItems=1maxItems=10
formConfig object

Optional modal-level configuration (width, height, fullScreen, typography). See FormModalConfig for all options.

14 nested properties
dialogSize string

Bootstrap dialog size: "sm", "md", "lg", "xl"

width string

Modal width (e.g., "720px", "80vw")

maxWidth string

Maximum modal width

height string

Modal height (e.g., "600px", "80vh")

maxHeight string

Maximum modal height

fullScreen boolean

Force modal to cover entire viewport

bodyFontSize string

Font size for modal body

bodyLineHeight string

Line height for modal body

labelFontSize string

Font size for form labels

inputFontSize string

Font size for form inputs

inputLineHeight string

Line height for form inputs

diffFontSize string

Font size for diff components

diffLineHeight string

Line height for diff components

modalClass string

Additional CSS class for modal

inlineSteps []

Optional steps to execute before showing the form while an in-place loading UI is shown.

PLAY_AUDIO object

Plays audio in a lightweight floating player. Audio source can be provided as a data URL, http(s) URL, or raw base64 via cfg.in or via the default text input. The step mounts a closed Shadow DOM audio player and resolves when the player is closed by the user.

step string required

Plays audio in a lightweight floating player. Audio source can be provided as a data URL, http(s) URL, or raw base64 via cfg.in or via the default text input. The step mounts a closed Shadow DOM audio player and resolves when the player is closed by the user.

Values: "PLAY_AUDIO"
in string

Optional input path or variable name containing the audio source (data URL, http(s) URL or raw base64). If omitted, the default text input is used.

autoplay boolean

Attempt autoplay on load. Note: browsers may block autoplay; in that case the player will show a hint and wait for user interaction.

Default: true
showProgress boolean

Show progress / seek bar in the player.

Default: true
showVolume boolean

Show volume controls in the player.

Default: true
showTimeDisplay boolean

Show current time and duration labels.

Default: true
theme string

Theme of the player: 'dark' | 'light' or any valid CSS color string.

Default: "dark"
position string

Player anchoring position: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center' | 'center'.

Default: "center"
loop boolean

If true, loop playback.

Default: false
title string

Optional title shown in the player title bar.

mimeType string

Optional MIME type hint used when the provided input is raw base64 without a data URL header (e.g. "audio/mpeg").

inputs object[]

Input mappings from flow context to step inputs

USER_SELECT object

Displays a selection modal allowing the user to pick one item from a list. The list may be provided directly or produced by a pre-processing step (inlineSteps). The selected value is written to the default text output.

step string required

Displays a selection modal allowing the user to pick one item from a list. The list may be provided directly or produced by a pre-processing step (inlineSteps). The selected value is written to the default text output.

Values: "USER_SELECT"
inlineSteps []

Optional steps to execute before showing the selection modal. Useful to prepare or transform input.

promptText string

Prompt or title text shown at the top of the selection modal (supports variable resolution).

infoTitle string

Optional title shown above additional info in the selection modal.

infoText string

Optional descriptive text shown in the selection modal (supports variable resolution).

enableKeyboardControl boolean

Enable keyboard navigation in the selection modal.

inputs object[]

Input mappings from flow context to step inputs

outputs object[]

Output mappings from step outputs to flow context

IMAGE_PICKER object

Shows an image picker modal allowing the user to pick one image from a provided list of image objects ({ url, previewUrl?, label? }). The selected image object is stored as an output.

step string required

Shows an image picker modal allowing the user to pick one image from a provided list of image objects ({ url, previewUrl?, label? }). The selected image object is stored as an output. (Note: Aliases USER_IMAGE_PICKER are deprecated, use 'IMAGE_PICKER' instead)

Values: "IMAGE_PICKER" "USER_IMAGE_PICKER"
promptText string

Prompt text shown in the image picker modal.

imageList array

List of image objects to show. Each item should contain at least a url and optionally previewUrl and label.

outputs object[]

Output mappings from step outputs to flow context

SHOW_PROGRESS object

Show a progress bar with optional status text. Use position to place it and autoHide to auto-hide after completion.

step string required

Show a progress bar with optional status text. Use position to place it and autoHide to auto-hide after completion.

Values: "SHOW_PROGRESS"
status string

Status text to display next to the progress bar. Supports variable resolution.

position string

Position of the progress bar. Common values: 'bottom', 'top'.

Values: "bottom" "top" "left" "right"
autoHide boolean

Whether the progress bar should auto-hide when completed.

UPDATE_PROGRESS object

Update an existing progress bar. Provide percentage (0-100) and optional status text.

step string required

Update an existing progress bar. Provide percentage (0-100) and optional status text.

Values: "UPDATE_PROGRESS"
percentage number | string required

Progress percentage (0-100). Can be a number or a string that resolves to a number.

status string

Status text to update on the progress bar. Supports variable resolution.

HIDE_PROGRESS object

Hide any shown progress bar.

step string required

Hide any shown progress bar.

Values: "HIDE_PROGRESS"
SLEEP object

Pause execution for a given delay (ms). Useful for pacing flows or waiting for external state changes.

step string required

Pause execution for a given delay (ms). Useful for pacing flows or waiting for external state changes.

Values: "SLEEP"
delay number

Delay in milliseconds to sleep. Defaults to 1000 ms.

CLEAR_SELECTION object

Clears the current text selection and optionally repositions the cursor to the start or end of the selection. Available in Swing editor context only.

step string required

Clears the current text selection and optionally repositions the cursor to the start or end of the selection. Available in Swing editor context only.

Values: "CLEAR_SELECTION"
cursorPosition string

Where to move the cursor after clearing selection. Use "anchorStart" to move to the start or "anchorEnd" to move to the end.

Values: "anchorStart" "anchorEnd"
CHANGE_VIEW_SIZE object

Requests a change of the view port size. Useful to resize the command palette view in Prime 8.

step string required

Requests a change of the view port size. Useful to resize the command palette view in Prime 8.

Values: "CHANGE_VIEW_SIZE"
width string required

Target width in pixels. Can be a number or an expression resolved against the flowContext.

height string required

Target height in pixels. Can be a number or an expression resolved against the flowContext.