Automation & Routines
Wingman can schedule routines and respond to inbound webhooks. Both are managed by the gateway and stored under .wingman/.
Routines (cron-based)
Routines are scheduled prompts that run on a cron-like cadence.
- Cron format: 5 fields (
minute hour day month weekday). - Stored in
.wingman/routines.json.
Webhooks
Webhooks let external systems trigger agents.
Create a webhook
The gateway generates a secret automatically if you don't provide one.
Trigger the webhook
You can also pass the secret as a query param: ?secret=....
Presets
Some payloads can be normalized with presets (e.g., gog-gmail). Set preset when creating a webhook to enable formatting helpers.
Session routing
Webhooks create or reuse sessions with keys like:
You can bind a webhook to a specific session via sessionId if needed.
