Skip to main content

Workspace Agent Tasks Node

Execute a workspace flow with the same container lifecycle behavior as Workspace Agent, but require the child flow to call a complete_task(...) tool before the run is considered complete.

This node injects a task-specific model context into the workspace flow input. The child flow can call:

complete_task(success: boolean, result_summary: string, artifact_id?: string)

The node can optionally reprompt the child flow if it finishes without calling the tool, require a valid artifact id on successful completion, and send success or failure notifications using the artifact notification pipeline.

Properties

LabelPropertyTypeDescriptionDefault ValueIs Required
Workspaceworkspacebotdojo/types/workspace_referenceWorkspace whose flow should be executed.null
External Session IDexternal_session_idbotdojo/types/stringOptional external session identifier for the workspace flow.null
Use Default PropertiesuseDefaultPropertiesbotdojo/types/booleanIf true, use the target flow's default property values.false
Reprompt Messagetask_reprompt_messagebotdojo/types/stringFollow-up message sent once if the child flow never calls complete_task(...).null
Artifact Requiredtask_artifact_requiredbotdojo/types/booleanRequire complete_task(success: true, artifact_id: ...) to include a valid artifact id.false
Success Notify Enabledtask_notify_enabledbotdojo/types/booleanEnable success notification delivery after a completed task.false
Success Notify Totask_notify_tobotdojo/types/array/stringPrimary success notification recipients.[]
Success Notify Cctask_notify_ccbotdojo/types/array/stringSuccess notification CC recipients.[]
Success Notify Bcctask_notify_bccbotdojo/types/array/stringSuccess notification BCC recipients.[]
Success Subject Templatetask_notify_subjectbotdojo/types/stringHandlebars template rendered for success email subject.default template
Success Body Templatetask_notify_bodybotdojo/types/stringHandlebars template rendered for success email body. Supports TEXT, HTML, or MARKDOWN.default template
Success Body Formattask_notify_body_formatbotdojo/types/stringFormat used for the success body template.MARKDOWN
Attach Artifacttask_notify_attachbotdojo/types/booleanAttach the completed artifact to the success email when available.false
Failure Notify Enabledtask_failure_notify_enabledbotdojo/types/booleanEnable failure notification delivery.false
Suppress Main Recipients On Failuretask_failure_notify_suppress_mainbotdojo/types/booleanIf true, failure notifications skip the main success recipients.false
Failure Notify Totask_failure_notify_tobotdojo/types/array/stringPrimary failure notification recipients.[]
Failure Notify Cctask_failure_notify_ccbotdojo/types/array/stringFailure notification CC recipients.[]
Failure Notify Bcctask_failure_notify_bccbotdojo/types/array/stringFailure notification BCC recipients.[]
Failure Subject Templatetask_failure_notify_subjectbotdojo/types/stringHandlebars template rendered for failure email subject.default template
Failure Body Templatetask_failure_notify_bodybotdojo/types/stringHandlebars template rendered for failure email body.default template
Failure Body Formattask_failure_notify_body_formatbotdojo/types/stringFormat used for the failure body template.MARKDOWN
Attach Artifact On Failuretask_failure_notify_attachbotdojo/types/booleanAttach the artifact referenced by complete_task(...) to the failure email when present.false

Output

LabelPropertyTypeDescriptionDefault Value
Outputoutputbotdojo/types/dataOutput returned from the workspace flow.null

Template Variables

Success and failure notification templates receive:

  • success
  • result_summary
  • artifact_id
  • artifact_link
  • link
  • session_id
  • output

Failure templates also receive the task failure reason when the child flow fails to call complete_task(...) or returns invalid task completion data.