# Create a workflow

> Create a workflow

POST

/workflows/

Creates a workflow and returns its ID and details.

#### Helpful resources

-   [Get started with workflows](https://developer.rippling.com/documentation/rippling-platform/developer/workflows/get-started)
-   [Create and manage workflows](https://developer.rippling.com/documentation/rest-api/guides/workflows)

### Required Scopes

-   workflows.read-write
    

### Request

-   application/json

**Body**

**name** string required

Display name of the workflow, containing 1 to 150 characters.

**description** string nullable

Optional description, up to 3000 characters.

**status** string

**Default value:** `draft`

Initial publication state: draft saves an unpublished configuration; published makes the version available for execution when enabled.

**Possible values:** \[draft,published\]

**enabled** boolean

**Default value:** `false`

Whether the workflow's trigger is active. Draft workflows cannot be enabled.

**trigger** object required

The event or schedule that starts the workflow. The kind field selects the trigger configuration.

-   Matches exactly one of these formats:
    
    1.  **DailyScheduleTrigger**
        
        Start at a local clock time every day.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer required
        
        Hour of the scheduled local time, using a 24-hour clock (0 through 23).
        
        **minute** integer
        
        **Default value:** `0`
        
        Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
        
        **kind** string required
        
        Selects the daily schedule configuration.
        
        **Possible values:** \[daily\_schedule\]
        
    2.  **BusinessEventTrigger**
        
        Start when a business event selected from the builder's trigger catalog occurs.
        
        **kind** string required
        
        Selects the business-event trigger configuration.
        
        **Possible values:** \[business\_event\]
        
        **event\_name** string required
        
        Exact business-event name from the builder's business-event catalog. The event must have a supported record model; arbitrary event names are rejected.
        
    3.  **WeekdayScheduleTrigger**
        
        Start at a local clock time every Monday through Friday.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer required
        
        Hour of the scheduled local time, using a 24-hour clock (0 through 23).
        
        **minute** integer
        
        **Default value:** `0`
        
        Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
        
        **kind** string required
        
        Selects the weekday schedule configuration.
        
        **Possible values:** \[weekday\_schedule\]
        
    4.  **WeeklyScheduleTrigger**
        
        Start on selected weekdays every week at a local clock time.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer required
        
        Hour of the scheduled local time, using a 24-hour clock (0 through 23).
        
        **minute** integer
        
        **Default value:** `0`
        
        Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
        
        **days\_of\_week** integer\[\] required
        
        Nonempty, unique weekdays: 0 is Monday through 6 is Sunday.
        
        **kind** string required
        
        Selects the weekly schedule configuration.
        
        **Possible values:** \[weekly\_schedule\]
        
    5.  **BiweeklyScheduleTrigger**
        
        Start on selected weekdays every two weeks at a local clock time.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer required
        
        Hour of the scheduled local time, using a 24-hour clock (0 through 23).
        
        **minute** integer
        
        **Default value:** `0`
        
        Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
        
        **days\_of\_week** integer\[\] required
        
        Nonempty, unique weekdays: 0 is Monday through 6 is Sunday.
        
        **kind** string required
        
        Selects the every-two-weeks schedule configuration.
        
        **Possible values:** \[biweekly\_schedule\]
        
    6.  **MonthlyScheduleTrigger**
        
        Start on a calendar day each month at a local clock time.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer required
        
        Hour of the scheduled local time, using a 24-hour clock (0 through 23).
        
        **minute** integer
        
        **Default value:** `0`
        
        Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
        
        **kind** string required
        
        Selects the monthly schedule configuration.
        
        **Possible values:** \[monthly\_schedule\]
        
        **day\_of\_month** integer required
        
        Calendar day (1 through 31). Months without this day have no matching occurrence.
        
    7.  **MonthlyOnDayOfWeekScheduleTrigger**
        
        Start on the first, second, third, or fourth occurrence of a weekday each month.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer required
        
        Hour of the scheduled local time, using a 24-hour clock (0 through 23).
        
        **minute** integer
        
        **Default value:** `0`
        
        Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
        
        **kind** string required
        
        Selects the monthly weekday-occurrence configuration.
        
        **Possible values:** \[monthly\_on\_day\_of\_week\_schedule\]
        
        **day\_of\_week** integer required
        
        Weekday: 0 is Monday through 6 is Sunday.
        
        **week\_of\_month** integer required
        
        Occurrence of the selected weekday within the month: 1 is first through 4 is fourth.
        
    8.  **QuarterlyScheduleTrigger**
        
        Start every three months on the selected calendar day and local time.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer required
        
        Hour of the scheduled local time, using a 24-hour clock (0 through 23).
        
        **minute** integer
        
        **Default value:** `0`
        
        Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
        
        **month\_of\_year** integer required
        
        Calendar month: 1 is January through 12 is December. For quarterly schedules, anchors the three-month recurrence.
        
        **day\_of\_month** integer required
        
        Calendar day (1 through 31). Months without this day have no matching occurrence.
        
        **kind** string required
        
        Selects the quarterly schedule configuration.
        
        **Possible values:** \[quarterly\_schedule\]
        
    9.  **AnnualScheduleTrigger**
        
        Start once a year on the selected calendar month, day, and local time.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer required
        
        Hour of the scheduled local time, using a 24-hour clock (0 through 23).
        
        **minute** integer
        
        **Default value:** `0`
        
        Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
        
        **month\_of\_year** integer required
        
        Calendar month: 1 is January through 12 is December. For quarterly schedules, anchors the three-month recurrence.
        
        **day\_of\_month** integer required
        
        Calendar day (1 through 31). Months without this day have no matching occurrence.
        
        **kind** string required
        
        Selects the annual schedule configuration.
        
        **Possible values:** \[annual\_schedule\]
        
    10.  **OneTimeScheduleTrigger**
        
        Start once on a valid local calendar date and clock time.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer required
        
        Hour of the scheduled local time, using a 24-hour clock (0 through 23).
        
        **minute** integer
        
        **Default value:** `0`
        
        Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
        
        **kind** string required
        
        Selects a single scheduled occurrence.
        
        **Possible values:** \[one\_time\_schedule\]
        
        **year** integer required
        
        Calendar year of the occurrence, from 1 through 9999.
        
        **month\_of\_year** integer required
        
        Calendar month: 1 is January through 12 is December.
        
        **day\_of\_month** integer required
        
        Calendar day. The combination of year, month, and day must be a valid date.
        
    11.  **CustomScheduleTrigger**
        
        Start at a configurable recurrence interval, with calendar fields selected by unit.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **hour** integer
        
        **Default value:** `0`
        
        Local hour (0 through 23) for calendar-based occurrences; defaults to midnight.
        
        **minute** integer
        
        **Default value:** `0`
        
        Local minute (0 through 59); defaults to zero.
        
        **kind** string required
        
        Selects the interval-based schedule configuration.
        
        **Possible values:** \[custom\_schedule\]
        
        **unit** string required
        
        Unit counted by interval. Calendar-specific fields apply only to the corresponding unit.
        
        **Possible values:** \[minutes,hours,days,weeks,months,years\]
        
        **interval** integer required
        
        Number of units between occurrences. Minute intervals must be at least 15 and divisible by 15; all other intervals must be positive.
        
        **days\_of\_week** integer\[\] nullable
        
        Required for weeks: nonempty, unique weekdays, with 0 for Monday through 6 for Sunday. Otherwise omit.
        
        **day\_of\_month** integer nullable
        
        Required for months and years: calendar day (1 through 31). Months without this day have no matching occurrence. Otherwise omit.
        
        **month\_of\_year** integer nullable
        
        Required for years: calendar month (1 for January through 12 for December). Otherwise omit.
        
        **start\_month** integer nullable
        
        Required for months: calendar month anchoring the recurrence (1 for January through 12 for December). Otherwise omit.
        
    12.  **CronScheduleTrigger**
        
        Start at occurrences selected by a cron expression in the configured timezone.
        
        **timezone** string required
        
        IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
        
        **kind** string required
        
        Selects the cron schedule configuration.
        
        **Possible values:** \[cron\_schedule\]
        
        **expression** string required
        
        Cron schedule expression, for example 0 9 \* \* MON-FRI for 09:00 Monday through Friday in the configured timezone.
        
    13.  **ManualTrigger**
        
        Start only when explicitly launched, including through the execution-create endpoint.
        
        **kind** string required
        
        Selects a manual trigger. No additional trigger configuration or launch inputs are accepted by this API.
        
        **Possible values:** \[manual\]
        
    14.  **SlackTrigger**
        
        Start when a matching message or reaction arrives through the company's Slack integration.
        
        **kind** string required
        
        Selects the Slack trigger configuration.
        
        **Possible values:** \[slack\]
        
        **event\_type** string required
        
        Slack event to match: a posted message or an added reaction.
        
        **Possible values:** \[message\_posted,reaction\_added\]
        
        **channel\_ids** string\[\] required
        
        Slack channel IDs to watch, obtained from Slack channel details. At least one is required.
        
        **allowed\_sender\_group\_id** string nullable
        
        Rippling group ID restricting eligible senders. Omit to apply no sender-group restriction.
        
        **message\_text\_regex** string nullable
        
        Case-insensitive regular expression searched within message text for message\_posted, up to 512 characters. Omit for no text restriction; not supported for reaction\_added.
        
        **reaction\_names** string\[\]
        
        Slack reaction names to match for reaction\_added. An empty list adds no reaction-name restriction; omit for message\_posted.
        
        **include\_thread\_replies** boolean
        
        **Default value:** `false`
        
        Whether message\_posted also matches replies within threads. Defaults to false; not supported for reaction\_added.
        
    15.  **InboundEmailTrigger**
        
        Start when an email delivered to the configured inbound address matches its conditions.
        
        **kind** string required
        
        Selects the inbound-email trigger configuration.
        
        **Possible values:** \[inbound\_email\]
        
        **recipient\_email** string required
        
        Inbound recipient address configured in the builder. Use the configured receiving address, not the sender's address.
        
        **subject\_contains** string nullable
        
        Case-insensitive text the email subject must contain. Omit to apply no subject condition.
        
        **body\_contains** string nullable
        
        Case-insensitive text the full email content must contain, including quoted content. Omit to apply no body condition.
        
        **has\_attachment** boolean
        
        **Default value:** `false`
        
        Whether a matching email must include an attachment. False applies no attachment requirement; it does not require the email to have no attachments.
        

**actions** object\[\] required

Actions to execute in order when the workflow is triggered. Each action's kind selects its configuration; action IDs must be unique.

Array \[

-   Matches exactly one of these formats:
    
    1.  **RunAgentAction**
        
        Send a prompt to a registered agent or Rippling AI, in a new or existing session.
        
        **kind** string required
        
        Selects the agent action configuration.
        
        **Possible values:** \[run\_agent\]
        
        **id** string required
        
        Nonempty step ID, unique within the definition.
        
        **agent\_type** string
        
        **Default value:** `REGISTERED_AGENT`
        
        Agent to invoke. REGISTERED\_AGENT requires agent\_id; RIPPLING\_AI selects Rippling AI.
        
        **Possible values:** \[REGISTERED\_AGENT,RIPPLING\_AI\]
        
        **agent\_id** string nullable
        
        Registered agent ID, required for REGISTERED\_AGENT. Use an agent configured in Rippling.
        
        **role\_id** string nullable
        
        Optional Rippling role ID passed to the agent action. Must be a valid object ID when supplied.
        
        **mode** string
        
        **Default value:** `NEW_SESSION`
        
        Start a new conversation by default, or continue an existing conversation using session\_id.
        
        **Possible values:** \[NEW\_SESSION,EXISTING\_SESSION\]
        
        **session\_id** string nullable
        
        Existing agent session ID, required for EXISTING\_SESSION. Must be a valid object ID.
        
        **prompt** string required
        
        Nonempty instructions or question to send to the agent.
        
    2.  **SendEmailAction**
        
        Send separate emails to recipients or one shared email to the selected recipients.
        
        **kind** string required
        
        Selects the email action configuration.
        
        **Possible values:** \[send\_email\]
        
        **id** string required
        
        Nonempty step ID, unique within the definition.
        
        **mode** string required
        
        individual sends separate messages; group sends one message to the selected recipients.
        
        **Possible values:** \[individual,group\]
        
        **to** object required
        
        Primary recipients; must select a group or at least one explicit address.
        
        **recipient\_group\_id** string nullable
        
        Rippling group ID selecting recipients. At least this field or one external\_emails entry is required.
        
        **external\_emails** string\[\]
        
        Explicit recipient email addresses in addition to any selected group members. Defaults to no explicit addresses.
        
        **email\_type** string nullable
        
        Addresses to use for group members: work with personal fallback, work only, personal only, or both. Omit to use the messaging service's default address selection.
        
        **Possible values:** \[work\_or\_personal\_email,work\_email\_only,personal\_email\_only,work\_and\_personal\_email,null\]
        
        **subject** string required
        
        Nonempty email subject.
        
        **body** string required
        
        Nonempty email body.
        
        **cc** object
        
        Optional carbon-copy recipients. Omit when no copies are needed.
        
        -   Matches one or more of these formats:
            
            1.  **Format 1**
                
                **recipient\_group\_id** string nullable
                
                Rippling group ID selecting recipients. At least this field or one external\_emails entry is required.
                
                **external\_emails** string\[\]
                
                Explicit recipient email addresses in addition to any selected group members. Defaults to no explicit addresses.
                
                **email\_type** string nullable
                
                Addresses to use for group members: work with personal fallback, work only, personal only, or both. Omit to use the messaging service's default address selection.
                
                **Possible values:** \[work\_or\_personal\_email,work\_email\_only,personal\_email\_only,work\_and\_personal\_email,null\]
                
            2.  **Format 2**
                
                **value** object nullable
                
                **Possible values:** \[null\]
                
        
        **bcc** object
        
        Optional blind-carbon-copy recipients. Omit when no blind copies are needed.
        
        -   Matches one or more of these formats:
            
            1.  **Format 1**
                
                **recipient\_group\_id** string nullable
                
                Rippling group ID selecting recipients. At least this field or one external\_emails entry is required.
                
                **external\_emails** string\[\]
                
                Explicit recipient email addresses in addition to any selected group members. Defaults to no explicit addresses.
                
                **email\_type** string nullable
                
                Addresses to use for group members: work with personal fallback, work only, personal only, or both. Omit to use the messaging service's default address selection.
                
                **Possible values:** \[work\_or\_personal\_email,work\_email\_only,personal\_email\_only,work\_and\_personal\_email,null\]
                
            2.  **Format 2**
                
                **value** object nullable
                
                **Possible values:** \[null\]
                
        
    3.  **SendSMSAction**
        
        Send a text message to members of a Rippling group.
        
        **kind** string required
        
        Selects the SMS action configuration.
        
        **Possible values:** \[send\_sms\]
        
        **id** string required
        
        Nonempty step ID, unique within the definition.
        
        **recipient\_group\_id** string required
        
        Rippling recipient group ID. The group must belong to the caller's company.
        
        **message** string required
        
        Nonempty text message to deliver.
        
    4.  **SendPushNotificationAction**
        
        Send a push notification to members of a Rippling group.
        
        **kind** string required
        
        Selects the push-notification action.
        
        **Possible values:** \[send\_push\_notification\]
        
        **id** string required
        
        Nonempty step ID, unique within the definition.
        
        **recipient\_group\_id** string required
        
        Rippling recipient group ID. The group must belong to the caller's company.
        
        **header** string required
        
        Nonempty notification heading.
        
        **message** string required
        
        Nonempty notification body.
        
    5.  **CreateAppNotificationAction**
        
        Create individual or shared tasks for members of a Rippling group.
        
        **kind** string required
        
        Selects the task-notification action.
        
        **Possible values:** \[create\_app\_notification\]
        
        **id** string required
        
        Nonempty step ID, unique within the definition.
        
        **recipient\_group\_id** string required
        
        Rippling recipient group ID. The group must belong to the caller's company.
        
        **task\_mode** string
        
        **Default value:** `separate`
        
        separate creates a task per recipient; shared creates one task shared by the recipients.
        
        **Possible values:** \[separate,shared\]
        
        **due\_date** object
        
        Optional absolute or relative due date. Omit to create the task without a due date.
        
        -   Matches one or more of these formats:
            
            1.  **Format 1**
                
                **kind** string required
                
                date selects an explicit date string; relative selects a whole-number offset in days.
                
                **Possible values:** \[date,relative\]
                
                **value** object required
                
                For date, a nonempty date string. For relative, a whole number from 0 through 365 representing days from the task's creation.
                
                -   Matches one or more of these formats:
                    
                    1.  **Format 1**
                        
                        **value** string
                        
                    2.  **Format 2**
                        
                        **value** integer
                        
                
            2.  **Format 2**
                
                **value** object nullable
                
                **Possible values:** \[null\]
                
        
        **subject** string required
        
        Nonempty task title.
        
        **description** string required
        
        Nonempty instructions shown with the task.
        
    6.  **SendSlackAction**
        
        Send a message through the company's connected Slack integration.
        
        **kind** string required
        
        Selects the Slack message action.
        
        **Possible values:** \[send\_slack\]
        
        **id** string required
        
        Nonempty step ID, unique within the definition.
        
        **mode** string required
        
        Send individually to group members, to a shared group conversation, or to a public/private channel. Direct modes require recipient\_group\_id; channel modes require channel\_id.
        
        **Possible values:** \[direct,group\_direct,public\_channel,private\_channel\]
        
        **body** string required
        
        Nonempty message body.
        
        **recipient\_group\_id** string nullable
        
        Rippling group ID for direct or group\_direct recipients. Omit for channel modes.
        
        **channel\_id** string nullable
        
        Slack channel ID from Slack channel details, required for public\_channel and private\_channel. Omit for direct modes.
        
    7.  **SendTeamsAction**
        
        Send a direct or channel message through the company's Microsoft Teams integration.
        
        **kind** string required
        
        Selects the Teams message action.
        
        **Possible values:** \[send\_teams\]
        
        **id** string required
        
        Nonempty step ID, unique within the definition.
        
        **mode** string required
        
        direct requires only recipient\_group\_id; channel requires team\_id and channel\_id instead.
        
        **Possible values:** \[direct,channel\]
        
        **message** string required
        
        Nonempty message text.
        
        **recipient\_group\_id** string nullable
        
        Rippling group ID for direct-message recipients. Omit for channel messages.
        
        **team\_id** string nullable
        
        Microsoft Teams team ID, required for channel messages. Obtain it from the target team's link; omit for direct messages.
        
        **channel\_id** string nullable
        
        Microsoft Teams channel ID within team\_id, required for channel messages. Obtain it from the target channel's link; omit for direct messages.
        

\]

## Responses

-   201
-   400
-   401
-   403
-   409

Workflow created

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**id** string required

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

**version\_id** string required

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

**name** string required

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

**description** string nullable

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

**status** string required

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.

**Possible values:** \[draft,published,unknown\]

**enabled** boolean required

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

**owner\_id** string required

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

**has\_draft** boolean required

Whether a draft version of this workflow exists.

**created\_at** string required

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

**updated\_at** string required

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.

-   Matches exactly one of these formats:
    
    1.  **EditableWorkflowDefinition**
        
        A trigger and ordered sequence of actions supported by Workflow API authoring.
        
        **kind** string required
        
        Identifies a definition supported by API authoring.
        
        **Possible values:** \[editable\]
        
        **trigger** object required
        
        The event or schedule that starts the workflow.
        
        -   Matches exactly one of these formats:
            
            1.  **DailyScheduleTrigger**
                
                Start at a local clock time every day.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer required
                
                Hour of the scheduled local time, using a 24-hour clock (0 through 23).
                
                **minute** integer
                
                **Default value:** `0`
                
                Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
                
                **kind** string required
                
                Selects the daily schedule configuration.
                
                **Possible values:** \[daily\_schedule\]
                
            2.  **BusinessEventTrigger**
                
                Start when a business event selected from the builder's trigger catalog occurs.
                
                **kind** string required
                
                Selects the business-event trigger configuration.
                
                **Possible values:** \[business\_event\]
                
                **event\_name** string required
                
                Exact business-event name from the builder's business-event catalog. The event must have a supported record model; arbitrary event names are rejected.
                
            3.  **WeekdayScheduleTrigger**
                
                Start at a local clock time every Monday through Friday.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer required
                
                Hour of the scheduled local time, using a 24-hour clock (0 through 23).
                
                **minute** integer
                
                **Default value:** `0`
                
                Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
                
                **kind** string required
                
                Selects the weekday schedule configuration.
                
                **Possible values:** \[weekday\_schedule\]
                
            4.  **WeeklyScheduleTrigger**
                
                Start on selected weekdays every week at a local clock time.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer required
                
                Hour of the scheduled local time, using a 24-hour clock (0 through 23).
                
                **minute** integer
                
                **Default value:** `0`
                
                Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
                
                **days\_of\_week** integer\[\] required
                
                Nonempty, unique weekdays: 0 is Monday through 6 is Sunday.
                
                **kind** string required
                
                Selects the weekly schedule configuration.
                
                **Possible values:** \[weekly\_schedule\]
                
            5.  **BiweeklyScheduleTrigger**
                
                Start on selected weekdays every two weeks at a local clock time.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer required
                
                Hour of the scheduled local time, using a 24-hour clock (0 through 23).
                
                **minute** integer
                
                **Default value:** `0`
                
                Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
                
                **days\_of\_week** integer\[\] required
                
                Nonempty, unique weekdays: 0 is Monday through 6 is Sunday.
                
                **kind** string required
                
                Selects the every-two-weeks schedule configuration.
                
                **Possible values:** \[biweekly\_schedule\]
                
            6.  **MonthlyScheduleTrigger**
                
                Start on a calendar day each month at a local clock time.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer required
                
                Hour of the scheduled local time, using a 24-hour clock (0 through 23).
                
                **minute** integer
                
                **Default value:** `0`
                
                Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
                
                **kind** string required
                
                Selects the monthly schedule configuration.
                
                **Possible values:** \[monthly\_schedule\]
                
                **day\_of\_month** integer required
                
                Calendar day (1 through 31). Months without this day have no matching occurrence.
                
            7.  **MonthlyOnDayOfWeekScheduleTrigger**
                
                Start on the first, second, third, or fourth occurrence of a weekday each month.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer required
                
                Hour of the scheduled local time, using a 24-hour clock (0 through 23).
                
                **minute** integer
                
                **Default value:** `0`
                
                Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
                
                **kind** string required
                
                Selects the monthly weekday-occurrence configuration.
                
                **Possible values:** \[monthly\_on\_day\_of\_week\_schedule\]
                
                **day\_of\_week** integer required
                
                Weekday: 0 is Monday through 6 is Sunday.
                
                **week\_of\_month** integer required
                
                Occurrence of the selected weekday within the month: 1 is first through 4 is fourth.
                
            8.  **QuarterlyScheduleTrigger**
                
                Start every three months on the selected calendar day and local time.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer required
                
                Hour of the scheduled local time, using a 24-hour clock (0 through 23).
                
                **minute** integer
                
                **Default value:** `0`
                
                Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
                
                **month\_of\_year** integer required
                
                Calendar month: 1 is January through 12 is December. For quarterly schedules, anchors the three-month recurrence.
                
                **day\_of\_month** integer required
                
                Calendar day (1 through 31). Months without this day have no matching occurrence.
                
                **kind** string required
                
                Selects the quarterly schedule configuration.
                
                **Possible values:** \[quarterly\_schedule\]
                
            9.  **AnnualScheduleTrigger**
                
                Start once a year on the selected calendar month, day, and local time.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer required
                
                Hour of the scheduled local time, using a 24-hour clock (0 through 23).
                
                **minute** integer
                
                **Default value:** `0`
                
                Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
                
                **month\_of\_year** integer required
                
                Calendar month: 1 is January through 12 is December. For quarterly schedules, anchors the three-month recurrence.
                
                **day\_of\_month** integer required
                
                Calendar day (1 through 31). Months without this day have no matching occurrence.
                
                **kind** string required
                
                Selects the annual schedule configuration.
                
                **Possible values:** \[annual\_schedule\]
                
            10.  **OneTimeScheduleTrigger**
                
                Start once on a valid local calendar date and clock time.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer required
                
                Hour of the scheduled local time, using a 24-hour clock (0 through 23).
                
                **minute** integer
                
                **Default value:** `0`
                
                Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
                
                **kind** string required
                
                Selects a single scheduled occurrence.
                
                **Possible values:** \[one\_time\_schedule\]
                
                **year** integer required
                
                Calendar year of the occurrence, from 1 through 9999.
                
                **month\_of\_year** integer required
                
                Calendar month: 1 is January through 12 is December.
                
                **day\_of\_month** integer required
                
                Calendar day. The combination of year, month, and day must be a valid date.
                
            11.  **CustomScheduleTrigger**
                
                Start at a configurable recurrence interval, with calendar fields selected by unit.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **hour** integer
                
                **Default value:** `0`
                
                Local hour (0 through 23) for calendar-based occurrences; defaults to midnight.
                
                **minute** integer
                
                **Default value:** `0`
                
                Local minute (0 through 59); defaults to zero.
                
                **kind** string required
                
                Selects the interval-based schedule configuration.
                
                **Possible values:** \[custom\_schedule\]
                
                **unit** string required
                
                Unit counted by interval. Calendar-specific fields apply only to the corresponding unit.
                
                **Possible values:** \[minutes,hours,days,weeks,months,years\]
                
                **interval** integer required
                
                Number of units between occurrences. Minute intervals must be at least 15 and divisible by 15; all other intervals must be positive.
                
                **days\_of\_week** integer\[\] nullable
                
                Required for weeks: nonempty, unique weekdays, with 0 for Monday through 6 for Sunday. Otherwise omit.
                
                **day\_of\_month** integer nullable
                
                Required for months and years: calendar day (1 through 31). Months without this day have no matching occurrence. Otherwise omit.
                
                **month\_of\_year** integer nullable
                
                Required for years: calendar month (1 for January through 12 for December). Otherwise omit.
                
                **start\_month** integer nullable
                
                Required for months: calendar month anchoring the recurrence (1 for January through 12 for December). Otherwise omit.
                
            12.  **CronScheduleTrigger**
                
                Start at occurrences selected by a cron expression in the configured timezone.
                
                **timezone** string required
                
                IANA timezone, such as America/Los\_Angeles. Calendar dates and clock times are interpreted in this timezone.
                
                **kind** string required
                
                Selects the cron schedule configuration.
                
                **Possible values:** \[cron\_schedule\]
                
                **expression** string required
                
                Cron schedule expression, for example 0 9 \* \* MON-FRI for 09:00 Monday through Friday in the configured timezone.
                
            13.  **ManualTrigger**
                
                Start only when explicitly launched, including through the execution-create endpoint.
                
                **kind** string required
                
                Selects a manual trigger. No additional trigger configuration or launch inputs are accepted by this API.
                
                **Possible values:** \[manual\]
                
            14.  **SlackTrigger**
                
                Start when a matching message or reaction arrives through the company's Slack integration.
                
                **kind** string required
                
                Selects the Slack trigger configuration.
                
                **Possible values:** \[slack\]
                
                **event\_type** string required
                
                Slack event to match: a posted message or an added reaction.
                
                **Possible values:** \[message\_posted,reaction\_added\]
                
                **channel\_ids** string\[\] required
                
                Slack channel IDs to watch, obtained from Slack channel details. At least one is required.
                
                **allowed\_sender\_group\_id** string nullable
                
                Rippling group ID restricting eligible senders. Omit to apply no sender-group restriction.
                
                **message\_text\_regex** string nullable
                
                Case-insensitive regular expression searched within message text for message\_posted, up to 512 characters. Omit for no text restriction; not supported for reaction\_added.
                
                **reaction\_names** string\[\]
                
                Slack reaction names to match for reaction\_added. An empty list adds no reaction-name restriction; omit for message\_posted.
                
                **include\_thread\_replies** boolean
                
                **Default value:** `false`
                
                Whether message\_posted also matches replies within threads. Defaults to false; not supported for reaction\_added.
                
            15.  **InboundEmailTrigger**
                
                Start when an email delivered to the configured inbound address matches its conditions.
                
                **kind** string required
                
                Selects the inbound-email trigger configuration.
                
                **Possible values:** \[inbound\_email\]
                
                **recipient\_email** string required
                
                Inbound recipient address configured in the builder. Use the configured receiving address, not the sender's address.
                
                **subject\_contains** string nullable
                
                Case-insensitive text the email subject must contain. Omit to apply no subject condition.
                
                **body\_contains** string nullable
                
                Case-insensitive text the full email content must contain, including quoted content. Omit to apply no body condition.
                
                **has\_attachment** boolean
                
                **Default value:** `false`
                
                Whether a matching email must include an attachment. False applies no attachment requirement; it does not require the email to have no attachments.
                
        
        **actions** object\[\] required
        
        Actions in execution order. Each action ID must be unique within this workflow.
        
        Array \[
        
        -   Matches exactly one of these formats:
            
            1.  **RunAgentAction**
                
                Send a prompt to a registered agent or Rippling AI, in a new or existing session.
                
                **kind** string required
                
                Selects the agent action configuration.
                
                **Possible values:** \[run\_agent\]
                
                **id** string required
                
                Nonempty step ID, unique within the definition.
                
                **agent\_type** string
                
                **Default value:** `REGISTERED_AGENT`
                
                Agent to invoke. REGISTERED\_AGENT requires agent\_id; RIPPLING\_AI selects Rippling AI.
                
                **Possible values:** \[REGISTERED\_AGENT,RIPPLING\_AI\]
                
                **agent\_id** string nullable
                
                Registered agent ID, required for REGISTERED\_AGENT. Use an agent configured in Rippling.
                
                **role\_id** string nullable
                
                Optional Rippling role ID passed to the agent action. Must be a valid object ID when supplied.
                
                **mode** string
                
                **Default value:** `NEW_SESSION`
                
                Start a new conversation by default, or continue an existing conversation using session\_id.
                
                **Possible values:** \[NEW\_SESSION,EXISTING\_SESSION\]
                
                **session\_id** string nullable
                
                Existing agent session ID, required for EXISTING\_SESSION. Must be a valid object ID.
                
                **prompt** string required
                
                Nonempty instructions or question to send to the agent.
                
            2.  **SendEmailAction**
                
                Send separate emails to recipients or one shared email to the selected recipients.
                
                **kind** string required
                
                Selects the email action configuration.
                
                **Possible values:** \[send\_email\]
                
                **id** string required
                
                Nonempty step ID, unique within the definition.
                
                **mode** string required
                
                individual sends separate messages; group sends one message to the selected recipients.
                
                **Possible values:** \[individual,group\]
                
                **to** object required
                
                Primary recipients; must select a group or at least one explicit address.
                
                **recipient\_group\_id** string nullable
                
                Rippling group ID selecting recipients. At least this field or one external\_emails entry is required.
                
                **external\_emails** string\[\]
                
                Explicit recipient email addresses in addition to any selected group members. Defaults to no explicit addresses.
                
                **email\_type** string nullable
                
                Addresses to use for group members: work with personal fallback, work only, personal only, or both. Omit to use the messaging service's default address selection.
                
                **Possible values:** \[work\_or\_personal\_email,work\_email\_only,personal\_email\_only,work\_and\_personal\_email,null\]
                
                **subject** string required
                
                Nonempty email subject.
                
                **body** string required
                
                Nonempty email body.
                
                **cc** object
                
                Optional carbon-copy recipients. Omit when no copies are needed.
                
                -   Matches one or more of these formats:
                    
                    1.  **Format 1**
                        
                        **recipient\_group\_id** string nullable
                        
                        Rippling group ID selecting recipients. At least this field or one external\_emails entry is required.
                        
                        **external\_emails** string\[\]
                        
                        Explicit recipient email addresses in addition to any selected group members. Defaults to no explicit addresses.
                        
                        **email\_type** string nullable
                        
                        Addresses to use for group members: work with personal fallback, work only, personal only, or both. Omit to use the messaging service's default address selection.
                        
                        **Possible values:** \[work\_or\_personal\_email,work\_email\_only,personal\_email\_only,work\_and\_personal\_email,null\]
                        
                    2.  **Format 2**
                        
                        **value** object nullable
                        
                        **Possible values:** \[null\]
                        
                
                **bcc** object
                
                Optional blind-carbon-copy recipients. Omit when no blind copies are needed.
                
                -   Matches one or more of these formats:
                    
                    1.  **Format 1**
                        
                        **recipient\_group\_id** string nullable
                        
                        Rippling group ID selecting recipients. At least this field or one external\_emails entry is required.
                        
                        **external\_emails** string\[\]
                        
                        Explicit recipient email addresses in addition to any selected group members. Defaults to no explicit addresses.
                        
                        **email\_type** string nullable
                        
                        Addresses to use for group members: work with personal fallback, work only, personal only, or both. Omit to use the messaging service's default address selection.
                        
                        **Possible values:** \[work\_or\_personal\_email,work\_email\_only,personal\_email\_only,work\_and\_personal\_email,null\]
                        
                    2.  **Format 2**
                        
                        **value** object nullable
                        
                        **Possible values:** \[null\]
                        
                
            3.  **SendSMSAction**
                
                Send a text message to members of a Rippling group.
                
                **kind** string required
                
                Selects the SMS action configuration.
                
                **Possible values:** \[send\_sms\]
                
                **id** string required
                
                Nonempty step ID, unique within the definition.
                
                **recipient\_group\_id** string required
                
                Rippling recipient group ID. The group must belong to the caller's company.
                
                **message** string required
                
                Nonempty text message to deliver.
                
            4.  **SendPushNotificationAction**
                
                Send a push notification to members of a Rippling group.
                
                **kind** string required
                
                Selects the push-notification action.
                
                **Possible values:** \[send\_push\_notification\]
                
                **id** string required
                
                Nonempty step ID, unique within the definition.
                
                **recipient\_group\_id** string required
                
                Rippling recipient group ID. The group must belong to the caller's company.
                
                **header** string required
                
                Nonempty notification heading.
                
                **message** string required
                
                Nonempty notification body.
                
            5.  **CreateAppNotificationAction**
                
                Create individual or shared tasks for members of a Rippling group.
                
                **kind** string required
                
                Selects the task-notification action.
                
                **Possible values:** \[create\_app\_notification\]
                
                **id** string required
                
                Nonempty step ID, unique within the definition.
                
                **recipient\_group\_id** string required
                
                Rippling recipient group ID. The group must belong to the caller's company.
                
                **task\_mode** string
                
                **Default value:** `separate`
                
                separate creates a task per recipient; shared creates one task shared by the recipients.
                
                **Possible values:** \[separate,shared\]
                
                **due\_date** object
                
                Optional absolute or relative due date. Omit to create the task without a due date.
                
                -   Matches one or more of these formats:
                    
                    1.  **Format 1**
                        
                        **kind** string required
                        
                        date selects an explicit date string; relative selects a whole-number offset in days.
                        
                        **Possible values:** \[date,relative\]
                        
                        **value** object required
                        
                        For date, a nonempty date string. For relative, a whole number from 0 through 365 representing days from the task's creation.
                        
                        -   Matches one or more of these formats:
                            
                            1.  **Format 1**
                                
                                **value** string
                                
                            2.  **Format 2**
                                
                                **value** integer
                                
                        
                    2.  **Format 2**
                        
                        **value** object nullable
                        
                        **Possible values:** \[null\]
                        
                
                **subject** string required
                
                Nonempty task title.
                
                **description** string required
                
                Nonempty instructions shown with the task.
                
            6.  **SendSlackAction**
                
                Send a message through the company's connected Slack integration.
                
                **kind** string required
                
                Selects the Slack message action.
                
                **Possible values:** \[send\_slack\]
                
                **id** string required
                
                Nonempty step ID, unique within the definition.
                
                **mode** string required
                
                Send individually to group members, to a shared group conversation, or to a public/private channel. Direct modes require recipient\_group\_id; channel modes require channel\_id.
                
                **Possible values:** \[direct,group\_direct,public\_channel,private\_channel\]
                
                **body** string required
                
                Nonempty message body.
                
                **recipient\_group\_id** string nullable
                
                Rippling group ID for direct or group\_direct recipients. Omit for channel modes.
                
                **channel\_id** string nullable
                
                Slack channel ID from Slack channel details, required for public\_channel and private\_channel. Omit for direct modes.
                
            7.  **SendTeamsAction**
                
                Send a direct or channel message through the company's Microsoft Teams integration.
                
                **kind** string required
                
                Selects the Teams message action.
                
                **Possible values:** \[send\_teams\]
                
                **id** string required
                
                Nonempty step ID, unique within the definition.
                
                **mode** string required
                
                direct requires only recipient\_group\_id; channel requires team\_id and channel\_id instead.
                
                **Possible values:** \[direct,channel\]
                
                **message** string required
                
                Nonempty message text.
                
                **recipient\_group\_id** string nullable
                
                Rippling group ID for direct-message recipients. Omit for channel messages.
                
                **team\_id** string nullable
                
                Microsoft Teams team ID, required for channel messages. Obtain it from the target team's link; omit for direct messages.
                
                **channel\_id** string nullable
                
                Microsoft Teams channel ID within team\_id, required for channel messages. Obtain it from the target channel's link; omit for direct messages.
                
        
        \]
        
    2.  **ReadOnlyWorkflowDefinition**
        
        A graph summary for a workflow that cannot be fully represented by API authoring inputs.
        
        **kind** string required
        
        Identifies a read-only definition summary.
        
        **Possible values:** \[read\_only\]
        
        **trigger** object required
        
        Summary of the workflow's trigger.
        
        **kind** string required
        
        Identifies a trigger summary, not an editable configuration.
        
        **Possible values:** \[read\_only\]
        
        **source\_type** string required
        
        Trigger category: business\_event for a business event, record\_change for a record update, scheduled for a schedule, manual for an explicit launch, webhook for an incoming webhook, date\_relative for a record-relative date, integration for an integration event, or unknown when no category can be mapped.
        
        **Possible values:** \[business\_event,record\_change,scheduled,manual,webhook,date\_relative,integration,unknown\]
        
        **summary** string required
        
        Human-readable trigger summary. It is not a configuration to submit on create or update.
        
        **steps** object\[\] required
        
        Graph step summaries. Consult next\_ids for connections and authoring for allowed metadata updates.
        
        Array \[
        
        **kind** string required
        
        Identifies a graph summary that cannot be submitted for authoring.
        
        **Possible values:** \[read\_only\]
        
        **id** string required
        
        Step-local identifier, unique within this definition; referenced by next\_ids.
        
        **source\_type** string required
        
        Step category: action for an operation, fork for parallel branches, loop for iteration, switch for conditional branches, group for a nested group, or unknown when no category can be mapped.
        
        **Possible values:** \[action,fork,loop,switch,group,unknown\]
        
        **name** string required
        
        Display label from the step's alias or summary, with a fallback when neither is available.
        
        **next\_ids** string\[\] required
        
        Connected step IDs: branch or inner-step targets first, then the continuation. Empty targets and duplicates are omitted. This list describes connections, not a sequential execution order.
        
        \]
        

**authoring** object required

Allowed updates for this caller and version. Consult patchable\_fields before updating.

**mode** string required

Authoring support: full allows supported definition changes, metadata\_only allows name and description changes, and read\_only allows no updates.

**Possible values:** \[full,metadata\_only,read\_only\]

**patchable\_fields** string\[\] required

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

**reason\_codes** string\[\] required

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** boolean required

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

```json
{
  "id": "string",
  "version_id": "string",
  "name": "string",
  "description": "string",
  "status": "draft",
  "enabled": false,
  "owner_id": "string",
  "has_draft": false,
  "created_at": "string",
  "updated_at": "string",
  "definition": {
    "kind": "editable",
    "trigger": {
      "timezone": "string",
      "hour": 0,
      "minute": 0,
      "kind": "daily_schedule"
    },
    "actions": [
      {
        "kind": "run_agent",
        "id": "string",
        "agent_type": "REGISTERED_AGENT",
        "agent_id": "string",
        "role_id": "string",
        "mode": "NEW_SESSION",
        "session_id": "string",
        "prompt": "string"
      }
    ]
  },
  "authoring": {
    "mode": "full",
    "patchable_fields": [
      "name"
    ],
    "reason_codes": [
      "unsupported_trigger"
    ]
  },
  "deletable": false
}
```

The workflow request failed.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**code** string required

Operation-specific failure: VALIDATION\_ERROR (400) means invalid inputs; correct field\_errors. INVALID\_CURSOR (400) means the continuation token is invalid or expired; restart listing. WORKFLOW\_NOT\_FOUND (404) means the workflow is missing or inaccessible; verify the ID and access. WORKFLOW\_FORBIDDEN (403) means the operation is forbidden for this caller; use a permitted role or ask an administrator. WORKFLOW\_VERSION\_CONFLICT (409) means the version changed; retrieve the current version and reconcile updates. WORKFLOW\_NOT\_EDITABLE (409) means requested fields cannot be updated; consult authoring.patchable\_fields. WORKFLOW\_STATE\_CONFLICT (409) means the requested operation is incompatible with the current state; retrieve and review the state before resubmitting.

**Possible values:** \[VALIDATION\_ERROR,INVALID\_CURSOR,WORKFLOW\_NOT\_FOUND,WORKFLOW\_FORBIDDEN,WORKFLOW\_VERSION\_CONFLICT,WORKFLOW\_NOT\_EDITABLE,WORKFLOW\_STATE\_CONFLICT\]

**message** string required

Human-readable explanation of the request failure. Use code for programmatic handling.

**field\_errors** object\[\]

Individual field validation failures, or an empty list for errors that are not field-specific.

Array \[

**field** string required

Dot-separated request field path; **root** identifies a validation error spanning multiple fields.

**code** string required

Machine-readable validation code for this field.

**message** string required

Human-readable explanation of the field validation failure.

\]

```json
{
  "code": "VALIDATION_ERROR",
  "message": "string",
  "field_errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

Authentication is required or the supplied credentials are invalid.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

-   Matches one or more of these formats:
    
    1.  **Format 1**
        
        **ok** boolean required
        
        Whether the request succeeded. Always false for an authentication error.
        
        **Possible values:** \[false\]
        
        **error** string required
        
        A human-readable explanation of why authentication failed.
        

```json
{
  "ok": false,
  "error": "Incorrect authentication credentials."
}
```

The workflow request failed.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**code** string required

Operation-specific failure: VALIDATION\_ERROR (400) means invalid inputs; correct field\_errors. INVALID\_CURSOR (400) means the continuation token is invalid or expired; restart listing. WORKFLOW\_NOT\_FOUND (404) means the workflow is missing or inaccessible; verify the ID and access. WORKFLOW\_FORBIDDEN (403) means the operation is forbidden for this caller; use a permitted role or ask an administrator. WORKFLOW\_VERSION\_CONFLICT (409) means the version changed; retrieve the current version and reconcile updates. WORKFLOW\_NOT\_EDITABLE (409) means requested fields cannot be updated; consult authoring.patchable\_fields. WORKFLOW\_STATE\_CONFLICT (409) means the requested operation is incompatible with the current state; retrieve and review the state before resubmitting.

**Possible values:** \[VALIDATION\_ERROR,INVALID\_CURSOR,WORKFLOW\_NOT\_FOUND,WORKFLOW\_FORBIDDEN,WORKFLOW\_VERSION\_CONFLICT,WORKFLOW\_NOT\_EDITABLE,WORKFLOW\_STATE\_CONFLICT\]

**message** string required

Human-readable explanation of the request failure. Use code for programmatic handling.

**field\_errors** object\[\]

Individual field validation failures, or an empty list for errors that are not field-specific.

Array \[

**field** string required

Dot-separated request field path; **root** identifies a validation error spanning multiple fields.

**code** string required

Machine-readable validation code for this field.

**message** string required

Human-readable explanation of the field validation failure.

\]

```json
{
  "code": "VALIDATION_ERROR",
  "message": "string",
  "field_errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

The workflow request failed.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**code** string required

Operation-specific failure: VALIDATION\_ERROR (400) means invalid inputs; correct field\_errors. INVALID\_CURSOR (400) means the continuation token is invalid or expired; restart listing. WORKFLOW\_NOT\_FOUND (404) means the workflow is missing or inaccessible; verify the ID and access. WORKFLOW\_FORBIDDEN (403) means the operation is forbidden for this caller; use a permitted role or ask an administrator. WORKFLOW\_VERSION\_CONFLICT (409) means the version changed; retrieve the current version and reconcile updates. WORKFLOW\_NOT\_EDITABLE (409) means requested fields cannot be updated; consult authoring.patchable\_fields. WORKFLOW\_STATE\_CONFLICT (409) means the requested operation is incompatible with the current state; retrieve and review the state before resubmitting.

**Possible values:** \[VALIDATION\_ERROR,INVALID\_CURSOR,WORKFLOW\_NOT\_FOUND,WORKFLOW\_FORBIDDEN,WORKFLOW\_VERSION\_CONFLICT,WORKFLOW\_NOT\_EDITABLE,WORKFLOW\_STATE\_CONFLICT\]

**message** string required

Human-readable explanation of the request failure. Use code for programmatic handling.

**field\_errors** object\[\]

Individual field validation failures, or an empty list for errors that are not field-specific.

Array \[

**field** string required

Dot-separated request field path; **root** identifies a validation error spanning multiple fields.

**code** string required

Machine-readable validation code for this field.

**message** string required

Human-readable explanation of the field validation failure.

\]

```json
{
  "code": "VALIDATION_ERROR",
  "message": "string",
  "field_errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

Source: https://developer.rippling.com/documentation/rest-api/reference/create-workflows

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
