Trigger tasks and manage runs and schedules
Trigger.dev is a Sim integration in the DevOps category. Sim is the AI workspace where teams build and deploy AI agents. Sim's Trigger.dev integration provides 44 tools that AI agents can use inside Sim's visual workflow builder. Trigger.dev connects with an API key. Free to start at sim.ai.
Last updated
Integrate Trigger.dev into the workflow. Trigger and batch trigger background tasks, retrieve and control runs (cancel, replay, reschedule, tags, metadata, events, traces), manage cron schedules, environment variables, queues, deployments, and waitpoint tokens, and query run data with TRQL.
Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.
Open your workspace, drag a Trigger.dev block onto the workflow builder, and paste in your Trigger.dev API key.
Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your Trigger.dev automation is live.
Ready-to-use templates featuring Trigger.dev. Click any to build it instantly.
44 Trigger.dev tools available to Sim agents.
Trigger a Trigger.dev task by its identifier with an optional JSON payload. Returns the ID of the created run.
Batch trigger a Trigger.dev task with up to 1,000 payloads. All items in the batch run the same task. Returns the batch ID and the created run IDs.
Retrieve a Trigger.dev batch by its ID, including its status, run IDs, and success and failure counts.
Retrieve the execution results of every run in a Trigger.dev batch, including outputs and error details.
Retrieve a Trigger.dev run by its ID, including status, payload, output, attempts, and timing details.
Retrieve the result of a Trigger.dev run: whether it succeeded, its output, and error details. Lighter than Get Run when only the outcome is needed.
Retrieve the log and span events of a Trigger.dev run, including messages, levels, durations, and error events.
Retrieve the OpenTelemetry trace of a Trigger.dev run as a tree of spans with timing, errors, and nested children.
List Trigger.dev runs in the environment of the API key, with optional filters for status, task, version, tags, schedule, and creation time.
Cancel an in-progress Trigger.dev run. Has no effect if the run is already completed.
Replay a Trigger.dev run, creating a new run with the same payload and options as the original.
Reschedule a delayed Trigger.dev run with a new delay. Only valid while the run is in the DELAYED state.
Add tags to an existing Trigger.dev run. Runs can have up to 10 tags.
Replace the metadata of a Trigger.dev run with a new JSON object.
Create an imperative cron schedule that triggers a Trigger.dev task on a recurring basis.
Retrieve a Trigger.dev schedule by its ID.
List Trigger.dev schedules in the project, with page-based pagination.
Update an imperative Trigger.dev schedule by its ID, replacing its task, cron expression, timezone, and external ID.
Delete an imperative Trigger.dev schedule by its ID.
Activate an imperative Trigger.dev schedule so it resumes triggering its task.
Deactivate an imperative Trigger.dev schedule so it stops triggering its task.
List the environment variables of a Trigger.dev project environment. Values are returned in plaintext and will appear in workflow outputs and run history — scope this operation carefully.
Create an environment variable in a Trigger.dev project environment.
Retrieve an environment variable from a Trigger.dev project environment. The value is returned in plaintext and will appear in workflow outputs and run history.
Update the value of an environment variable in a Trigger.dev project environment.
Delete an environment variable from a Trigger.dev project environment.
Upload multiple environment variables to a Trigger.dev project environment in one request.
Retrieve a Trigger.dev queue by ID, task identifier, or custom queue name, including its running and queued counts.
List the queues in the environment of the API key, including running and queued counts, with page-based pagination.
Pause a Trigger.dev queue so no new runs start. Runs that are currently executing continue to completion.
Resume a paused Trigger.dev queue so new runs can start again.
Override the concurrency limit of a Trigger.dev queue with a new value.
Reset the concurrency limit of a Trigger.dev queue back to its base value, removing any override.
List Trigger.dev deployments in the environment of the API key, with optional status and creation-time filters.
Retrieve a Trigger.dev deployment by its ID, including its status, version, and registered tasks.
Retrieve the latest Trigger.dev deployment in the environment of the API key.
Promote a Trigger.dev deployment version so new runs execute on it (e.g., to roll back to a previous version).
Execute a TRQL (SQL-like) query against Trigger.dev run data for reporting and analytics.
Retrieve the TRQL query schema: the tables and columns available for Execute Query, with types and allowed values.
Create a Trigger.dev waitpoint token that a task can wait on until it is completed from outside (e.g., a human approval).
Complete a Trigger.dev waitpoint token, resuming any task waiting on it and passing it optional JSON data.
Retrieve a Trigger.dev waitpoint token by its ID, including its status, timeout, and completion data.
List Trigger.dev waitpoint tokens in the environment of the API key, with optional status, tag, and creation-time filters.
List the IANA timezones supported by Trigger.dev schedules, for use as the timezone of a cron schedule.
Sim's Trigger.dev integration adds 44 tools to the AI agents you build in Sim's visual workflow builder. Trigger tasks and manage runs and schedules.