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

EditableWorkflowDefinition

A trigger and ordered sequence of actions supported by Workflow API authoring.

Use with AI:Rippling AI ChatGPT Claude Cursor

EditableWorkflowDefinition

A trigger and ordered sequence of actions supported by Workflow API authoring.

    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.

  • ]