Workflow Activities
This page lists the public workflow activities that are available in the platform.
activities
Create Document Type From Interaction Run
Activity ID:
createDocumentTypeFromInteractionRun| Parameter | Type | Optional | Description |
|---|---|---|---|
| run | ExecutionRun | No | The execution run object to use. Required. Not required in params since it is usually fetched |
| updateObjectId | string | Yes | If defined then update the object type with the created type |
DSL
{ "type": "activity", "name": "createDocumentTypeFromInteractionRun", "params": { "run": { "id": "string", "parent": "string | ExecutionRun", "evaluation": "inline object", "result": "TextResult | JsonResult | ImageResult[]", "parameters": "P", "tags": "string[]", "interaction": "Interaction", "environment": "ExecutionEnvironmentRef", "modelId": "string", "result_schema": "JSONSchema4", "ttl": "number", "status": "ExecutionRunStatus", "finish_reason": "string", "prompt": "any", "token_use": "ExecutionTokenUsage", "chunks": "number", "execution_time": "number", "created_at": "Date", "updated_at": "Date", "account": "AccountRef", "project": "ProjectRef", "config": "InteractionExecutionConfiguration", "error": "InteractionExecutionError", "source": "RunSource", "output_modality": "Modalities", "created_by": "string", "updated_by": "string", "workflow": "ExecutionRunWorkflow" }, "updateObjectId": "string" }, "output": "renditions" }
Create Or Update Document From Interaction Run
Activity ID:
createOrUpdateDocumentFromInteractionRun| Parameter | Type | Optional | Description |
|---|---|---|---|
| run_id | string | Yes | The execution run object to use. Required. Not required in params since it is usually fetched |
| object_type | string | Yes | The document type to use. Required if update_existing_id is false. Not required in params since it is usually fetched |
| update_existing_id | string | Yes | The id of the document to update. If not provided, a new document will be created |
| fallback_name | string | Yes | The name of the object to use. If not provided, the name will be generated from the interaction result |
| parent | string | Yes | The name of the parent object to use. If not provided, the document will be created at the root level |
| update_text_from_property | string | Yes | The name of the property to use for the text. If not provided, the text will be set to the result of the interaction |
DSL
{ "type": "activity", "name": "createOrUpdateDocumentFromInteractionRun", "params": { "run_id": "string", "object_type": "string", "update_existing_id": "string", "fallback_name": "string", "parent": "string", "update_text_from_property": "string" }, "output": "renditions" }
Update Document From Interaction Run
Activity ID:
updateDocumentFromInteractionRun| Parameter | Type | Optional | Description |
|---|---|---|---|
| run | ExecutionRun | Yes | The execution run object to use. Required. Not required in params since it is usually fetched |
DSL
{ "type": "activity", "name": "updateDocumentFromInteractionRun", "params": { "run": { "id": "string", "parent": "string | ExecutionRun", "evaluation": "inline object", "result": "TextResult | JsonResult | ImageResult[]", "parameters": "P", "tags": "string[]", "interaction": "Interaction", "environment": "ExecutionEnvironmentRef", "modelId": "string", "result_schema": "JSONSchema4", "ttl": "number", "status": "ExecutionRunStatus", "finish_reason": "string", "prompt": "any", "token_use": "ExecutionTokenUsage", "chunks": "number", "execution_time": "number", "created_at": "Date", "updated_at": "Date", "account": "AccountRef", "project": "ProjectRef", "config": "InteractionExecutionConfiguration", "error": "InteractionExecutionError", "source": "RunSource", "output_modality": "Modalities", "created_by": "string", "updated_by": "string", "workflow": "ExecutionRunWorkflow" } }, "output": "renditions" }
Chunk Document
Activity ID:
chunkDocument| Parameter | Type | Optional | Description |
|---|---|---|---|
| force | boolean | Yes | If true, force chunking even if the document is already chunked |
| interactionName | string | Yes | The interaction name to use for chunking If not set, the default interaction will be used |
| docPartType | string | Yes | The object type to use for the document parts If not set, the type of the document will be used |
| createParts | boolean | Yes | If true, create parts as document objects |
DSL
{ "type": "activity", "name": "chunkDocument", "params": { "force": "boolean", "interactionName": "string", "docPartType": "string", "createParts": "boolean" }, "output": "renditions" }
Create Pdf Document From Source
Activity ID:
Create a new PDF by extracting pages from a source PDF
@returnscreatePdfDocumentFromSource| Parameter | Type | Optional | Description |
|---|---|---|---|
| target_object_type | string | No | |
| title | string | No | |
| filename | string | Yes | |
| pages | number[] | No | |
| parent | string | Yes |
DSL
{ "type": "activity", "name": "createPdfDocumentFromSource", "params": { "target_object_type": "string", "title": "string", "filename": "string", "pages": "number[]", "parent": "string" }, "output": "renditions" }
Execute Interaction
Activity ID:
executeInteraction| Parameter | Type | Optional | Description |
|---|---|---|---|
| interactionName | string | No | |
| prompt_data | Record<string, any> | No | |
| static_prompt_data | Record<string, any> | Yes | Additional prompt data passed by the workflow configuration. This will be merged with prompt_data if any. You should use `import: ["static_prompt_data"]` to import the workflow prompt data as static_prompt_data param. Otherwise the workflow prompt data will be ignored. |
| truncate | Record<string, number | inline object> | Yes |
DSL
{ "type": "activity", "name": "executeInteraction", "params": { "interactionName": "string", "prompt_data": "Record<string, any>", "static_prompt_data": "Record<string, any>", "truncate": "Record<string, number | inline object>" }, "output": "renditions" }
Extract Document Text
Activity ID:
extractDocumentTextDSL
{ "type": "activity", "name": "extractDocumentText", "params": {}, "output": "renditions" }
Generate Document Properties
Activity ID:
generateDocumentProperties| Parameter | Type | Optional | Description |
|---|---|---|---|
| typesHint | string[] | Yes | |
| truncate | number | inline object | Yes | truncate the input doc text to the specified max_tokens |
| interactionName | string | Yes | |
| use_vision | boolean | Yes |
DSL
{ "type": "activity", "name": "generateDocumentProperties", "params": { "typesHint": "string[]", "truncate": "number | inline object", "interactionName": "string", "use_vision": "boolean" }, "output": "renditions" }
Generate Embeddings
Activity ID:
generateEmbeddings| Parameter | Type | Optional | Description |
|---|---|---|---|
| model | string | Yes | The model to use for embedding generation If not set, the default model for the project will be used |
| environment | string | Yes | The environment to use for embedding generation If not set, the default environment for the project will be used |
| force | boolean | Yes | If true, force embedding generation even if the document already has embeddings |
| type | SupportedEmbeddingTypes | No | The embedding type to generate |
| parts | DocPart[] | Yes | The DocParts to use for long documents |
DSL
{ "type": "activity", "name": "generateEmbeddings", "params": { "model": "string", "environment": "string", "force": "boolean", "type": "SupportedEmbeddingTypes", "parts": [ { "line_number_start": "number", "line_number_end": "number", "name": "string", "type": "string" } ] }, "output": "renditions" }
Generate Image Rendition
Activity ID:
generateImageRenditionDSL
{ "type": "activity", "name": "generateImageRendition", "params": {}, "output": "renditions" }
Generate Video Rendition
Activity ID:
generateVideoRenditionDSL
{ "type": "activity", "name": "generateVideoRendition", "params": {}, "output": "renditions" }
Generate Or Assign Content Type
Activity ID:
generateOrAssignContentType| Parameter | Type | Optional | Description |
|---|---|---|---|
| typesHint | string[] | Yes | |
| truncate | number | inline object | Yes | truncate the input doc text to the specified max_tokens |
| interactionNames | inline object | Yes | The name of the interaction to execute @default SelectDocumentType |
DSL
{ "type": "activity", "name": "generateOrAssignContentType", "params": { "typesHint": "string[]", "truncate": "number | inline object", "interactionNames": { "selectDocumentType": "string", "generateMetadataModel": "string" } }, "output": "renditions" }
Get Object From Store
Activity ID:
We are using a union type for the status parameter since typescript enums breaks the workflow code generation
@param objectId
@param statusgetObjectFromStore| Parameter | Type | Optional | Description |
|---|---|---|---|
| select | string | Yes |
DSL
{ "type": "activity", "name": "getObjectFromStore", "params": { "select": "string" }, "output": "renditions" }
Handle Dsl Error
Activity ID:
handleDslError| Parameter | Type | Optional | Description |
|---|---|---|---|
| errorMessage | string | No |
DSL
{ "type": "activity", "name": "handleDslError", "params": { "errorMessage": "string" }, "output": "renditions" }
Convert Pdf To Structured Text
Activity ID:
convertPdfToStructuredText| Parameter | Type | Optional | Description |
|---|---|---|---|
| force | boolean | Yes |
DSL
{ "type": "activity", "name": "convertPdfToStructuredText", "params": { "force": "boolean" }, "output": "renditions" }
Transcribe Media
Activity ID:
transcribeMedia| Parameter | Type | Optional | Description |
|---|---|---|---|
| environmentId | string | Yes | |
| force | boolean | Yes |
DSL
{ "type": "activity", "name": "transcribeMedia", "params": { "environmentId": "string", "force": "boolean" }, "output": "renditions" }
Prepare Video
Activity ID:
Main activity: Prepare video by extracting metadata and generating renditionsprepareVideo| Parameter | Type | Optional | Description |
|---|---|---|---|
| maxResolution | number | Yes | |
| thumbnailSize | number | Yes | |
| posterSize | number | Yes | |
| generateAudio | boolean | Yes |
DSL
{ "type": "activity", "name": "prepareVideo", "params": { "maxResolution": "number", "thumbnailSize": "number", "posterSize": "number", "generateAudio": "boolean" }, "output": "renditions" }
Notify Webhook
Activity ID:
notifyWebhook| Parameter | Type | Optional | Description |
|---|---|---|---|
| webhook | string | WebHookSpec | No | |
| workflow_id | string | No | |
| workflow_type | string | No | |
| workflow_run_id | string | No | |
| event_name | string | No | |
| detail | Record<string, any> | Yes | |
| method | GET | POST | No | |
| headers | Record<string, string> | Yes |
DSL
{ "type": "activity", "name": "notifyWebhook", "params": { "webhook": "string | WebHookSpec", "workflow_id": "string", "workflow_type": "string", "workflow_run_id": "string", "event_name": "string", "detail": "Record<string, any>", "method": "GET | POST", "headers": "Record<string, string>" }, "output": "renditions" }
Set Document Status
Activity ID:
We are using a union type for the status parameter since typescript enums breaks the workflow code generation
@param objectId
@param statussetDocumentStatus| Parameter | Type | Optional | Description |
|---|---|---|---|
| status | ContentObjectStatus | No |
DSL
{ "type": "activity", "name": "setDocumentStatus", "params": { "status": "ContentObjectStatus" }, "output": "renditions" }
Check Rate Limit
Activity ID:
checkRateLimit| Parameter | Type | Optional | Description |
|---|---|---|---|
| interactionIdOrEndpoint | string | No | |
| environmentId | string | Yes | |
| modelId | string | Yes |
DSL
{ "type": "activity", "name": "checkRateLimit", "params": { "interactionIdOrEndpoint": "string", "environmentId": "string", "modelId": "string" }, "output": "renditions" }
Analyse Page Layout
Activity ID:
analysePageLayout| Parameter | Type | Optional | Description |
|---|---|---|---|
| page_number | number | No | |
| expected_zones | string[] | Yes | |
| debug | boolean | Yes | |
| page_as_image | boolean | Yes | |
| ocr | boolean | Yes | |
| interaction_name | string | Yes | |
| table_types | string[] | Yes |
DSL
{ "type": "activity", "name": "analysePageLayout", "params": { "page_number": "number", "expected_zones": "string[]", "debug": "boolean", "page_as_image": "boolean", "ocr": "boolean", "interaction_name": "string", "table_types": "string[]" }, "output": "renditions" }
Transcribe Page Markdown
Activity ID:
transcribePageMarkdown| Parameter | Type | Optional | Description |
|---|---|---|---|
| page_number | number | No | |
| interaction_name | string | No | |
| complexity_level | PageComplexityLevel | Yes | |
| reconstruct_lines | boolean | Yes | |
| upload_result | boolean | Yes | |
| page_as_image | boolean | Yes | |
| prompt_data | P | Yes | |
| fileId | string | Yes | |
| contentType | string | Yes |
DSL
{ "type": "activity", "name": "transcribePageMarkdown", "params": { "page_number": "number", "interaction_name": "string", "complexity_level": "PageComplexityLevel", "reconstruct_lines": "boolean", "upload_result": "boolean", "page_as_image": "boolean", "prompt_data": "P", "fileId": "string", "contentType": "string" }, "output": "renditions" }
Assemble Document
Activity ID:
assembleDocument| Parameter | Type | Optional | Description |
|---|---|---|---|
| layouts | AnalyzeLayoutActivityResult[] | No | |
| tables | AnalyzePageWithInteractionResult[] | No | |
| images | AnalyzePageWithInteractionResult[] | No | |
| visuals | AnalyzePageWithInteractionResult[] | No | |
| table_format | efficient | normal | No | |
| debug | boolean | Yes |
DSL
{ "type": "activity", "name": "assembleDocument", "params": { "layouts": [ { "model": "string", "environment": "string" } ], "tables": [ { "page_number": "number", "run_id": "string", "status": "ExecutionRunStatus", "tokens": "ExecutionTokenUsage", "result_path": "string", "run_result": "R" } ], "images": [ { "page_number": "number", "run_id": "string", "status": "ExecutionRunStatus", "tokens": "ExecutionTokenUsage", "result_path": "string", "run_result": "R" } ], "visuals": [ { "page_number": "number", "run_id": "string", "status": "ExecutionRunStatus", "tokens": "ExecutionTokenUsage", "result_path": "string", "run_result": "R" } ], "table_format": "efficient | normal", "debug": "boolean" }, "output": "renditions" }
Assemble Markdown Document
Activity ID:
assembleMarkdownDocument| Parameter | Type | Optional | Description |
|---|---|---|---|
| pageCount | number | No | |
| concurrency | number | Yes | |
| debug | boolean | Yes |
DSL
{ "type": "activity", "name": "assembleMarkdownDocument", "params": { "pageCount": "number", "concurrency": "number", "debug": "boolean" }, "output": "renditions" }
Count Pages
Activity ID:
countPages| Parameter | Type | Optional | Description |
|---|---|---|---|
| update_metadata | boolean | Yes | |
| max_pages | number | Yes | |
| use_clean_pdf | boolean | No |
DSL
{ "type": "activity", "name": "countPages", "params": { "update_metadata": "boolean", "max_pages": "number", "use_clean_pdf": "boolean" }, "output": "renditions" }
Store Pages As Images And Json
Activity ID:
storePagesAsImagesAndJson| Parameter | Type | Optional | Description |
|---|---|---|---|
| annotate | boolean | No | |
| page_numbers | number[] | Yes | |
| artifacts | ArtifactType[] | Yes | |
| use_clean_pdf | boolean | No |
DSL
{ "type": "activity", "name": "storePagesAsImagesAndJson", "params": { "annotate": "boolean", "page_numbers": "number[]", "artifacts": "ArtifactType[]", "use_clean_pdf": "boolean" }, "output": "renditions" }
Clean Pdf
Activity ID:
cleanPdf| Parameter | Type | Optional | Description |
|---|---|---|---|
| max_file_size | number | Yes | |
| skip_clean_threshold | number | Yes |
DSL
{ "type": "activity", "name": "cleanPdf", "params": { "max_file_size": "number", "skip_clean_threshold": "number" }, "output": "renditions" }
Perform Ocr
Activity ID:
performOcr| Parameter | Type | Optional | Description |
|---|---|---|---|
| page_number | number | No | |
| language | string | Yes | |
| use_clean_pdf | boolean | No |
DSL
{ "type": "activity", "name": "performOcr", "params": { "page_number": "number", "language": "string", "use_clean_pdf": "boolean" }, "output": "renditions" }
Get Table Mappings
Activity ID:
getTableMappings| Parameter | Type | Optional | Description |
|---|---|---|---|
| item_name | string | No | |
| target_schema | string | No | |
| instructions | string | Yes | |
| models | MagicModel[] | Yes | |
| page_numbers | number[] | Yes | |
| table_ids | number[] | Yes | |
| process_as_csv | boolean | Yes |
DSL
{ "type": "activity", "name": "getTableMappings", "params": { "item_name": "string", "target_schema": "string", "instructions": "string", "models": [ { "environment": "string", "model": "string", "model_options": "TextFallbackOptions | ImagenOptions | VertexAIClaudeOptions | VertexAIGeminiOptions | NovaCanvasOptions | BaseConverseOptions | BedrockClaudeOptions | BedrockPalmyraOptions | BedrockGptOssOptions | TwelvelabsPegasusOptions | OpenAiThinkingOptions | OpenAiTextOptions | GroqDeepseekThinkingOptions" } ], "page_numbers": "number[]", "table_ids": "number[]", "process_as_csv": "boolean" }, "output": "renditions" }
Get Tables Ids
Activity ID:
getTablesIds| Parameter | Type | Optional | Description |
|---|---|---|---|
| update_metadata | boolean | Yes | |
| item_name | string | No | |
| instructions | string | Yes | |
| models | MagicModel[] | Yes |
DSL
{ "type": "activity", "name": "getTablesIds", "params": { "update_metadata": "boolean", "item_name": "string", "instructions": "string", "models": [ { "environment": "string", "model": "string", "model_options": "TextFallbackOptions | ImagenOptions | VertexAIClaudeOptions | VertexAIGeminiOptions | NovaCanvasOptions | BaseConverseOptions | BedrockClaudeOptions | BedrockPalmyraOptions | BedrockGptOssOptions | TwelvelabsPegasusOptions | OpenAiThinkingOptions | OpenAiTextOptions | GroqDeepseekThinkingOptions" } ] }, "output": "renditions" }
Process Tables
Activity ID:
processTables| Parameter | Type | Optional | Description |
|---|---|---|---|
| run_ids | string[] | No |
DSL
{ "type": "activity", "name": "processTables", "params": { "run_ids": "string[]" }, "output": "renditions" }
Generate Excel Preview
Activity ID:
generateExcelPreview| Parameter | Type | Optional | Description |
|---|---|---|---|
| analyze | boolean | Yes | |
| analyze_prompt | string | Yes | |
| pages | number[] | Yes | |
| max_lines | number | Yes |
DSL
{ "type": "activity", "name": "generateExcelPreview", "params": { "analyze": "boolean", "analyze_prompt": "string", "pages": "number[]", "max_lines": "number" }, "output": "renditions" }
Post Update Message
Activity ID:
postUpdateMessage| Parameter | Type | Optional | Description |
|---|---|---|---|
| type | AgentMessageType | No | |
| message | string | No | |
| details | any | Yes | |
| workstream_id | string | Yes | |
| timestamp | number | Yes | |
| workflow_run_id | string | Yes |
DSL
{ "type": "activity", "name": "postUpdateMessage", "params": { "type": "AgentMessageType", "message": "string", "details": "any", "workstream_id": "string", "timestamp": "number", "workflow_run_id": "string" }, "output": "renditions" }
Generate Pdf Rendition
Activity ID:
generatePdfRendition| Parameter | Type | Optional | Description |
|---|---|---|---|
| page_numbers | number[] | Yes |
DSL
{ "type": "activity", "name": "generatePdfRendition", "params": { "page_numbers": "number[]" }, "output": "renditions" }
Clean Up Cached Files
Activity ID:
cleanUpCachedFiles| Parameter | Type | Optional | Description |
|---|---|---|---|
| prefix | string | No |
DSL
{ "type": "activity", "name": "cleanUpCachedFiles", "params": { "prefix": "string" }, "output": "renditions" }
Render Markdown Document
Activity ID:
renderMarkdownDocument| Parameter | Type | Optional | Description |
|---|---|---|---|
| format | pdf | docx | No | |
| template | string | Yes | |
| options | string[] | Yes |
DSL
{ "type": "activity", "name": "renderMarkdownDocument", "params": { "format": "pdf | docx", "template": "string", "options": "string[]" }, "output": "renditions" }
Split Text Into Chunks
Activity ID:
splitTextIntoChunks| Parameter | Type | Optional | Description |
|---|---|---|---|
| objectId | string | No | |
| chunkSize | number | Yes | |
| chunkOverlap | number | Yes |
DSL
{ "type": "activity", "name": "splitTextIntoChunks", "params": { "objectId": "string", "chunkSize": "number", "chunkOverlap": "number" }, "output": "renditions" }
Reduce Sections
Activity ID:
Reduces sections using overlap detection and LLM-based reduction.
This activity can be used for both partition-level reduction and final combination.
It takes multiple arrays of sections, combines overlapping sections, and uses an LLM
to merge continuous sections with similar topics.reduceSections| Parameter | Type | Optional | Description |
|---|---|---|---|
| reduceInteractionName | string | Yes | |
| sectionResults | any[][] | No | |
| tags | string[] | Yes |
DSL
{ "type": "activity", "name": "reduceSections", "params": { "reduceInteractionName": "string", "sectionResults": "any[][]", "tags": "string[]" }, "output": "renditions" }
Save Sections
Activity ID:
Saves sections to a document's metadata.
This activity updates the document's metadata with the provided sections.saveSections| Parameter | Type | Optional | Description |
|---|---|---|---|
| objectId | string | No | |
| sections | TextSection[] | No |
DSL
{ "type": "activity", "name": "saveSections", "params": { "objectId": "string", "sections": [ { "description": "string", "first_line_index": "number", "last_line_index": "number" } ] }, "output": "renditions" }
Process Chunk
Activity ID:
Downloads chunk content from GCP storage.
Used to retrieve chunks uploaded by splitTextIntoChunks.processChunk| Parameter | Type | Optional | Description |
|---|---|---|---|
| chunk | ChunkMetadata | No | |
| interactionName | string | No | |
| globalChunkIndex | number | No | |
| wfRunId | string | No |
DSL
{ "type": "activity", "name": "processChunk", "params": { "chunk": { "chunkIndex": "number", "fileId": "string", "size": "number", "firstLineNumber": "number", "lastLineNumber": "number" }, "interactionName": "string", "globalChunkIndex": "number", "wfRunId": "string" }, "output": "renditions" }
Fetch Interaction Run Result
Activity ID:
fetchInteractionRunResult| Parameter | Type | Optional | Description |
|---|---|---|---|
| run_id | string | No | |
| status | string | No |
DSL
{ "type": "activity", "name": "fetchInteractionRunResult", "params": { "run_id": "string", "status": "string" }, "output": "renditions" }
Create Checkpoint
Activity ID:
createCheckpoint| Parameter | Type | Optional | Description |
|---|---|---|---|
| tools | ToolDefinition[] | Yes | |
| tool_reference | ToolReference | Yes |
DSL
{ "type": "activity", "name": "createCheckpoint", "params": { "tools": [ { "name": "string", "description": "string", "input_schema": "inline object" } ], "tool_reference": { "storage_key": "string", "tool_count": "number", "stored_at": "string" } }, "output": "renditions" }
Resume Conversation
Activity ID:
resumeConversation| Parameter | Type | Optional | Description |
|---|---|---|---|
| results | ToolResult[] | No | |
| tools | ToolDefinition[] | Yes | |
| tool_reference | ToolReference | Yes | |
| user_message | string | Yes |
DSL
{ "type": "activity", "name": "resumeConversation", "params": { "results": [ { "tool_use_id": "string" } ], "tools": [ { "name": "string", "description": "string", "input_schema": "inline object" } ], "tool_reference": { "storage_key": "string", "tool_count": "number", "stored_at": "string" }, "user_message": "string" }, "output": "renditions" }
Start Conversation
Activity ID:
startConversation| Parameter | Type | Optional | Description |
|---|---|---|---|
| payload | AsyncConversationExecutionPayload | No | |
| tools | ToolDefinition[] | Yes | |
| tool_reference | ToolReference | Yes |
DSL
{ "type": "activity", "name": "startConversation", "params": { "payload": { "type": "conversation", "visibility": "private | project", "tool_names": "string[]", "max_iterations": "number", "interactive": "boolean", "disable_interaction_tools": "boolean", "search_scope": "string", "collection_id": "string", "checkpoint_tokens": "number", "task_id": "string", "debug_mode": "boolean", "max_nested_conversation_depth": "number" }, "tools": [ { "name": "string", "description": "string", "input_schema": "inline object" } ], "tool_reference": { "storage_key": "string", "tool_count": "number", "stored_at": "string" } }, "output": "renditions" }
Generate Tools
Activity ID:
Generate dynamic tools as interaction tools and dynamic descriptions
@param payloadgenerateTools| Parameter | Type | Optional | Description |
|---|---|---|---|
| generate_interaction_tools | boolean | No | |
| include_interactions | string[] | Yes | Optionally filter by interaction endpoint name to includes only the specified interactions |
| exclude_interactions | string[] | Yes | Optionally filter by interaction endpoint name to excludes the specified interactions If both includes and excludes are provided the includes will be done first. |
DSL
{ "type": "activity", "name": "generateTools", "params": { "generate_interaction_tools": "boolean", "include_interactions": "string[]", "exclude_interactions": "string[]" }, "output": "renditions" }
Execute Remote Tool
Activity ID:
Generate dynamic tools as interaction tools and dynamic descriptions
@param payloadexecuteRemoteTool| Parameter | Type | Optional | Description |
|---|---|---|---|
| app_name | string | No | |
| settings | Record<string, any> | Yes | |
| src | string | No | |
| type | http | js | mcp | No | |
| tool_use | ToolUse | No |
DSL
{ "type": "activity", "name": "executeRemoteTool", "params": { "app_name": "string", "settings": "Record<string, any>", "src": "string", "type": "http | js | mcp", "tool_use": { "id": "string", "tool_name": "string", "tool_input": "ParamsT | " } }, "output": "renditions" }
Get Conversation Topic
Activity ID:
getConversationTopic| Parameter | Type | Optional | Description |
|---|---|---|---|
| workflow_run_id | string | No | |
| environment | string | No | The environment ID to use to resolve the driver. |
| options | StatelessExecutionOptions | No | The options to use on the next call. |
DSL
{ "type": "activity", "name": "getConversationTopic", "params": { "workflow_run_id": "string", "environment": "string", "options": { "include_original_response": "boolean", "model_options": "TextFallbackOptions | ImagenOptions | VertexAIClaudeOptions | VertexAIGeminiOptions | NovaCanvasOptions | BaseConverseOptions | BedrockClaudeOptions | BedrockPalmyraOptions | BedrockGptOssOptions | TwelvelabsPegasusOptions | OpenAiThinkingOptions | OpenAiTextOptions | GroqDeepseekThinkingOptions", "output_modality": "Modalities" } }, "output": "renditions" }
Fetch Document Activity
Activity ID:
fetchDocumentActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | FetchDocumentToolParams | No |
DSL
{ "type": "activity", "name": "fetchDocumentActivity", "params": { "input": { "id": "string", "mode": "FetchMode", "section_indices": "number[]", "token_range": "TokenRange", "page_range": "PageRange", "analyzer_prompt": "string", "visual": "boolean", "max_tokens": "number" } }, "output": "renditions" }
Search Documents Activity
Activity ID:
searchDocumentsActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | SearchDocumentsToolParams | No |
DSL
{ "type": "activity", "name": "searchDocumentsActivity", "params": { "input": { "query": "inline object", "facets": "inline object[]", "select": "string", "limit": "number", "offset": "number", "count_only": "boolean", "summary": "string", "analyze": "boolean", "analyzer_prompt": "string", "all_revisions": "boolean" } }, "output": "renditions" }
Update Document Activity
Activity ID:
updateDocumentActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | UpdateDocumentToolParams | No |
DSL
{ "type": "activity", "name": "updateDocumentActivity", "params": { "input": { "id": "string", "edits": "StructuredEdit[]", "create_revision": "boolean", "revision_label": "string", "properties": "Record<string, any>", "location": "string", "type": "string", "track_changes": "boolean", "author": "string", "instrumentation": "inline object" } }, "output": "renditions" }
Web Search Activity
Activity ID:
webSearchActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | WebSearchToolParams | No |
DSL
{ "type": "activity", "name": "webSearchActivity", "params": { "input": { "query": "string", "num_results": "number", "include_snippets": "boolean", "safe_search": "boolean", "fetch_content": "boolean", "fetch_top_n": "number", "analyze_content": "boolean", "analyzer_prompt": "string" } }, "output": "renditions" }
Get Object Type Activity
Activity ID:
getObjectTypeActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | GetObjectTypeToolParams | No |
DSL
{ "type": "activity", "name": "getObjectTypeActivity", "params": { "input": { "id": "string" } }, "output": "renditions" }
Create Or Update Type Activity
Activity ID:
createOrUpdateTypeActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | CreateOrUpdateTypeToolParams | No |
DSL
{ "type": "activity", "name": "createOrUpdateTypeActivity", "params": { "input": { "id": "string" } }, "output": "renditions" }
Disable Type Activity
Activity ID:
disableTypeActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | DisableTypeToolParams | No |
DSL
{ "type": "activity", "name": "disableTypeActivity", "params": { "input": { "id": "string" } }, "output": "renditions" }
Create Collection Activity
Activity ID:
createCollectionActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | CreateCollectionToolParams | No |
DSL
{ "type": "activity", "name": "createCollectionActivity", "params": { "input": { "name": "string", "description": "string", "type": "string", "tags": "string[]", "properties": "Record<string, any>", "parent": "string | " } }, "output": "renditions" }
Update Collection Properties Activity
Activity ID:
updateCollectionPropertiesActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | UpdateCollectionToolParams | No |
DSL
{ "type": "activity", "name": "updateCollectionPropertiesActivity", "params": { "input": { "id": "string", "name": "string", "description": "string", "type": "string", "tags": "string[]", "properties": "Record<string, any>", "parent": "string | " } }, "output": "renditions" }
Add To Collection Activity
Activity ID:
addToCollectionActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | AddToCollectionToolParams | No |
DSL
{ "type": "activity", "name": "addToCollectionActivity", "params": { "input": { "collectionId": "string", "objectIds": "string[]" } }, "output": "renditions" }
Remove From Collection Activity
Activity ID:
removeFromCollectionActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | RemoveFromCollectionToolParams | No |
DSL
{ "type": "activity", "name": "removeFromCollectionActivity", "params": { "input": { "collectionId": "string", "objectIds": "string[]" } }, "output": "renditions" }
Get Collection Activity
Activity ID:
getCollectionActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | GetCollectionToolParams | No |
DSL
{ "type": "activity", "name": "getCollectionActivity", "params": { "input": { "id": "string" } }, "output": "renditions" }
Search Collections Activity
Activity ID:
searchCollectionsActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | SearchCollectionsToolParams | No |
DSL
{ "type": "activity", "name": "searchCollectionsActivity", "params": { "input": { "name": "string", "limit": "number" } }, "output": "renditions" }
Update Document Properties Activity
Activity ID:
updateDocumentPropertiesActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | UpdateDocumentPropertiesToolParams | No |
DSL
{ "type": "activity", "name": "updateDocumentPropertiesActivity", "params": { "input": { "documentId": "string", "properties": "Record<string, any>", "create_revision": "boolean", "revision_label": "string" } }, "output": "renditions" }
Execute Javascript Code
Activity ID:
Execute JavaScript code in a Temporal activityexecuteJavascriptCode| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | ExecuteJsCodeToolParams | No |
DSL
{ "type": "activity", "name": "executeJavascriptCode", "params": { "input": { "code": "string", "comment": "string", "additional_packages": "string[]", "objectIds": "string[]" } }, "output": "renditions" }
Execute Python Code
Activity ID:
Execute Python code in a Temporal activityexecutePythonCode| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | ExecutePythonCodeToolParams | No |
DSL
{ "type": "activity", "name": "executePythonCode", "params": { "input": { "code": "string", "comment": "string" } }, "output": "renditions" }
Plan Activity
Activity ID:
planActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | Plan | No |
DSL
{ "type": "activity", "name": "planActivity", "params": { "input": { "plan": "PlanTask[]", "comment": "string" } }, "output": "renditions" }
Update Plan Activity
Activity ID:
updatePlanActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | UpdatePlanParams | No |
DSL
{ "type": "activity", "name": "updatePlanActivity", "params": { "input": { "updates": "TaskUpdate[]", "summary": "string" } }, "output": "renditions" }
Analyze Spreadsheet
Activity ID:
Activity function that analyzes a spreadsheet document in Vertesia using provided JavaScript codeanalyzeSpreadsheet| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | AnalyzeSpreadsheetToolParams | No |
DSL
{ "type": "activity", "name": "analyzeSpreadsheet", "params": { "input": {} }, "output": "renditions" }
Update Spreadsheet
Activity ID:
Activity function that updates a spreadsheet document in Vertesia using provided JavaScript codeupdateSpreadsheet| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | UpdateSpreadsheetToolParams | No |
DSL
{ "type": "activity", "name": "updateSpreadsheet", "params": { "input": { "dry_run": "boolean", "create_version": "boolean", "version_label": "string" } }, "output": "renditions" }
Create Spreadsheet
Activity ID:
Activity function that creates a new spreadsheet document in Vertesia using provided JavaScript codecreateSpreadsheet| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | CreateSpreadsheetToolParams | No |
DSL
{ "type": "activity", "name": "createSpreadsheet", "params": { "input": { "name": "string", "code": "string", "summary": "string", "type": "string", "location": "string", "properties": "Record<string, any>" } }, "output": "renditions" }
Analyze Image Activity
Activity ID:
analyzeImageActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | AnalyzeImageToolParams | No |
DSL
{ "type": "activity", "name": "analyzeImageActivity", "params": { "input": { "object_id": "string", "image_path": "string", "commands": "ImageMagickCommand[]", "instrument_grid": "inline object", "summary": "string" } }, "output": "renditions" }
Merge Document Activity
Activity ID:
mergeDocumentActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | MergeDocumentToolParams | No |
DSL
{ "type": "activity", "name": "mergeDocumentActivity", "params": { "input": { "output_name": "string", "input_document_ids": "string[]", "separator": "string", "properties": "Record<string, any>", "parent": "string", "location": "string", "type": "string", "summary": "string" } }, "output": "renditions" }
Create Content Object Activity
Activity ID:
createContentObjectActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | CreateContentObjectToolParams | No |
DSL
{ "type": "activity", "name": "createContentObjectActivity", "params": { "input": { "url": "string", "name": "string", "properties": "Record<string, any>", "tags": "string[]", "location": "string", "collection_id": "string" } }, "output": "renditions" }
Search Conversations Activity
Activity ID:
searchConversationsActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | SearchConversationsToolParams | No |
DSL
{ "type": "activity", "name": "searchConversationsActivity", "params": { "input": {} }, "output": "renditions" }
Analyze Conversation Tool Activity
Activity ID:
analyzeConversationToolActivity| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | AnalyzeConversationToolParams | No |
DSL
{ "type": "activity", "name": "analyzeConversationToolActivity", "params": { "input": { "workflow_run_id": "string", "workflow_id": "string", "analyzer_prompt": "string", "result_schema": "Record<string, any>" } }, "output": "renditions" }
