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

Skip to main content
api

Update a workflow

PATCH
/workflows/{id}/

Use with AI:Rippling AI ChatGPT Claude Cursor

Update a workflow

PATCH
/workflows/{id}/

Updates a workflow by ID.

Helpful resources

Required Scopes

  • workflows.read-write

Request

Path Parameters
    id stringrequired
Body
    version_id stringrequired

    Current version ID returned by GET /workflows/{id}/. A stale ID produces WORKFLOW_VERSION_CONFLICT; retrieve the current resource and reconcile your changes before submitting an update with the new version ID.

    name string

    Replacement display name, containing 1 to 150 characters. Omit to leave unchanged; null is rejected.

    description stringnullable

    Replacement description, up to 3000 characters. Set null to clear it, or omit to leave unchanged.

    status string

    Replacement publication state: draft saves an unpublished configuration; published makes the version available for execution when enabled. Omit to leave unchanged; null is rejected.

    Possible values: [draft,published]
    enabled boolean

    Whether the workflow's trigger should be active. Draft workflows cannot be enabled. Omit to leave unchanged; null is rejected.

    trigger object
    Replacement trigger configuration, if trigger is listed in authoring.patchable_fields. Omit to leave unchanged; null is rejected.
    • Matches exactly one of these formats:

      1. DailyScheduleTrigger

        Start at a local clock time every day.

          timezone stringrequired

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

          hour integerrequired

          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 stringrequired

          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 stringrequired

          Selects the business-event trigger configuration.

          Possible values: [business_event]
          event_name stringrequired

          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 stringrequired

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

          hour integerrequired

          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 stringrequired

          Selects the weekday schedule configuration.

          Possible values: [weekday_schedule]
      4. WeeklyScheduleTrigger

        Start on selected weekdays every week at a local clock time.

          timezone stringrequired

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

          hour integerrequired

          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 stringrequired

          Selects the weekly schedule configuration.

          Possible values: [weekly_schedule]
      5. BiweeklyScheduleTrigger

        Start on selected weekdays every two weeks at a local clock time.

          timezone stringrequired

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

          hour integerrequired

          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 stringrequired

          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 stringrequired

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

          hour integerrequired

          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 stringrequired

          Selects the monthly schedule configuration.

          Possible values: [monthly_schedule]
          day_of_month integerrequired

          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 stringrequired

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

          hour integerrequired

          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 stringrequired

          Selects the monthly weekday-occurrence configuration.

          Possible values: [monthly_on_day_of_week_schedule]
          day_of_week integerrequired

          Weekday: 0 is Monday through 6 is Sunday.

          week_of_month integerrequired

          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 stringrequired

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

          hour integerrequired

          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 integerrequired

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

          day_of_month integerrequired

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

          kind stringrequired

          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 stringrequired

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

          hour integerrequired

          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 integerrequired

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

          day_of_month integerrequired

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

          kind stringrequired

          Selects the annual schedule configuration.

          Possible values: [annual_schedule]
      10. OneTimeScheduleTrigger

        Start once on a valid local calendar date and clock time.

          timezone stringrequired

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

          hour integerrequired

          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 stringrequired

          Selects a single scheduled occurrence.

          Possible values: [one_time_schedule]
          year integerrequired

          Calendar year of the occurrence, from 1 through 9999.

          month_of_year integerrequired

          Calendar month: 1 is January through 12 is December.

          day_of_month integerrequired

          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 stringrequired

          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 stringrequired

          Selects the interval-based schedule configuration.

          Possible values: [custom_schedule]
          unit stringrequired

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

          Possible values: [minutes,hours,days,weeks,months,years]
          interval integerrequired

          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 integernullable

          Required for months and years: calendar day (1 through 31). Months without this day have no matching occurrence. Otherwise omit.

          month_of_year integernullable

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

          start_month integernullable

          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 stringrequired

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

          kind stringrequired

          Selects the cron schedule configuration.

          Possible values: [cron_schedule]
          expression stringrequired

          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 stringrequired

          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 stringrequired

          Selects the Slack trigger configuration.

          Possible values: [slack]
          event_type stringrequired

          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 stringnullable

          Rippling group ID restricting eligible senders. Omit to apply no sender-group restriction.

          message_text_regex stringnullable

          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 stringrequired

          Selects the inbound-email trigger configuration.

          Possible values: [inbound_email]
          recipient_email stringrequired

          Inbound recipient address configured in the builder. Use the configured receiving address, not the sender's address.

          subject_contains stringnullable

          Case-insensitive text the email subject must contain. Omit to apply no subject condition.

          body_contains stringnullable

          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[]
    Replacement ordered actions, if actions is listed in authoring.patchable_fields. Omit to leave unchanged; null is rejected.
      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 stringrequired

          Selects the agent action configuration.

          Possible values: [run_agent]
          id stringrequired

          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 stringnullable

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

          role_id stringnullable

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

          mode string

          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 stringnullable

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

          prompt stringrequired

          Nonempty instructions or question to send to the agent.

      2. SendEmailAction

        Send separate emails to recipients or one shared email to the selected recipients.

          kind stringrequired

          Selects the email action configuration.

          Possible values: [send_email]
          id stringrequired

          Nonempty step ID, unique within the definition.

          mode stringrequired

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

          Possible values: [individual,group]
          to objectrequired
          Primary recipients; must select a group or at least one explicit address.
            recipient_group_id stringnullable

            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 stringnullable

            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 stringrequired

          Nonempty email subject.

          body stringrequired

          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 stringnullable

                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 stringnullable

                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 objectnullable
                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 stringnullable

                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 stringnullable

                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 objectnullable
                Possible values: [null]
      3. SendSMSAction

        Send a text message to members of a Rippling group.

          kind stringrequired

          Selects the SMS action configuration.

          Possible values: [send_sms]
          id stringrequired

          Nonempty step ID, unique within the definition.

          recipient_group_id stringrequired

          Rippling recipient group ID. The group must belong to the caller's company.

          message stringrequired

          Nonempty text message to deliver.

      4. SendPushNotificationAction

        Send a push notification to members of a Rippling group.

          kind stringrequired

          Selects the push-notification action.

          Possible values: [send_push_notification]
          id stringrequired

          Nonempty step ID, unique within the definition.

          recipient_group_id stringrequired

          Rippling recipient group ID. The group must belong to the caller's company.

          header stringrequired

          Nonempty notification heading.

          message stringrequired

          Nonempty notification body.

      5. CreateAppNotificationAction

        Create individual or shared tasks for members of a Rippling group.

          kind stringrequired

          Selects the task-notification action.

          Possible values: [create_app_notification]
          id stringrequired

          Nonempty step ID, unique within the definition.

          recipient_group_id stringrequired

          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 stringrequired

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

                Possible values: [date,relative]
                value objectrequired
                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 objectnullable
                Possible values: [null]
          subject stringrequired

          Nonempty task title.

          description stringrequired

          Nonempty instructions shown with the task.

      6. SendSlackAction

        Send a message through the company's connected Slack integration.

          kind stringrequired

          Selects the Slack message action.

          Possible values: [send_slack]
          id stringrequired

          Nonempty step ID, unique within the definition.

          mode stringrequired

          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 stringrequired

          Nonempty message body.

          recipient_group_id stringnullable

          Rippling group ID for direct or group_direct recipients. Omit for channel modes.

          channel_id stringnullable

          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 stringrequired

          Selects the Teams message action.

          Possible values: [send_teams]
          id stringrequired

          Nonempty step ID, unique within the definition.

          mode stringrequired

          direct requires only recipient_group_id; channel requires team_id and channel_id instead.

          Possible values: [direct,channel]
          message stringrequired

          Nonempty message text.

          recipient_group_id stringnullable

          Rippling group ID for direct-message recipients. Omit for channel messages.

          team_id stringnullable

          Microsoft Teams team ID, required for channel messages. Obtain it from the target team's link; omit for direct messages.

          channel_id stringnullable

          Microsoft Teams channel ID within team_id, required for channel messages. Obtain it from the target channel's link; omit for direct messages.

    • ]

Responses​

Successful response

Schema
    id stringrequired

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

    version_id stringrequired

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

    name stringrequired

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

    description stringnullable

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

    status stringrequired

    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 booleanrequired

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

    owner_id stringrequired

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

    has_draft booleanrequired

    Whether a draft version of this workflow exists.

    created_at stringrequired

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

    updated_at stringrequired

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

    definition objectrequired
    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 stringrequired

          Identifies a definition supported by API authoring.

          Possible values: [editable]
          trigger objectrequired
          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 stringrequired

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

                hour integerrequired

                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 stringrequired

                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 stringrequired

                Selects the business-event trigger configuration.

                Possible values: [business_event]
                event_name stringrequired

                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 stringrequired

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

                hour integerrequired

                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 stringrequired

                Selects the weekday schedule configuration.

                Possible values: [weekday_schedule]
            4. WeeklyScheduleTrigger

              Start on selected weekdays every week at a local clock time.

                timezone stringrequired

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

                hour integerrequired

                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 stringrequired

                Selects the weekly schedule configuration.

                Possible values: [weekly_schedule]
            5. BiweeklyScheduleTrigger

              Start on selected weekdays every two weeks at a local clock time.

                timezone stringrequired

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

                hour integerrequired

                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 stringrequired

                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 stringrequired

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

                hour integerrequired

                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 stringrequired

                Selects the monthly schedule configuration.

                Possible values: [monthly_schedule]
                day_of_month integerrequired

                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 stringrequired

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

                hour integerrequired

                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 stringrequired

                Selects the monthly weekday-occurrence configuration.

                Possible values: [monthly_on_day_of_week_schedule]
                day_of_week integerrequired

                Weekday: 0 is Monday through 6 is Sunday.

                week_of_month integerrequired

                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 stringrequired

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

                hour integerrequired

                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 integerrequired

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

                day_of_month integerrequired

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

                kind stringrequired

                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 stringrequired

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

                hour integerrequired

                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 integerrequired

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

                day_of_month integerrequired

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

                kind stringrequired

                Selects the annual schedule configuration.

                Possible values: [annual_schedule]
            10. OneTimeScheduleTrigger

              Start once on a valid local calendar date and clock time.

                timezone stringrequired

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

                hour integerrequired

                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 stringrequired

                Selects a single scheduled occurrence.

                Possible values: [one_time_schedule]
                year integerrequired

                Calendar year of the occurrence, from 1 through 9999.

                month_of_year integerrequired

                Calendar month: 1 is January through 12 is December.

                day_of_month integerrequired

                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 stringrequired

                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 stringrequired

                Selects the interval-based schedule configuration.

                Possible values: [custom_schedule]
                unit stringrequired

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

                Possible values: [minutes,hours,days,weeks,months,years]
                interval integerrequired

                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 integernullable

                Required for months and years: calendar day (1 through 31). Months without this day have no matching occurrence. Otherwise omit.

                month_of_year integernullable

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

                start_month integernullable

                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 stringrequired

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

                kind stringrequired

                Selects the cron schedule configuration.

                Possible values: [cron_schedule]
                expression stringrequired

                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 stringrequired

                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 stringrequired

                Selects the Slack trigger configuration.

                Possible values: [slack]
                event_type stringrequired

                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 stringnullable

                Rippling group ID restricting eligible senders. Omit to apply no sender-group restriction.

                message_text_regex stringnullable

                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 stringrequired

                Selects the inbound-email trigger configuration.

                Possible values: [inbound_email]
                recipient_email stringrequired

                Inbound recipient address configured in the builder. Use the configured receiving address, not the sender's address.

                subject_contains stringnullable

                Case-insensitive text the email subject must contain. Omit to apply no subject condition.

                body_contains stringnullable

                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 stringrequired

                Selects the agent action configuration.

                Possible values: [run_agent]
                id stringrequired

                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 stringnullable

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

                role_id stringnullable

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

                mode string

                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 stringnullable

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

                prompt stringrequired

                Nonempty instructions or question to send to the agent.

            2. SendEmailAction

              Send separate emails to recipients or one shared email to the selected recipients.

                kind stringrequired

                Selects the email action configuration.

                Possible values: [send_email]
                id stringrequired

                Nonempty step ID, unique within the definition.

                mode stringrequired

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

                Possible values: [individual,group]
                to objectrequired
                Primary recipients; must select a group or at least one explicit address.
                  recipient_group_id stringnullable

                  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 stringnullable

                  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 stringrequired

                Nonempty email subject.

                body stringrequired

                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 stringnullable

                      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 stringnullable

                      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 objectnullable
                      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 stringnullable

                      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 stringnullable

                      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 objectnullable
                      Possible values: [null]
            3. SendSMSAction

              Send a text message to members of a Rippling group.

                kind stringrequired

                Selects the SMS action configuration.

                Possible values: [send_sms]
                id stringrequired

                Nonempty step ID, unique within the definition.

                recipient_group_id stringrequired

                Rippling recipient group ID. The group must belong to the caller's company.

                message stringrequired

                Nonempty text message to deliver.

            4. SendPushNotificationAction

              Send a push notification to members of a Rippling group.

                kind stringrequired

                Selects the push-notification action.

                Possible values: [send_push_notification]
                id stringrequired

                Nonempty step ID, unique within the definition.

                recipient_group_id stringrequired

                Rippling recipient group ID. The group must belong to the caller's company.

                header stringrequired

                Nonempty notification heading.

                message stringrequired

                Nonempty notification body.

            5. CreateAppNotificationAction

              Create individual or shared tasks for members of a Rippling group.

                kind stringrequired

                Selects the task-notification action.

                Possible values: [create_app_notification]
                id stringrequired

                Nonempty step ID, unique within the definition.

                recipient_group_id stringrequired

                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 stringrequired

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

                      Possible values: [date,relative]
                      value objectrequired
                      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 objectnullable
                      Possible values: [null]
                subject stringrequired

                Nonempty task title.

                description stringrequired

                Nonempty instructions shown with the task.

            6. SendSlackAction

              Send a message through the company's connected Slack integration.

                kind stringrequired

                Selects the Slack message action.

                Possible values: [send_slack]
                id stringrequired

                Nonempty step ID, unique within the definition.

                mode stringrequired

                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 stringrequired

                Nonempty message body.

                recipient_group_id stringnullable

                Rippling group ID for direct or group_direct recipients. Omit for channel modes.

                channel_id stringnullable

                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 stringrequired

                Selects the Teams message action.

                Possible values: [send_teams]
                id stringrequired

                Nonempty step ID, unique within the definition.

                mode stringrequired

                direct requires only recipient_group_id; channel requires team_id and channel_id instead.

                Possible values: [direct,channel]
                message stringrequired

                Nonempty message text.

                recipient_group_id stringnullable

                Rippling group ID for direct-message recipients. Omit for channel messages.

                team_id stringnullable

                Microsoft Teams team ID, required for channel messages. Obtain it from the target team's link; omit for direct messages.

                channel_id stringnullable

                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 stringrequired

          Identifies a read-only definition summary.

          Possible values: [read_only]
          trigger objectrequired
          Summary of the workflow's trigger.
            kind stringrequired

            Identifies a trigger summary, not an editable configuration.

            Possible values: [read_only]
            source_type stringrequired

            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 stringrequired

            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 stringrequired

            Identifies a graph summary that cannot be submitted for authoring.

            Possible values: [read_only]
            id stringrequired

            Step-local identifier, unique within this definition; referenced by next_ids.

            source_type stringrequired

            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 stringrequired

            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 objectrequired
    Allowed updates for this caller and version. Consult patchable_fields before updating.
      mode stringrequired

      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 booleanrequired

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

Loading...