# WorkflowResource

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

# WorkflowResource

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

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

**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** 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** date-time required

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

**updated\_at** date-time 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.

oneOf

-   EditableWorkflowDefinition
-   ReadOnlyWorkflowDefinition

**kind** string required

**Possible values:** \[`editable`\]

Identifies a definition supported by API authoring.

**

trigger

**

object

**

required

**

The event or schedule that starts the workflow.

oneOf

-   DailyScheduleTrigger
-   BusinessEventTrigger
-   WeekdayScheduleTrigger
-   WeeklyScheduleTrigger
-   BiweeklyScheduleTrigger
-   MonthlyScheduleTrigger
-   MonthlyOnDayOfWeekScheduleTrigger
-   QuarterlyScheduleTrigger
-   AnnualScheduleTrigger
-   OneTimeScheduleTrigger
-   CustomScheduleTrigger
-   CronScheduleTrigger
-   ManualTrigger
-   SlackTrigger
-   InboundEmailTrigger

**timezone** string required

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

**hour** integer required

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

**Possible values:** \[`daily_schedule`\]

Selects the daily schedule configuration.

**kind** string required

**Possible values:** \[`business_event`\]

Selects the business-event trigger configuration.

**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.

**timezone** string required

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

**hour** integer required

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

**Possible values:** \[`weekday_schedule`\]

Selects the weekday schedule configuration.

**timezone** string required

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

**hour** integer required

**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.

**days\_of\_week** integer\[\] required

Nonempty, unique weekdays: 0 is Monday through 6 is Sunday.

**kind** string required

**Possible values:** \[`weekly_schedule`\]

Selects the weekly schedule configuration.

**timezone** string required

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

**hour** integer required

**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.

**days\_of\_week** integer\[\] required

Nonempty, unique weekdays: 0 is Monday through 6 is Sunday.

**kind** string required

**Possible values:** \[`biweekly_schedule`\]

Selects the every-two-weeks schedule configuration.

**timezone** string required

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

**hour** integer required

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

**Possible values:** \[`monthly_schedule`\]

Selects the monthly schedule configuration.

**day\_of\_month** integer required

**Possible values:** `>= 1` and `<= 31`

Calendar day (1 through 31). Months without this day have no matching occurrence.

**timezone** string required

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

**hour** integer required

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

**Possible values:** \[`monthly_on_day_of_week_schedule`\]

Selects the monthly weekday-occurrence configuration.

**day\_of\_week** integer required

**Possible values:** `<= 6`

Weekday: 0 is Monday through 6 is Sunday.

**week\_of\_month** integer required

**Possible values:** `>= 1` and `<= 4`

Occurrence of the selected weekday within the month: 1 is first through 4 is fourth.

**timezone** string required

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

**hour** integer required

**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.

**month\_of\_year** integer required

**Possible values:** `>= 1` and `<= 12`

Calendar month: 1 is January through 12 is December. For quarterly schedules, anchors the three-month recurrence.

**day\_of\_month** integer required

**Possible values:** `>= 1` and `<= 31`

Calendar day (1 through 31). Months without this day have no matching occurrence.

**kind** string required

**Possible values:** \[`quarterly_schedule`\]

Selects the quarterly schedule configuration.

**timezone** string required

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

**hour** integer required

**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.

**month\_of\_year** integer required

**Possible values:** `>= 1` and `<= 12`

Calendar month: 1 is January through 12 is December. For quarterly schedules, anchors the three-month recurrence.

**day\_of\_month** integer required

**Possible values:** `>= 1` and `<= 31`

Calendar day (1 through 31). Months without this day have no matching occurrence.

**kind** string required

**Possible values:** \[`annual_schedule`\]

Selects the annual schedule configuration.

**timezone** string required

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

**hour** integer required

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

**Possible values:** \[`one_time_schedule`\]

Selects a single scheduled occurrence.

**year** integer required

**Possible values:** `>= 1` and `<= 9999`

Calendar year of the occurrence, from 1 through 9999.

**month\_of\_year** integer required

**Possible values:** `>= 1` and `<= 12`

Calendar month: 1 is January through 12 is December.

**day\_of\_month** integer required

**Possible values:** `>= 1` and `<= 31`

Calendar day. The combination of year, month, and day must be a valid date.

**timezone** string required

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

**hour** integer

**Possible values:** `<= 23`

**Default value:** `0`

Local hour (0 through 23) for calendar-based occurrences; defaults to midnight.

**minute** integer

**Possible values:** `<= 59`

**Default value:** `0`

Local minute (0 through 59); defaults to zero.

**kind** string required

**Possible values:** \[`custom_schedule`\]

Selects the interval-based schedule configuration.

**unit** string required

**Possible values:** \[`minutes`, `hours`, `days`, `weeks`, `months`, `years`\]

Unit counted by interval. Calendar-specific fields apply only to the corresponding unit.

**interval** integer required

**Possible values:** `>= 1`

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

**Possible values:** `>= 1` and `<= 31`

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

**Possible values:** `>= 1` and `<= 12`

Required for years: calendar month (1 for January through 12 for December). Otherwise omit.

**start\_month** integer nullable

**Possible values:** `>= 1` and `<= 12`

Required for months: calendar month anchoring the recurrence (1 for January through 12 for December). Otherwise omit.

**timezone** string required

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

**kind** string required

**Possible values:** \[`cron_schedule`\]

Selects the cron schedule configuration.

**expression** string required

Cron schedule expression, for example 0 9 \* \* MON-FRI for 09:00 Monday through Friday in the configured timezone.

**kind** string required

**Possible values:** \[`manual`\]

Selects a manual trigger. No additional trigger configuration or launch inputs are accepted by this API.

**kind** string required

**Possible values:** \[`slack`\]

Selects the Slack trigger configuration.

**event\_type** string required

**Possible values:** \[`message_posted`, `reaction_added`\]

Slack event to match: a posted message or an added reaction.

**channel\_ids** string\[\] required

**Possible values:** `>= 1`

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

**Possible values:** `<= 512 characters`

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.

**kind** string required

**Possible values:** \[`inbound_email`\]

Selects the inbound-email trigger configuration.

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

**Possible values:** `>= 1`, `<= 160`

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

-   Array \[
    

oneOf

-   RunAgentAction
-   SendEmailAction
-   SendSMSAction
-   SendPushNotificationAction
-   CreateAppNotificationAction
-   SendSlackAction
-   SendTeamsAction

**kind** string required

**Possible values:** \[`run_agent`\]

Selects the agent action configuration.

**id** string required

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

**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** 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.

**kind** string required

**Possible values:** \[`send_email`\]

Selects the email action configuration.

**id** string required

Nonempty step ID, unique within the definition.

**mode** string required

**Possible values:** \[`individual`, `group`\]

individual sends separate messages; group sends one message to the selected recipients.

**to** object

Email recipients selected by a Rippling group, explicit addresses, or both.

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

**Possible values:** \[`work_or_personal_email`, `work_email_only`, `personal_email_only`, `work_and_personal_email`, `null`\]

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.

**subject** string required

Nonempty email subject.

**body** string required

Nonempty email body.

**

cc

**

object

Optional carbon-copy recipients. Omit when no copies are needed.

anyOf

-   MOD1

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

**Possible values:** \[`work_or_personal_email`, `work_email_only`, `personal_email_only`, `work_and_personal_email`, `null`\]

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.

**

bcc

**

object

Optional blind-carbon-copy recipients. Omit when no blind copies are needed.

anyOf

-   MOD1

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

**Possible values:** \[`work_or_personal_email`, `work_email_only`, `personal_email_only`, `work_and_personal_email`, `null`\]

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.

**kind** string required

**Possible values:** \[`send_sms`\]

Selects the SMS action configuration.

**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.

**kind** string required

**Possible values:** \[`send_push_notification`\]

Selects the push-notification action.

**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.

**kind** string required

**Possible values:** \[`create_app_notification`\]

Selects the task-notification action.

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

**Possible values:** \[`separate`, `shared`\]

**Default value:** `separate`

separate creates a task per recipient; shared creates one task shared by the recipients.

**

due\_date

**

object

Optional absolute or relative due date. Omit to create the task without a due date.

anyOf

-   MOD1

**kind** string required

**Possible values:** \[`date`, `relative`\]

date selects an explicit date string; relative selects a whole-number offset in days.

**

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.

anyOf

-   MOD1
-   MOD2

string

integer

**subject** string required

Nonempty task title.

**description** string required

Nonempty instructions shown with the task.

**kind** string required

**Possible values:** \[`send_slack`\]

Selects the Slack message action.

**id** string required

Nonempty step ID, unique within the definition.

**mode** string required

**Possible values:** \[`direct`, `group_direct`, `public_channel`, `private_channel`\]

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.

**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.

**kind** string required

**Possible values:** \[`send_teams`\]

Selects the Teams message action.

**id** string required

Nonempty step ID, unique within the definition.

**mode** string required

**Possible values:** \[`direct`, `channel`\]

direct requires only recipient\_group\_id; channel requires team\_id and channel\_id instead.

**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.

-   \]
    

**kind** string required

**Possible values:** \[`read_only`\]

Identifies a read-only definition summary.

**trigger** object

A summary of a trigger whose complete definition cannot be authored through this API.

**kind** string required

**Possible values:** \[`read_only`\]

Identifies a trigger summary, not an editable configuration.

**source\_type** string required

**Possible values:** \[`business_event`, `record_change`, `scheduled`, `manual`, `webhook`, `date_relative`, `integration`, `unknown`\]

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.

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

**Possible values:** \[`read_only`\]

Identifies a graph summary that cannot be submitted for authoring.

**id** string required

Step-local identifier, unique within this definition; referenced by next\_ids.

**source\_type** string required

**Possible values:** \[`action`, `fork`, `loop`, `switch`, `group`, `unknown`\]

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.

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

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

**mode** string required

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

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

Source: https://developer.rippling.com/documentation/rest-api/reference/schemas/workflowresource

> 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.
