Model fields
workflow.config:agent_task
Agent Task Node Configobject string array boolean string string
Use an AI agent to automatically resolve a task by choosing from predefined outcomes. Optionally falls back to a human task on failure.
agentIdRequiredThe AI agent that decides the outcome.
contextPathsOptionalExtra context for the agent: each {{ … }} expression is resolved and added to the prompt.
List items
string
fallbackToHumanOptionalIf the agent cannot resolve the task, create a task for a person instead and wait for them.
promptOptionalExtra instructions for the agent. Use {{ … }} to include inputs, earlier results or variables.
- Format
"textarea"
taskDefinitionIdRequiredThe task definition whose outcomes the agent chooses from.