Routine
No description
type Routine implements ActiveRecordModel {
cadence: String
color: String
connectorSlugs: [String!]!
createdAt: ISO8601DateTime
deliveryChannels: [String!]!
icon: String
id: ID
lastRunAt: ISO8601DateTime
name: String!
nextRunAt: ISO8601DateTime
prompt: String
runsFor: String!
scheduleDayOfMonth: Int
scheduleDayOfWeek: Int
scheduleDaysOfWeek: [Int!]
scheduleEnabled: Boolean!
scheduleIntervalMinutes: Int
scheduleTimeOfDay: String
status: String!
templateKey: String
triggerConfig: JSON
triggerEvent: String
updatedAt: ISO8601DateTime
webAccess: Boolean
}
Fields
Routine.cadence ● String scalar
Routine.color ● String scalar
Routine.connectorSlugs ● [String!]! non-null scalar
External MCP connectors (e.g. notion, linear) this routine may use.
Routine.createdAt ● ISO8601DateTime scalar
Routine.deliveryChannels ● [String!]! non-null scalar
Routine.icon ● String scalar
Routine.id ● ID scalar
Routine.lastRunAt ● ISO8601DateTime scalar
Routine.name ● String! non-null scalar
Routine.nextRunAt ● ISO8601DateTime scalar
Routine.prompt ● String scalar
Routine.runsFor ● String! non-null scalar
personal, team, or org
Routine.scheduleDayOfMonth ● Int scalar
Routine.scheduleDayOfWeek ● Int scalar
Routine.scheduleDaysOfWeek ● [Int!] list scalar
Routine.scheduleEnabled ● Boolean! non-null scalar
Routine.scheduleIntervalMinutes ● Int scalar
Routine.scheduleTimeOfDay ● String scalar
Routine.status ● String! non-null scalar
Routine.templateKey ● String scalar
Routine.triggerConfig ● JSON scalar
Settings for the trigger event, e.g. a time_spent threshold.
Routine.triggerEvent ● String scalar
Event that fires the routine instead of the schedule (transcript_finalized, meeting_ended, day_ended, time_spent, untagged_time, budget_threshold).
Routine.updatedAt ● ISO8601DateTime scalar
Routine.webAccess ● Boolean scalar
Public web search on runs: null follows the workspace setting, false is off.
Interfaces
ActiveRecordModel interface
Returned By
routines query
Member Of
CreateRoutinePayload object ● RoutineRun object ● UpdateRoutinePayload object