capabilities.work

Cloud Find Job and Trigger Run

A 2-step recipe with dbt. We can help you get access.

Recipe · 2 steps

Cloud Find Job and Trigger Run

with dbt

Locate a job by listing the account's jobs and trigger a run for the first match.

  1. List the jobs defined in the account. The first job in the response is selected as the run target.
  2. Trigger a run for the selected job. dbt Cloud queues the run and returns the created run resource.
What you'll need to have ready
  • accountId: The dbt Cloud account id to list jobs for.
  • token: The dbt Cloud service token (sent as Authorization Bearer Token).
  • cause: A human-readable reason for triggering the run.
For your developer

Arazzo workflow dbt:find-job-and-run, 2 operations: listJobs → triggerJobRun. Specs on APIs.io.