For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

WorkflowResource

A workflow version, its definition, and the calling role's update and deletion capabilities.

Use with AI:Rippling AI ChatGPT Claude Cursor

WorkflowResource

A workflow version, its definition, and the calling role's update and deletion capabilities.

    id stringrequired

    Stable workflow definition ID. Use this ID in /workflows/{id}/ and its nested execution routes.

    version_id stringrequired

    ID of the represented version. Pass the current version ID when updating this workflow.

    name stringrequired

    Name used to identify the workflow in the builder and API results. API-authored names contain 1 to 150 characters.

    description stringnullable

    Human-readable description of the workflow, or null when none is set.

    status stringrequired

    Possible values: [draft, published, unknown]

    Publication state of this version: draft is an unpublished configuration; published is available for execution when its trigger is enabled. unknown means the state could not be mapped; retrieve again and contact support if it persists.

    enabled booleanrequired

    Whether the workflow's trigger is active. A published workflow may still be disabled.

    owner_id stringrequired

    Rippling role ID of the workflow's owner, set to the calling role on creation. Ownership cannot be changed through this API.

    has_draft booleanrequired

    Whether a draft version of this workflow exists.

    created_at date-timerequired

    When the workflow was created, in UTC (ISO 8601).

    updated_at date-timerequired

    When the workflow was last updated, in UTC (ISO 8601). List results are ordered newest first.

    definition

    object

    required

    Editable trigger/actions or a read-only graph summary, selected by kind.

    oneOf

    kind stringrequired

    Possible values: [editable]

    Identifies a definition supported by API authoring.

    trigger

    object

    required

    The event or schedule that starts the workflow.

    oneOf

    timezone stringrequired

    IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.

    hour integerrequired

    Possible values: <= 23

    Hour of the scheduled local time, using a 24-hour clock (0 through 23).

    minute integer

    Possible values: <= 59

    Default value: 0

    Minute of the scheduled local time (0 through 59); defaults to the start of the hour.

    kind stringrequired

    Possible values: [daily_schedule]

    Selects the daily schedule configuration.

    actions

    object[]

    required

    Possible values: >= 1, <= 160

    Actions in execution order. Each action ID must be unique within this workflow.

  • Array [

  • oneOf

    kind stringrequired

    Possible values: [run_agent]

    Selects the agent action configuration.

    id stringrequired

    Nonempty step ID, unique within the definition.

    agent_type string

    Possible values: [REGISTERED_AGENT, RIPPLING_AI]

    Default value: REGISTERED_AGENT

    Agent to invoke. REGISTERED_AGENT requires agent_id; RIPPLING_AI selects Rippling AI.

    agent_id stringnullable

    Registered agent ID, required for REGISTERED_AGENT. Use an agent configured in Rippling.

    role_id stringnullable

    Optional Rippling role ID passed to the agent action. Must be a valid object ID when supplied.

    mode string

    Possible values: [NEW_SESSION, EXISTING_SESSION]

    Default value: NEW_SESSION

    Start a new conversation by default, or continue an existing conversation using session_id.

    session_id stringnullable

    Existing agent session ID, required for EXISTING_SESSION. Must be a valid object ID.

    prompt stringrequired

    Nonempty instructions or question to send to the agent.

  • ]

  • authoring

    object

    The fields this caller can update on the represented workflow version.

    mode stringrequired

    Possible values: [full, metadata_only, read_only]

    Authoring support: full allows supported definition changes, metadata_only allows name and description changes, and read_only allows no updates.

    patchable_fields string[]required

    Possible values: [name, description, status, enabled, trigger, actions]

    Fields the caller may change with PATCH /workflows/{id}/. Other fields must be omitted.

    reason_codes string[]required

    Possible values: [unsupported_trigger, unsupported_graph, insufficient_permission, missing_current_version]

    Restrictions: unsupported_trigger means the trigger cannot be authored here; unsupported_graph means the graph contains unsupported actions or structure. Use the workflow builder for those definitions. insufficient_permission means this role lacks permission to edit the definition; use only patchable_fields or ask an administrator. missing_current_version means no current version was available; retrieve the workflow again before updating.

    deletable booleanrequired

    Whether this caller may delete the workflow in its current state.