Developers
Set your API contextPick a region and space ID once. Every sample fills in your base URL.
Where do I find these?

In Coevera: open your space's API application and choose Show Access. It shows the space ID and the base URL, whose host starts with your region.

From the API: if you know the space ID, the discovery endpoint GET /api/discovery/spaces/{space_id} returns its region and base URLs, without credentials.

Only the region and space ID are kept, in this browser. Never paste a key or password here.

More in the quickstart

GraphQLRepositoriesprocessTemplate

entities.processTemplate

Read process template records with the processTemplate repository, and change them with the process template mutations. Same records as the REST ProcessTemplates entity.

Queries

Fields of entities { processTemplate { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
ProcessTemplateEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[ProcessTemplateEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: ProcessTemplateFilterInput, orderBy: [ProcessTemplateOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[ProcessTemplateEntity!]!
QUERYgetByCriteria(filter: ProcessTemplateFilterInput, orderBy: [ProcessTemplateOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
ProcessTemplateEntityConnection
QUERYgetChangedFieldsSinceRevision(id: UUID!, revision: Int!)
Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking.
[UUID!]!

Mutations

KindMutationDoesReturns
MUTATIONcreateProcessTemplate(input: CreateProcessTemplateInput!, validationLevel: [ValidationLevel!])Create one recordCreateProcessTemplatePayload
MUTATIONupdateProcessTemplate(input: UpdateProcessTemplateInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateProcessTemplatePayload
MUTATIONbulkUpdateProcessTemplate(input: [CreateOrUpdateProcessTemplateInput!]!, deleteInput: [DeleteProcessTemplateInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateProcessTemplatePayload
MUTATIONdeleteProcessTemplate(input: DeleteProcessTemplateInput!)Soft-deleteDeleteProcessTemplatePayload

Types

The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.

ProcessTemplateEntity object 14 fields: isDeleteProtected, id, isDeleted, …

Ready-made Automatizer process offered in the template gallery as a starting point for new processes.

FieldTypeDescription
isDeleteProtectedBoolean!True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only.
idID!Unique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-text description of what the template does.
isRecommendedBooleanTrue when the platform recommends this template (highlighted in the template gallery).
nameString!Name of the entity and its default text representation.
settingsProcessSchemaProcess schema shipped by the template, as a JSON object conforming to the ProcessSchema type (trigger, nodes, settings). Validated on write. Full structure: /reference/graphql/types/p/#ProcessSchema
documents[CloudObjectRelationEntity!]Files attached to the template (e.g. reference documents, screenshots).
triggerTypeProcessTriggerTypeEnumKind of trigger pre-configured in the template, such as a record event (ProcessRecordTrigger) or a schedule (ProcessScheduleTrigger). Applied to any process created from this template.
triggerEntityNameEntityNameEnumFor record-based triggers in the template, the entity whose records would fire a spawned process (e.g. "Lead"). Empty for non-record triggers.
actionTypes[ProcessActionTypeIconEnum!]Action-type icons present in the template schema, used for filtering templates by capability (e.g. SendEmail, CreateRecord, Webhook).
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
ProcessTemplateEntityConnection object pageInfo: PageInfo!, edges: [ProcessTemplateEntityEdge]!, totalCount: Int

Paginated list of ProcessTemplate records.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[ProcessTemplateEntityEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.
ProcessTemplateEntityEdge object node: ProcessTemplateEntity, cursor: String!

A Relay edge containing a ProcessTemplateEntity and its cursor.

FieldTypeDescription
nodeProcessTemplateEntityThe item at the end of the edge
cursorString!A cursor for use in pagination
ProcessTemplateFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field

Filter conditions for ProcessTemplate records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

Input fieldTypeDescription
OR[ProcessTemplateFilterInput!]Matches records that meet at least one of the listed filters.
AND[ProcessTemplateFilterInput!]Matches records that meet all of the listed filters.
NOTProcessTemplateFilterInputMatches records that do not meet this filter.
globalSearchQueryStringSearch term matched against the fields that the global search covers for this entity.
idEntityFilterStringFieldUnique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedEntityFilterDateTimeFieldLast modification time.
createdEntityFilterDateTimeFieldCreation time.
descriptionEntityFilterStringFieldFree-text description of what the template does.
isRecommendedBooleanTrue when the platform recommends this template (highlighted in the template gallery).
nameEntityFilterStringFieldName of the entity and its default text representation.
triggerTypeProcessTriggerTypeEnumKind of trigger pre-configured in the template, such as a record event (ProcessRecordTrigger) or a schedule (ProcessScheduleTrigger). Applied to any process created from this template.
triggerEntityNameEntityNameEnumFor record-based triggers in the template, the entity whose records would fire a spawned process (e.g. "Lead"). Empty for non-record triggers.
documentsCloudObjectRelationFilterInputFiles attached to the template (e.g. reference documents, screenshots). Matches records where a related record meets these conditions.
ProcessTemplateOrderByInput input Asc or Desc per field

Sorting of ProcessTemplate records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

Input fieldTypeDescription
idOrderByEnumUnique identifier of entity.
isDeletedOrderByEnumSpecifies if the entity is considered deleted.
modifiedOrderByEnumLast modification time.
createdOrderByEnumCreation time.
descriptionOrderByEnumFree-text description of what the template does.
isRecommendedOrderByEnumTrue when the platform recommends this template (highlighted in the template gallery).
nameOrderByEnumName of the entity and its default text representation.
triggerTypeOrderByEnumKind of trigger pre-configured in the template, such as a record event (ProcessRecordTrigger) or a schedule (ProcessScheduleTrigger). Applied to any process created from this template.
triggerEntityNameOrderByEnumFor record-based triggers in the template, the entity whose records would fire a spawned process (e.g. "Lead"). Empty for non-record triggers.
CreateOrUpdateProcessTemplateInput input 9 fields: clientMutationId, id, modified, …

Field values of a ProcessTemplate record to create, or to update when its id is set.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idIDUnique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-text description of what the template does.
isRecommendedBooleanTrue when the platform recommends this template (highlighted in the template gallery).
nameStringName of the entity and its default text representation.
settingsProcessSchemaJSONStringProcess schema shipped by the template, as a JSON object conforming to the ProcessSchema type (trigger, nodes, settings). Validated on write. Full structure: /reference/graphql/types/p/#ProcessSchema
documents[CreateCloudObjectRelationNoBackrefInput!]Files attached to the template (e.g. reference documents, screenshots).
CreateProcessTemplateInput input 8 fields: clientMutationId, modified, created, …

Field values of a new ProcessTemplate record.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-text description of what the template does.
isRecommendedBooleanTrue when the platform recommends this template (highlighted in the template gallery).
nameString!Name of the entity and its default text representation.
settingsProcessSchemaJSONString!Process schema shipped by the template, as a JSON object conforming to the ProcessSchema type (trigger, nodes, settings). Validated on write. Full structure: /reference/graphql/types/p/#ProcessSchema
documents[CreateCloudObjectRelationNoBackrefInput!]Files attached to the template (e.g. reference documents, screenshots).
DeleteProcessTemplateInput input clientMutationId: String, id: ID!

Id of the ProcessTemplate record to delete.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
UpdateProcessTemplateInput input 9 fields: clientMutationId, id, modified, …

Id of a ProcessTemplate record and the field values to change.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-text description of what the template does.
isRecommendedBooleanTrue when the platform recommends this template (highlighted in the template gallery).
nameStringName of the entity and its default text representation.
settingsProcessSchemaJSONStringProcess schema shipped by the template, as a JSON object conforming to the ProcessSchema type (trigger, nodes, settings). Validated on write. Full structure: /reference/graphql/types/p/#ProcessSchema
documents[CreateCloudObjectRelationNoBackrefInput!]Files attached to the template (e.g. reference documents, screenshots).
BulkUpdateProcessTemplatePayload object result: BulkUpdateResults!

Result of the bulkUpdateProcessTemplate mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateProcessTemplatePayload object processTemplate: ProcessTemplateEntity, clientMutationId: String

Result of the createProcessTemplate mutation.

FieldTypeDescription
processTemplateProcessTemplateEntityThe created record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
DeleteProcessTemplatePayload object processTemplate: ProcessTemplateEntity, clientMutationId: String

Result of the deleteProcessTemplate mutation.

FieldTypeDescription
processTemplateProcessTemplateEntityThe deleted record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
UpdateProcessTemplatePayload object processTemplate: ProcessTemplateEntity, clientMutationId: String

Result of the updateProcessTemplate mutation.

FieldTypeDescription
processTemplateProcessTemplateEntityThe updated record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
ProcessActionTypeIconEnum enum CreateRecord, UpdateRecord, ArchiveRecord, SendWebhook, SendEmail, ManualTrigger, ScheduledTrigger, RecordChangedTrigger

Kind of trigger or action in a process template, used to show and filter templates by what they do.

ValueDescription
CreateRecordThe template creates records.
UpdateRecordThe template updates records.
ArchiveRecordThe template archives records.
SendWebhookThe template sends webhooks.
SendEmailThe template sends emails.
ManualTriggerThe template is started manually.
ScheduledTriggerThe template runs on a schedule.
RecordChangedTriggerThe template runs when a record changes.