DocsWorkflows
Platform

Workflows

Autopilot for your AI — scheduled jobs, webhook triggers, and AI steps that run while you sleep. Trigger configuration, run lifecycle, and plan limits.

Workflows are the autopilot layer of Tyrex AI. A workflow is a job your AI runs automatically: a trigger starts it, steps do the work, and the result is delivered where you want it. No code required.

Where to do it

Workflows live under Works → Workflows (sidebar). From there you can create a workflow, open the builder, configure triggers, view run logs, and run it manually. Your AI can also start workflows on its own when you enable that in the workflow's settings.

Anatomy of a workflow

TRIGGER → STEPS → RESULT
(cron / manual /    (ai + action +     (delivered to app,
 webhook / chat)     data + flow)       Telegram, or WhatsApp)

Triggers — what starts a workflow

TriggerHow it startsUse when
Schedule (cron)Runs at a time, daily, weekly — e.g. every weekday 07:00Repetitive jobs — morning briefs, reminders, report generation
ManualYou run it from the workflow pageOne-off or on-demand jobs
WebhookAn external service calls a URLYour own systems start it — a store backend, a form, a monitoring tool
TelegramA message to your bot starts itTrigger from chat — send a command or keyword to your bot
Chat handoffAn AI conversation reaches a step that hands off to the workflowMulti-step jobs that begin with a conversation

Schedule (cron) configuration

{
  "triggerType": "CRON",
  "schedule": "0 7 * * 1-5"
}

The schedule field is a standard 5-part cron expression: minute, hour, day-of-month, month, day-of-week. 0 7 * * 1-5 runs every weekday at 07:00.

Webhook configuration

{
  "triggerType": "WEBHOOK",
  "webhook": {
    "method": "POST",
    "payload": {
      "orderId": "string",
      "customerEmail": "string"
    }
  }
}

The workflow exposes a public URL — POST /workflows/webhook/<workflow-id>/<secret> — where the secret is generated by Tyrex when you pick the trigger (no bearer token needed; the secret in the URL is the credential). Rotate it any time from the workflow's trigger settings. See API & Webhooks for the full reference. The payload you define here is what callers send to start a run.

Steps — what it does

Step typeWhat it does
AI stepsGenerate text, chain prompts, orchestrate multiple AI calls, evaluate results
Data stepsQuery your knowledge base, fetch from the web, run code, create files and artifacts
Action stepsInsert results into a chat, send notifications, trigger delivery channels
Flow stepsConditionals, loops, and waiting for input — workflows can branch like a program

Channels — where the result goes

ChannelHow it worksAvailability
In-appResults appear in your Tyrex AI chat or notificationsEvery plan
TelegramDelivered to your own bot (bring your own token)Pro and up
WhatsAppDelivered via your own numberElite

Example workflows

  • Morning brief — every weekday, your AI reviews your calendar and notes, then sends a summary to Telegram.
  • Customer triage — a webhook from your store page starts a workflow: fetch the new order, check the FAQ knowledge base, draft a personalized reply, and notify you for approval.
  • Reminder service — a scheduled workflow checks a calendar or list and sends a reminder when something is due.
  • Report generator — at month-end, gather the numbers from your spreadsheet, write the report, and generate a PDF into the project.

Run lifecycle

Every run moves through a predictable lifecycle:

QUEUED → RUNNING → SUCCESS
                  └──→ FAILED (logged with the failing step)
  • Queued — accepted and waiting for a slot.
  • Running — steps executing in order.
  • Success — result delivered to the configured channel.
  • Failed — the run log shows exactly which step failed and why; fix and re-run.

Workflows are built to fail loudly and log cleanly: if a step errors, the run shows exactly where, and you can re-run without rebuilding the whole workflow.

Staying in control

  • Every run is logged — see what happened, when, and the result.
  • Pause or edit any workflow anytime — edits apply to the next run.
  • Runs meter against your plan usage, shown on the workflow page.

Plan limits

FreeProElite
Active workflows1520
Runs100 / month5K / month50K / month
StepsCore AI + data + actions+ flow branching+ orchestration, evaluation, webhooks
ChannelsIn-app+ Telegram+ WhatsApp

FAQ

What happens when I hit my monthly run limit? New runs queue until the limit resets at the start of the next month — your dashboard shows remaining runs.

Can a workflow use my connectors? Yes — connected services (Drive, Slack, Telegram, and more) are available to workflow steps.

Do runs cost extra? Runs consume your plan's monthly allowance — see Plans & Billing.

Can I trigger a workflow from my own app? Yes — webhook triggers are built for that. See API & Webhooks.

Next: Tools & Connectors.