Scheduling & Automation

Trigger workflow runs automatically using schedules, events, and APIs

Scheduling in Supervity allows you to automatically trigger workflow runs at specific times or in response to events.

Important distinction:

  • Schedules trigger runs
  • Workflows define execution
  • Agents plan and govern behavior

Scheduling controls when work starts, not how work is done.


Triggers in Supervity

Supervity supports multiple ways to start execution.
Schedules are one type of trigger.

Trigger TypePurpose
ManualUser-initiated execution
ScheduleTime-based automation
WebhookExternal event-driven execution
APIProgrammatic execution

All triggers ultimately create a run (job) for a workflow.


Schedule Types

Recurring Schedules

Recurring schedules trigger runs on a fixed cadence.

Supported patterns:

  • Daily (specific time)
  • Weekly (specific days)
  • Monthly (specific dates)
  • Hourly (every N hours)
  • Custom cron expressions

Examples

  • every weekday at 9:00 am
  • first monday of each month
  • every 2 hours during business hours

One-Time Schedules

One-time schedules trigger a single run at a future time.

Common use cases:

  • delayed actions
  • reminders
  • deferred processing
  • time-based approvals

Creating Schedules

From the Schedule Page

  1. navigate to schedule
  2. click create schedule
  3. select an existing workflow
  4. configure timing
  5. provide inputs (if required)
  6. activate the schedule

From a Saved Agent or Workflow

  1. open a saved agent
  2. click schedule
  3. configure timing and options
  4. save and activate

Schedules reference workflows but do not modify them.


Schedule Configuration

Required Fields

  • workflow β€” the execution structure
  • schedule type β€” recurring or one-time
  • timezone β€” critical for correctness
  • active status β€” enable or pause execution

Optional Controls

  • retry on failure
  • maximum retry attempts
  • execution timeout
  • success or failure notifications
  • pre-filled inputs

Schedules can be adjusted independently of workflow logic.


Timezones & Reliability

All schedules execute in the configured timezone.

Best practices:

  • always set timezone explicitly
  • avoid relying on defaults
  • use utc for global systems
  • validate the next-run preview

Daylight saving changes are handled automatically.


Webhook Triggers (Event-Based Automation)

Webhooks allow external systems to trigger workflow runs in real time.

How Webhooks Work

  1. supervity generates a webhook url
  2. an external system sends an http request
  3. the payload becomes workflow input
  4. a run is created and executed

Example Webhook Payload

json

Webhook Security

Webhooks support:

  • optional authentication
  • payload validation
  • rate limiting
  • ip allowlisting

Webhook-triggered runs follow the same execution and governance rules as scheduled runs.


Integration-Based Triggers

Some integrations emit events automatically.

Examples:

  • new email received
  • file uploaded
  • calendar event created
  • form submitted

Internally, these behave like webhook triggers.


Managing Schedules

View & Monitor

The schedule page shows:

  • active and paused schedules
  • next run time
  • last run status
  • associated workflows

Pause & Resume

  • pausing stops future runs
  • execution history is preserved
  • no configuration is lost

Edit or Delete

  • editing affects future runs only
  • deleting removes the schedule
  • underlying workflows and agents remain unchanged

Execution Monitoring

Every scheduled run produces:

  • execution logs
  • step-level status
  • inputs and outputs
  • retry history

Failures are visible and actionable.

β†’ See: Workflows Explained


Common Scheduling Patterns

Daily Reports

text

Weekly Cleanup

text

Real-Time Alerts

text

Business Process Automation

text

Error Handling & Safeguards

Schedules support:

  • retry with backoff
  • execution timeouts
  • failure notifications
  • manual intervention

If a run fails repeatedly, it surfaces clearly and does not loop silently.


Governance & Access Control

  • only authorized users can create or edit schedules
  • all schedule changes are logged
  • execution history is auditable
  • approval steps still apply even for scheduled runs

Scheduling never bypasses governance.


Best Practices

Design Safely

  • test workflows manually before scheduling
  • start with low frequency
  • enable failure notifications

Design Reliably

  • avoid overlapping long-running schedules
  • stagger heavy workloads
  • monitor initial runs closely

Design for Scale

  • batch operations
  • use parallel steps
  • track execution metrics

Where to Go Next


Scheduling defines when work starts. Workflows define what happens. Agents decide how it should run.

product-guide/scheduling-automation.md