Skip to main content
func (automationClient) Get(
    ctx context.Context,
    automationID uuid.UUID,
) (*workflows.Automation, error)
Get an automation prototype by ID.

Parameters

automationID
uuid.UUID
required
The ID of the automation.

Returns

An automation object.
automation, err := client.Automations.Get(ctx, automationID)