Managing via UI
- Create and manage schedules from the automation’s page in the Tembo UI.
- Create and manage event triggers from the automation’s page or the Integration settings.
- Public API endpoints for schedules and triggers may not be available for your account yet; check the Public API tab or contact support for access.
Defining Automations in Your Repo
Add one or more JSON files in/.tembo/workflows/. Each file should contain at least a name and jsonContent (the editor JSON for your automation). Tembo scans your repository and imports each automation into your organization during sync.
How this fits together:
- Store automation JSON under
/.tembo/workflows/*.jsonin your repo. - On sync, Tembo imports each definition into your org.
- Automations start from either a schedule (cron) or an event trigger, which enqueues a background job.
- That job records an Automation Run and converts your JSON into a Tembo “Automation Issue”, then executes it using the same engine that powers issue solving.
Ways to Run an Automation
1) Scheduled (Cron)
Create schedules that enqueue your automation at specific times using standard cron expressions.- Use the Tembo UI to create, edit, and delete schedules for an automation.
- Tembo checks schedules every minute and enqueues the automation when due.
- Each schedule tracks
lastRunAtandnextRunAtfor visibility.
2) Event Triggers
Create triggers that tie an automation to an event. Triggers can be scoped to an integration (e.g., GitHub, GitLab, Bitbucket, Linear, Slack).- Use the Tembo UI to create, list, update, and delete triggers for an automation.
triggerNameis a free-form identifier you use consistently from your integration/webhook to fire the automation.integrationIdis optional; use it to associate a trigger with a specific connected provider.
Supported Triggers & Webhooks
Tembo automations can be triggered from provider webhooks. Use a consistenttriggerName (we recommend provider.category.event, for example github.pull_request.opened).
- The exact event set comes from our current webhook handlers in the monorepo and may evolve.
- For the live list enabled for your org, check the Integrations page in the app.
- For provider-specific details, see each integration doc:
- If you need an additional event (for example, GitHub tag creation), contact support@tembo.io.
What Happens During a Run
- A schedule or trigger enqueues an automation run job with the automation ID.
- Tembo creates an Automation Run record for traceability (status + runtime).
- Tembo opens an “Automation Issue” that stores your
jsonContentand a link to the run. - Tembo enqueues a
solve_issuejob for that Automation Issue. Your automation executes using the same robust agent pipeline as normal issues. - The run status is updated to finished or failed when processing completes.
Monitoring & Visibility
- View automations and runs in the Tembo UI.
- Admins can also inspect queued/scheduled jobs in the admin tools.
- Use the Public API’s Queue endpoints to inspect general queue state if needed.
Tips & Conventions
- Name uniqueness: Automations are unique per organization by name; re-sync updates the
jsonContentfor the same-name automation. - Schedules and triggers are also unique per org by their generated names (Tembo adds short hashes under the hood).
- Credits: Automations ultimately execute through the same engine that solves issues. Standard credit checks apply when execution reaches issue-solving.
If you need help modeling automation JSON or wiring a custom event to a trigger, reach out at support@tembo.io.