UNPKG

n8n

Version:

n8n Workflow Automation Tool

4 lines (3 loc) 2.03 kB
export declare const TASK_OBJECTIVE_TEMPLATE = "## Objective\n<One sentence: the outcome to achieve on each run and why it matters.>\n\n## Context\n<Background the agent needs, the inputs and data sources to use, and the time window to consider (e.g. \"items created since the previous run\").>\n\n## Steps\n1. <First action.>\n2. <Next action.>\n\n## Output\n<The exact format of the result AND where to deliver it (e.g. \"email a summary to ops@example.com\", \"post to Slack #alerts\", \"append a row to the tracking sheet\"). The run is unattended, so the agent must actively deliver the result somewhere.>\n\n## Constraints\n<Scope limits, what to avoid, and what to do when there is nothing to act on (e.g. \"if there are no new items, do nothing\").>\n\n## Success criteria\n<A verifiable definition of done for a single run.>"; export declare const TASK_OBJECTIVE_FORMAT_RULE: string; export declare const TASK_OBJECTIVE_GUIDANCE = "The objective is the only message the agent receives on each unattended run, so it must be fully self-contained (never rely on the current chat) and must follow this exact Markdown structure, with every section filled in with concrete, specific content \u2014 no placeholders or angle-bracket text:\n\n## Objective\n<One sentence: the outcome to achieve on each run and why it matters.>\n\n## Context\n<Background the agent needs, the inputs and data sources to use, and the time window to consider (e.g. \"items created since the previous run\").>\n\n## Steps\n1. <First action.>\n2. <Next action.>\n\n## Output\n<The exact format of the result AND where to deliver it (e.g. \"email a summary to ops@example.com\", \"post to Slack #alerts\", \"append a row to the tracking sheet\"). The run is unattended, so the agent must actively deliver the result somewhere.>\n\n## Constraints\n<Scope limits, what to avoid, and what to do when there is nothing to act on (e.g. \"if there are no new items, do nothing\").>\n\n## Success criteria\n<A verifiable definition of done for a single run.>";