Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 21 additions & 14 deletions apps/web/src/components/app/docs-sections/automations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,18 @@ export function AutomationsContent() {
</li>
<li>
<strong>Prompt</strong> — the instructions sent as the agent's first
message. Supports <Code>{"{{D:Arg Name}}"}</Code> placeholders just
like templates. Dispatch prepends a short preamble that names the
job, includes the run ID, and reminds the agent to drive the run to
a terminal state. Required before a run can start.
message. Dispatch prepends a short preamble that identifies the job
and run and reminds the agent to drive the run to a terminal state.
Required before a run can start. Unlike templates, jobs never
collect arguments at run time — <Code>{"{{D:Arg Name}}"}</Code>{" "}
placeholders are only substituted from default values saved via the
API.
</li>
<li>
<strong>Show in command palette</strong> — when on, the job appears
in the <Code>Mod+K</Code> palette for quick launch.
<strong>Show in command palette</strong> — marks the job as
callable, shown as a badge in the jobs list. Quick launch from the{" "}
<Code>Mod+K</Code> palette is currently only available for
templates.
</li>
<li>
<strong>Single instance</strong> — when on (the default), only one
Expand Down Expand Up @@ -233,10 +237,11 @@ export function AutomationsContent() {
</li>
</ul>
<P>
After creating a job, open its <strong>Settings</strong> tab to
configure additional options like <strong>Webhook trigger</strong> —
enable it to generate a secret URL that fires a run via HTTP POST. No
auth header is needed; the secret in the URL is the credential.
After creating a job, open its <strong>Configure</strong> tab to
adjust these settings and options like{" "}
<strong>Webhook trigger</strong> — enable it to generate a secret URL
that fires a run via HTTP POST. No auth header is needed; the secret
in the URL is the credential.
</P>
</Section>

Expand Down Expand Up @@ -391,10 +396,12 @@ export function AutomationsContent() {
<Section>
<H3>History and status</H3>
<P>
Each job card shows the last run's status, when it finished, and the
next scheduled fire time. Open the <strong>History</strong> tab on a
job to browse past runs with their reports, durations, and trigger
source (Manual, Scheduled, or Webhook).
Each job in the sidebar list shows its last run's status alongside its
schedule and enabled state, and the Jobs overview (shown when no job
is selected) lists upcoming scheduled runs. Open the{" "}
<strong>History</strong> tab on a job to browse past runs with their
start time, duration, trigger source (Manual, Scheduled, or Webhook),
and expandable report.
</P>
</Section>

Expand Down
8 changes: 8 additions & 0 deletions apps/web/src/lib/tips/tips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,14 @@ export const tips: Tip[] = [
since: "0.27.0",
surfaces: ["ambient"],
},
{
id: "job-webhook-trigger",
title: "Job Webhook Triggers",
body: "Fire a job from CI or any external system: enable Webhook trigger in the job's Configure tab to get a secret URL that starts a run on HTTP POST.",
docsSection: "automations",
since: "0.29.0",
surfaces: ["ambient"],
},
];

export function getTipById(id: string): Tip | undefined {
Expand Down
Loading