← All native models

Model fields

config:agent_task

Agent Task Node Config

Use an AI agent to automatically resolve a task by choosing from predefined outcomes. Optionally falls back to a human task on failure.

object
agentIdRequired

The AI agent that decides the outcome.

string
contextPathsOptional

Extra context for the agent: each {{ … }} expression is resolved and added to the prompt.

array
List items
string
fallbackToHumanOptional

If the agent cannot resolve the task, create a task for a person instead and wait for them.

boolean
promptOptional

Extra instructions for the agent. Use {{ … }} to include inputs, earlier results or variables.

string
Format
"textarea"
taskDefinitionIdRequired

The task definition whose outcomes the agent chooses from.

string