Record Automation Run
record_runStore a finished automation run's outcome and report so the Automations page shows recent runs, counts, digests and job links, and the Agent inbox flags proposed jobs.
Instructions
Stores one finished automation run. The Automations page lists the newest run of each automation under Recent runs (its counts, digest and job links) and each card shows when its automation last ran; the Agent inbox says so when the run proposed jobs. automation is the card id (mail-status, job-hunt, referral-pages, tailor-run, apply-session) or a custom automation's own name, 40 characters at most. outcome: ok, partial (some of the work failed) or failed (none of it was done). The newest 200 runs are kept. Returns the stored run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | No | {counts?, digest?, job_ids?}. counts: whole numbers for found, proposed, skipped, tailored, updated and needs_you; other keys are refused. digest: the run's plain-text summary, kept to its first 2000 characters; it holds counts and title-and-company lines, not email text. job_ids: the jobs the run touched, the first 50 kept; unknown job ids are dropped. | |
| outcome | Yes | ||
| automation | Yes |