EditableWorkflowDefinition
A trigger and ordered sequence of actions supported by Workflow API authoring.
- DailyScheduleTrigger
- BusinessEventTrigger
- WeekdayScheduleTrigger
- WeeklyScheduleTrigger
- BiweeklyScheduleTrigger
- MonthlyScheduleTrigger
- MonthlyOnDayOfWeekScheduleTrigger
- QuarterlyScheduleTrigger
- AnnualScheduleTrigger
- OneTimeScheduleTrigger
- CustomScheduleTrigger
- CronScheduleTrigger
- ManualTrigger
- SlackTrigger
- InboundEmailTrigger
Array [
- RunAgentAction
- SendEmailAction
- SendSMSAction
- SendPushNotificationAction
- CreateAppNotificationAction
- SendSlackAction
- SendTeamsAction
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
]
Possible values: [editable]
Identifies a definition supported by API authoring.
trigger
object
required
The event or schedule that starts the workflow.
oneOf
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Hour of the scheduled local time, using a 24-hour clock (0 through 23).
Possible values: <= 59
Default value: 0
Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
Possible values: [daily_schedule]
Selects the daily schedule configuration.
Possible values: [business_event]
Selects the business-event trigger configuration.
Exact business-event name from the builder's business-event catalog. The event must have a supported record model; arbitrary event names are rejected.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Hour of the scheduled local time, using a 24-hour clock (0 through 23).
Possible values: <= 59
Default value: 0
Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
Possible values: [weekday_schedule]
Selects the weekday schedule configuration.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Hour of the scheduled local time, using a 24-hour clock (0 through 23).
Possible values: <= 59
Default value: 0
Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
Nonempty, unique weekdays: 0 is Monday through 6 is Sunday.
Possible values: [weekly_schedule]
Selects the weekly schedule configuration.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Hour of the scheduled local time, using a 24-hour clock (0 through 23).
Possible values: <= 59
Default value: 0
Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
Nonempty, unique weekdays: 0 is Monday through 6 is Sunday.
Possible values: [biweekly_schedule]
Selects the every-two-weeks schedule configuration.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Hour of the scheduled local time, using a 24-hour clock (0 through 23).
Possible values: <= 59
Default value: 0
Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
Possible values: [monthly_schedule]
Selects the monthly schedule configuration.
Possible values: >= 1 and <= 31
Calendar day (1 through 31). Months without this day have no matching occurrence.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Hour of the scheduled local time, using a 24-hour clock (0 through 23).
Possible values: <= 59
Default value: 0
Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
Possible values: [monthly_on_day_of_week_schedule]
Selects the monthly weekday-occurrence configuration.
Possible values: <= 6
Weekday: 0 is Monday through 6 is Sunday.
Possible values: >= 1 and <= 4
Occurrence of the selected weekday within the month: 1 is first through 4 is fourth.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Hour of the scheduled local time, using a 24-hour clock (0 through 23).
Possible values: <= 59
Default value: 0
Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
Possible values: >= 1 and <= 12
Calendar month: 1 is January through 12 is December. For quarterly schedules, anchors the three-month recurrence.
Possible values: >= 1 and <= 31
Calendar day (1 through 31). Months without this day have no matching occurrence.
Possible values: [quarterly_schedule]
Selects the quarterly schedule configuration.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Hour of the scheduled local time, using a 24-hour clock (0 through 23).
Possible values: <= 59
Default value: 0
Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
Possible values: >= 1 and <= 12
Calendar month: 1 is January through 12 is December. For quarterly schedules, anchors the three-month recurrence.
Possible values: >= 1 and <= 31
Calendar day (1 through 31). Months without this day have no matching occurrence.
Possible values: [annual_schedule]
Selects the annual schedule configuration.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Hour of the scheduled local time, using a 24-hour clock (0 through 23).
Possible values: <= 59
Default value: 0
Minute of the scheduled local time (0 through 59); defaults to the start of the hour.
Possible values: [one_time_schedule]
Selects a single scheduled occurrence.
Possible values: >= 1 and <= 9999
Calendar year of the occurrence, from 1 through 9999.
Possible values: >= 1 and <= 12
Calendar month: 1 is January through 12 is December.
Possible values: >= 1 and <= 31
Calendar day. The combination of year, month, and day must be a valid date.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: <= 23
Default value: 0
Local hour (0 through 23) for calendar-based occurrences; defaults to midnight.
Possible values: <= 59
Default value: 0
Local minute (0 through 59); defaults to zero.
Possible values: [custom_schedule]
Selects the interval-based schedule configuration.
Possible values: [minutes, hours, days, weeks, months, years]
Unit counted by interval. Calendar-specific fields apply only to the corresponding unit.
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.
Required for weeks: nonempty, unique weekdays, with 0 for Monday through 6 for Sunday. Otherwise omit.
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.
Possible values: >= 1 and <= 12
Required for years: calendar month (1 for January through 12 for December). Otherwise omit.
Possible values: >= 1 and <= 12
Required for months: calendar month anchoring the recurrence (1 for January through 12 for December). Otherwise omit.
IANA timezone, such as America/Los_Angeles. Calendar dates and clock times are interpreted in this timezone.
Possible values: [cron_schedule]
Selects the cron schedule configuration.
Cron schedule expression, for example 0 9 * * MON-FRI for 09:00 Monday through Friday in the configured timezone.
Possible values: [manual]
Selects a manual trigger. No additional trigger configuration or launch inputs are accepted by this API.
Possible values: [slack]
Selects the Slack trigger configuration.
Possible values: [message_posted, reaction_added]
Slack event to match: a posted message or an added reaction.
Possible values: >= 1
Slack channel IDs to watch, obtained from Slack channel details. At least one is required.
Rippling group ID restricting eligible senders. Omit to apply no sender-group restriction.
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.
Slack reaction names to match for reaction_added. An empty list adds no reaction-name restriction; omit for message_posted.
Default value: false
Whether message_posted also matches replies within threads. Defaults to false; not supported for reaction_added.
Possible values: [inbound_email]
Selects the inbound-email trigger configuration.
Inbound recipient address configured in the builder. Use the configured receiving address, not the sender's address.
Case-insensitive text the email subject must contain. Omit to apply no subject condition.
Case-insensitive text the full email content must contain, including quoted content. Omit to apply no body condition.
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.
oneOf
Possible values: [run_agent]
Selects the agent action configuration.
Nonempty step ID, unique within the definition.
Possible values: [REGISTERED_AGENT, RIPPLING_AI]
Default value: REGISTERED_AGENT
Agent to invoke. REGISTERED_AGENT requires agent_id; RIPPLING_AI selects Rippling AI.
Registered agent ID, required for REGISTERED_AGENT. Use an agent configured in Rippling.
Optional Rippling role ID passed to the agent action. Must be a valid object ID when supplied.
Possible values: [NEW_SESSION, EXISTING_SESSION]
Default value: NEW_SESSION
Start a new conversation by default, or continue an existing conversation using session_id.
Existing agent session ID, required for EXISTING_SESSION. Must be a valid object ID.
Nonempty instructions or question to send to the agent.
Possible values: [send_email]
Selects the email action configuration.
Nonempty step ID, unique within the definition.
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.
Rippling group ID selecting recipients. At least this field or one external_emails entry is required.
Explicit recipient email addresses in addition to any selected group members. Defaults to no explicit addresses.
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.
Nonempty email subject.
Nonempty email body.
cc
object
Optional carbon-copy recipients. Omit when no copies are needed.
anyOf
Rippling group ID selecting recipients. At least this field or one external_emails entry is required.
Explicit recipient email addresses in addition to any selected group members. Defaults to no explicit addresses.
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
Rippling group ID selecting recipients. At least this field or one external_emails entry is required.
Explicit recipient email addresses in addition to any selected group members. Defaults to no explicit addresses.
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.
Possible values: [send_sms]
Selects the SMS action configuration.
Nonempty step ID, unique within the definition.
Rippling recipient group ID. The group must belong to the caller's company.
Nonempty text message to deliver.
Possible values: [send_push_notification]
Selects the push-notification action.
Nonempty step ID, unique within the definition.
Rippling recipient group ID. The group must belong to the caller's company.
Nonempty notification heading.
Nonempty notification body.
Possible values: [create_app_notification]
Selects the task-notification action.
Nonempty step ID, unique within the definition.
Rippling recipient group ID. The group must belong to the caller's company.
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
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
string
integer
Nonempty task title.
Nonempty instructions shown with the task.
Possible values: [send_slack]
Selects the Slack message action.
Nonempty step ID, unique within the definition.
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.
Nonempty message body.
Rippling group ID for direct or group_direct recipients. Omit for channel modes.
Slack channel ID from Slack channel details, required for public_channel and private_channel. Omit for direct modes.
Possible values: [send_teams]
Selects the Teams message action.
Nonempty step ID, unique within the definition.
Possible values: [direct, channel]
direct requires only recipient_group_id; channel requires team_id and channel_id instead.
Nonempty message text.
Rippling group ID for direct-message recipients. Omit for channel messages.
Microsoft Teams team ID, required for channel messages. Obtain it from the target team's link; omit for direct messages.
Microsoft Teams channel ID within team_id, required for channel messages. Obtain it from the target channel's link; omit for direct messages.