Skip to main content
func (workflowClient) Get(
    ctx context.Context,
    slug string,
) (*workflows.Workflow, error)
Get a workflow by slug.

Parameters

slug
string
required
The workflow slug.

Returns

A workflow object.
workflow, err := client.Workflows.Get(ctx, "scene-processing")