Get Workflow

github.get_workflow
ActionBusiness appsconnection required

Calls GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}.

Read one workflow's file path and enabled state.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
GitHub
Secret shape
the GitHub personal access token
Resolved by
config.connection_id, else node.connection_id, else the tenant's sole GitHub connection

Configuration

3 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
owner
Repository owner — the user or organisation login. Supports {{ }}.
stringYes——octocat
repo
Repository name, without the owner prefix. Supports {{ }}.
stringYes——hello-world
workflow_id
Workflow id, or its file name such as ci.yml.
stringYes——ci.yml

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "owner": "octocat",
  "repo": "hello-world",
  "workflow_id": "ci.yml"
}

Output

One shape.

result

The declared fields, plus the rest of the resource as GitHub returned it.

Extra keys beyond the ones listed can appear.

FieldTypeExample
ok
True when GitHub accepted the call.
booleantrue
id
Workflow id.
number—
name
Workflow name from its YAML.
string—
path
Path of the workflow file.
string—
state
active, disabled_manually, disabled_inactivity…
string—
html_url
Link to the workflow.
string—
{
  "html_url": "",
  "id": 0,
  "name": "",
  "ok": true,
  "path": "",
  "state": ""
}

See Get Workflow run in a workflow.

In a technical demo we add the GitHub connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.