?
runPackagedWorkflow
Run a packaged workflow ("custom block")
mindstudio.runPackagedWorkflow({ appId, workflowId, inputVariables, outputVariables, name }) → Result
Run a packaged workflow ("custom block")
Parameters
appId
string
RequiredThe app ID of the packaged workflow source
workflowId
string
RequiredThe source workflow ID to execute
inputVariables
object
RequiredVariables to pass as input to the packaged workflow
outputVariables
object
RequiredVariables to capture from the packaged workflow output
name
string
RequiredDisplay name of the packaged workflow
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.runPackagedWorkflow({ appId: /* ... */, workflowId: /* ... */, inputVariables: /* ... */, outputVariables: /* ... */, name: /* ... */ });