Start agent runs from a webhook
A webhook source can start an agent run when a request arrives — for example a GitHub issue that sets an agent to work. Only a source that signs its requests can, every request is checked before it is read, one request runs at most once, and nothing is spent without limits you set; otherwise each run waits for your approval.
On this page
What it is
Webhooks already bring outside events into your inbox. With agent runs on, a source can also start a Claude Code session in a project you choose, with a prompt that fills in values from the request.
Where to find it
Settings → Webhooks, under each source: Start an agent run from this source.
How it behaves
- Switch to signed requests. Omniscio makes a signing secret and shows it once — copy it into the sender (GitHub: the webhook's Secret field). From then on, requests to this source must carry a valid signature; the old bearer token no longer works for it.
- Pick the sender: GitHub (
X-Hub-Signature-256), Generic (X-Webhook-Signature: sha256=…) or a custom header. You can also require a signed timestamp header, which must be within five minutes. - Filters (optional): run only when values match, for example
headers.x-github-eventequalsissuesandbody.actionis one ofopened, reopened. - Prompt: write what the agent should do and fill in values with
{{body.issue.title}},{{headers.name}},{{body}}or{{request}}. Filled-in values are marked as untrusted data for the agent, can't trigger slash commands or mentions, and credentials are never filled in. - Run once per (optional): a value such as
{{body.issue.id}}; a second request with the same value is a duplicate. The exact same signed request is always a duplicate for 30 days. - Project, model tier, limits: runs per hour, runs per day, a daily spending limit and a limit per run. Leave any of the four empty and every run waits for you.
- Start agent runs on, then Save.
Runs use the guarded permission level and appear in the sidebar like any session, marked "Spawned by webhook <name>". The per-run limit holds even if the app or the session restarts.
Waiting runs show as one inbox card per source. Open Settings → Webhooks and choose Start run or Dismiss; a waiting run lapses after a day. Approving is only possible in the desktop app.
Deliveries lists each request with its outcome — started, waiting, filtered, duplicate, skipped, refused, failed, lapsed or test — and why. Credentials in headers are removed and the body is cut short; the log keeps 30 days.
The receiver still listens only on this computer, so an outside service needs a tunnel you run. While runs are on, automations and workflows do not also start agents from that source.
Holding deliveries while this computer is off
Each signed source's run panel has Hold deliveries while this computer is off. Turned on, it shows a cloud address and a separate queue secret once — point the sender at those. The queue keeps signed deliveries for up to 3 days, sealed so only this computer can read them, within size and rate limits (a sender over a limit is told to retry; GitHub needs a manual redelivery), and holds the same signed delivery only once however often it is posted. If deliveries were turned away while you were away, the next check raises one inbox card saying how many, with a button to the Webhooks settings; redeliver them from GitHub's Recent Deliveries page. When the computer is back, each delivery is checked again here and waits for your approval, labelled as having come through the queue; none starts a run by itself. Rotating the secret or turning runs off turns the queue off. Erasing all local data also turns the queue off in the cloud, retrying for a couple of hours while Omniscio is open; if it cannot reach the cloud, the cloud deletes the queue on its own after 14 days without a check. Until the queue is deployed the switch says it is not available.
Related
- webhook-integration.md — receiving webhooks into the inbox
- INDEX.md — full library index
Last verified 2026-10-27