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

GraphQLRepositoriesemailTemplate

entities.emailTemplate

Read email template records with the emailTemplate repository, and change them with the email template mutations. Same records as the REST EmailTemplates entity.

Queries

Fields of entities { emailTemplate { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
EmailTemplateEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[EmailTemplateEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: EmailTemplateFilterInput, orderBy: [EmailTemplateOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[EmailTemplateEntity!]!
QUERYgetByCriteria(filter: EmailTemplateFilterInput, orderBy: [EmailTemplateOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
EmailTemplateEntityConnection
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!]!
QUERYpreviewPersonifiedRecordsById(entityId: ID!, personificationEntityData: [PersonificationEntityDataParams!]!)
Assigns properties of a living entity to a non-living template from its id.
EmailTemplatePersonificationResult!
QUERYpreviewPersonifiedRecords(entity: CreateEmailTemplateInput!, personificationEntityData: [PersonificationEntityDataParams!]!)
Assigns properties of a living entity to a non-living template from input object.
EmailTemplatePersonificationResult!
QUERYgetAffectedProcesses(entityId: UUID!, operation: AffectedProcessesOperationType!, sharing: AffectedProcessesSharing)
Returns the processes that send the given email template, so the caller can see which processes a change to the template affects.
[AffectedProcessesProcessOutput!]!
QUERYgetAffectedEmailSequences(entityId: UUID!, operation: AffectedProcessesOperationType!, sharing: AffectedProcessesSharing)
Returns the email sequences that send the given email template, so the caller can see which sequences a change to the template affects.
[AffectedProcessesProcessOutput!]!
QUERYgetStatusInProcess(entityId: UUID!, processId: UUID)
Returns an email template's content and attachments, with a status telling whether a process can still use it.
StatusInProcessOutput!
QUERYgetStatusInEmailSequence(entityId: UUID!, emailSequenceId: UUID)
Returns an email template's content and attachments, with a status telling whether an email sequence can still use it.
StatusInProcessOutput!
QUERYconvertWysiwygTemplateToHtml(body: String!)
Converts an email template body built in the visual (WYSIWYG) editor from MJML markup into HTML ready to be sent.
String!

Mutations

KindMutationDoesReturns
MUTATIONpersonalizeBodyEmailTemplate(input: PersonalizeBodyEmailTemplateInput!)Returns the template body as HTML with its merge fields filled from the given record. The template is not changed; merge fields without a value show the field name. GraphQL onlyPersonalizeBodyEmailTemplatePayload
MUTATIONcreateEmailTemplate(input: CreateEmailTemplateInput!, validationLevel: [ValidationLevel!])Create one recordCreateEmailTemplatePayload
MUTATIONupdateEmailTemplate(input: UpdateEmailTemplateInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateEmailTemplatePayload
MUTATIONbulkUpdateEmailTemplate(input: [CreateOrUpdateEmailTemplateInput!]!, deleteInput: [DeleteEmailTemplateInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateEmailTemplatePayload
MUTATIONdeleteEmailTemplate(input: DeleteEmailTemplateInput!)Soft-deleteDeleteEmailTemplatePayload

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.

EmailTemplateEntity object 24 fields: isDeleteProtected, id, isDeleted, …

Reusable email whose body can contain placeholders filled with record values; templates are organized in folders and can be shared.

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.
emailTemplateFolderEmailTemplateFolderEntityFolder in the template hierarchy that the template belongs to. Empty for templates at the root level.
ownerClientEntityUser who owns the template.
bodyStringHTML body of the template. May use merge-field placeholders that are filled with record values when the template is composed.
emailTemplateFolderIdIDId of the folder the template belongs to. Empty for templates at the root level.
nameString!Name of the entity and its default text representation.
ownerIdID!Id of the template owner.
recentColors[Int!]Colors recently used in the editor of the template body, as integer color values.
shareModeShareModeEnumSharing model for the template (e.g. shared with selected sales units, selected users, or open for editing by all).
sharingUrlIsEnabledBooleanWhen true, the template's public sharing URL is active and accessible. Setting to false invalidates outstanding sharing URLs.
sharingUrlSettingsEmailTemplateSharingUrlSettingsPublic sharing link of the template and, when personalized, the record whose data fills the template.
subjectString!Subject line of emails composed from this template. Supports merge-field placeholders.
typeEmailTemplateTypeEnum!Template format: plain text (TextTemplate), raw HTML (HtmlTemplate) or built in the visual editor (WysiwygTemplate).
revisionIntRevision when entity was lastly changed.
solutionsSolutionEntityConnection (4 args)Solutions whose canvas contains this record. Deleted solutions are not included.
sharingUnitsEmailTemplateSharingSalesUnitRelationEntityConnection (8 args)Sales units granted shared access to this template (custom share mode).
sharingClientsEmailTemplateSharingClientRelationEntityConnection (8 args)Users granted shared access to this template (custom share mode).
documentsCloudObjectRelationEntityConnection (8 args)Files attached to the template (used as default attachments).
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
trackingInfoMassEmailTrackingInfo! (1 args)Tracking statistics (sent, opened, clicked, replied, bounced, unsubscribed) of the emails sent with this template.
EmailTemplateEntityConnection object pageInfo: PageInfo!, edges: [EmailTemplateEntityEdge]!, totalCount: Int

Paginated list of EmailTemplate records.

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

A Relay edge containing a EmailTemplateEntity and its cursor.

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

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

Input fieldTypeDescription
OR[EmailTemplateFilterInput!]Matches records that meet at least one of the listed filters.
AND[EmailTemplateFilterInput!]Matches records that meet all of the listed filters.
NOTEmailTemplateFilterInputMatches 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.
bodyEntityFilterStringFieldHTML body of the template. May use merge-field placeholders that are filled with record values when the template is composed.
emailTemplateFolderIdEntityFilterStringFieldId of the folder the template belongs to. Empty for templates at the root level.
nameEntityFilterStringFieldName of the entity and its default text representation.
ownerIdEntityFilterStringFieldId of the template owner.
shareModeShareModeEnumFilterInputSharing model for the template (e.g. shared with selected sales units, selected users, or open for editing by all).
sharingUrlIsEnabledBooleanWhen true, the template's public sharing URL is active and accessible. Setting to false invalidates outstanding sharing URLs.
subjectEntityFilterStringFieldSubject line of emails composed from this template. Supports merge-field placeholders.
typeEmailTemplateTypeEnumFilterInputTemplate format: plain text (TextTemplate), raw HTML (HtmlTemplate) or built in the visual editor (WysiwygTemplate).
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
emailTemplateFolderEmailTemplateFolderFilterInputFolder in the template hierarchy that the template belongs to. Empty for templates at the root level. Matches records where a related record meets these conditions.
ownerClientFilterInputUser who owns the template. Matches records where a related record meets these conditions.
sharingUnitsEmailTemplateSharingSalesUnitRelationFilterInputSales units granted shared access to this template (custom share mode). Matches records where a related record meets these conditions.
sharingClientsEmailTemplateSharingClientRelationFilterInputUsers granted shared access to this template (custom share mode). Matches records where a related record meets these conditions.
documentsCloudObjectRelationFilterInputFiles attached to the template (used as default attachments). Matches records where a related record meets these conditions.
EmailTemplateOrderByInput input Asc or Desc per field

Sorting of EmailTemplate 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.
emailTemplateFolder[EmailTemplateFolderOrderByNestedInput!]Folder in the template hierarchy that the template belongs to. Empty for templates at the root level. Sorts by fields of the related record, listed in order of priority.
owner[ClientOrderByNestedInput!]User who owns the template. Sorts by fields of the related record, listed in order of priority.
emailTemplateFolderIdOrderByEnumId of the folder the template belongs to. Empty for templates at the root level.
nameOrderByEnumName of the entity and its default text representation.
ownerIdOrderByEnumId of the template owner.
shareModeOrderByEnumSharing model for the template (e.g. shared with selected sales units, selected users, or open for editing by all).
sharingUrlIsEnabledOrderByEnumWhen true, the template's public sharing URL is active and accessible. Setting to false invalidates outstanding sharing URLs.
subjectOrderByEnumSubject line of emails composed from this template. Supports merge-field placeholders.
typeOrderByEnumTemplate format: plain text (TextTemplate), raw HTML (HtmlTemplate) or built in the visual editor (WysiwygTemplate).
revisionOrderByEnumRevision when entity was lastly changed.
solutionsOrderByEnumNames of the solutions whose canvas contains this template, in name order. Empty when the template is on no solution canvas.
EmailTemplateTypeEnumFilterInput input eq: [EmailTemplateTypeEnum!], NOT: EmailTemplateTypeEnumFilterInput

Conditions on an enumeration field. Several conditions given together must all match.

Input fieldTypeDescription
eq[EmailTemplateTypeEnum!]Matches any of the listed values.
NOTEmailTemplateTypeEnumFilterInputMatches values that do not meet this condition.
AffectedProcessesSharing input mode: ShareModeEnum!, clients: [SharingRecord!], units: [SharingRecord!]

Planned sharing of an email template, used to find the processes and email sequences that the change affects.

Input fieldTypeDescription
modeShareModeEnum!Planned share mode of the email template.
clients[SharingRecord!]Users the template is to be shared with, each with a sharing role.
units[SharingRecord!]Sales units the template is to be shared with, each with a sharing role.
CreateEmailTemplateInput input 17 fields: clientMutationId, modified, created, …

Field values of a new EmailTemplate 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.
bodyStringHTML body of the template. May use merge-field placeholders that are filled with record values when the template is composed.
emailTemplateFolderIdIDId of the folder the template belongs to. Empty for templates at the root level.
nameString!Name of the entity and its default text representation.
ownerIdID!Id of the template owner.
recentColors[Int!]Colors recently used in the editor of the template body, as integer color values.
shareModeShareModeEnumSharing model for the template (e.g. shared with selected sales units, selected users, or open for editing by all).
sharingUrlIsEnabledBooleanWhen true, the template's public sharing URL is active and accessible. Setting to false invalidates outstanding sharing URLs.
sharingUrlSettingsJSONStringPublic sharing-link configuration: resolved URL plus optional personalisation context (entity type, entity id) used to pre-fill merge fields. Empty when no sharing link is configured.
subjectString!Subject line of emails composed from this template. Supports merge-field placeholders.
typeEmailTemplateTypeEnum!Template format: plain text (TextTemplate), raw HTML (HtmlTemplate) or built in the visual editor (WysiwygTemplate).
revisionIntRevision when entity was lastly changed.
sharingUnits[CreateEmailTemplateSharingSalesUnitRelationNoEmailTemplateBackrefInput!]Sales units granted shared access to this template (custom share mode).
sharingClients[CreateEmailTemplateSharingClientRelationNoEmailTemplateBackrefInput!]Users granted shared access to this template (custom share mode).
documents[CreateCloudObjectRelationNoBackrefInput!]Files attached to the template (used as default attachments).
CreateEmailTemplateSharingClientRelationNoEmailTemplateBackrefInput input 5 fields: modified, created, clientId, …

Field values of a new EmailTemplateSharingClientRelation record, created together with the record it belongs to.

Input fieldTypeDescription
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
clientIdID!Id of the user.
roleSharingRoleEnumAccess the sharing gives the user on the template: Watcher can view it, Editor can view and edit it.
revisionIntRevision when entity was lastly changed.
CreateEmailTemplateSharingSalesUnitRelationNoEmailTemplateBackrefInput input 5 fields: modified, created, role, …

Field values of a new EmailTemplateSharingSalesUnitRelation record, created together with the record it belongs to.

Input fieldTypeDescription
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
roleSharingRoleEnumAccess the sharing gives the sales unit on the template: Watcher can view it, Editor can view and edit it.
unitIdID!Id of the sales unit.
revisionIntRevision when entity was lastly changed.
CreateOrUpdateEmailTemplateInput input 18 fields: clientMutationId, id, modified, …

Field values of an EmailTemplate 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.
bodyStringHTML body of the template. May use merge-field placeholders that are filled with record values when the template is composed.
emailTemplateFolderIdIDId of the folder the template belongs to. Empty for templates at the root level.
nameStringName of the entity and its default text representation.
ownerIdIDId of the template owner.
recentColors[Int!]Colors recently used in the editor of the template body, as integer color values.
shareModeShareModeEnumSharing model for the template (e.g. shared with selected sales units, selected users, or open for editing by all).
sharingUrlIsEnabledBooleanWhen true, the template's public sharing URL is active and accessible. Setting to false invalidates outstanding sharing URLs.
sharingUrlSettingsJSONStringPublic sharing-link configuration: resolved URL plus optional personalisation context (entity type, entity id) used to pre-fill merge fields. Empty when no sharing link is configured.
subjectStringSubject line of emails composed from this template. Supports merge-field placeholders.
typeEmailTemplateTypeEnumTemplate format: plain text (TextTemplate), raw HTML (HtmlTemplate) or built in the visual editor (WysiwygTemplate).
revisionIntRevision when entity was lastly changed.
sharingUnits[CreateEmailTemplateSharingSalesUnitRelationNoEmailTemplateBackrefInput!]Sales units granted shared access to this template (custom share mode).
sharingClients[CreateEmailTemplateSharingClientRelationNoEmailTemplateBackrefInput!]Users granted shared access to this template (custom share mode).
documents[CreateCloudObjectRelationNoBackrefInput!]Files attached to the template (used as default attachments).
DeleteEmailTemplateInput input clientMutationId: String, id: ID!

Id of the EmailTemplate 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.
PersonalizeBodyEmailTemplateInput input 5 fields: entityId, entityType, entityApiName, …

Parameters of the personalizeBodyEmailTemplate mutation.

Input fieldTypeDescription
entityIdUUIDId of the record whose values fill the merge fields. Leave empty to get the body without record data.
entityTypeEntityNameEnumType of the record given in entityId.
entityApiNameStringAPI name of the custom entity when the record is a custom entity; entityType must still be set.
idID!Identifier of the EmailTemplateEntity to perform the action on.
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).
PersonificationEntityDataParams input 8 fields: primary, opportunityId, contactId, …

Records whose data fill the placeholders of an email or text message, such as its contact, account or opportunity.

Input fieldTypeDescription
primaryEntityLacotaTypeWhich of the given records, such as the Contact or the Account, the message is primarily addressed to.
opportunityIdUUIDOpportunity whose data fills the opportunity placeholders.
contactIdUUIDContact whose data fills the contact placeholders.
accountIdUUIDAccount whose data fills the account placeholders.
leadIdUUIDLead whose data fills the lead placeholders.
projectIdUUIDProject whose data fills the project placeholders.
quoteIdUUIDQuote whose data fills the quote placeholders.
customEntityIds[CustomEntityIDParams]Custom entity records whose data fill the custom entity placeholders, each given as a CustomEntityID.
SharingRecord input id: UUID!, role: SharingRoleEnum!

User or sales unit an email template is to be shared with, and the sharing role it gets.

Input fieldTypeDescription
idUUID!Id of the user or sales unit.
roleSharingRoleEnum!Access the user or sales unit gets: Watcher (can view) or Editor (can view and edit).
UpdateEmailTemplateInput input 18 fields: clientMutationId, id, modified, …

Id of an EmailTemplate 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.
bodyStringHTML body of the template. May use merge-field placeholders that are filled with record values when the template is composed.
emailTemplateFolderIdIDId of the folder the template belongs to. Empty for templates at the root level.
nameStringName of the entity and its default text representation.
ownerIdIDId of the template owner.
recentColors[Int!]Colors recently used in the editor of the template body, as integer color values.
shareModeShareModeEnumSharing model for the template (e.g. shared with selected sales units, selected users, or open for editing by all).
sharingUrlIsEnabledBooleanWhen true, the template's public sharing URL is active and accessible. Setting to false invalidates outstanding sharing URLs.
sharingUrlSettingsJSONStringPublic sharing-link configuration: resolved URL plus optional personalisation context (entity type, entity id) used to pre-fill merge fields. Empty when no sharing link is configured.
subjectStringSubject line of emails composed from this template. Supports merge-field placeholders.
typeEmailTemplateTypeEnumTemplate format: plain text (TextTemplate), raw HTML (HtmlTemplate) or built in the visual editor (WysiwygTemplate).
revisionIntRevision when entity was lastly changed.
sharingUnits[CreateEmailTemplateSharingSalesUnitRelationNoEmailTemplateBackrefInput!]Sales units granted shared access to this template (custom share mode).
sharingClients[CreateEmailTemplateSharingClientRelationNoEmailTemplateBackrefInput!]Users granted shared access to this template (custom share mode).
documents[CreateCloudObjectRelationNoBackrefInput!]Files attached to the template (used as default attachments).
BulkUpdateEmailTemplatePayload object result: BulkUpdateResults!

Result of the bulkUpdateEmailTemplate mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateEmailTemplatePayload object emailTemplate: EmailTemplateEntity, clientMutationId: String

Result of the createEmailTemplate mutation.

FieldTypeDescription
emailTemplateEmailTemplateEntityThe 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).
DeleteEmailTemplatePayload object emailTemplate: EmailTemplateEntity, clientMutationId: String

Result of the deleteEmailTemplate mutation.

FieldTypeDescription
emailTemplateEmailTemplateEntityThe 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).
PersonalizeBodyEmailTemplatePayload object result: String, clientMutationId: String

Result of the personalizeBodyEmailTemplate mutation.

FieldTypeDescription
resultStringThe personalized HTML body.
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).
UpdateEmailTemplatePayload object emailTemplate: EmailTemplateEntity, clientMutationId: String

Result of the updateEmailTemplate mutation.

FieldTypeDescription
emailTemplateEmailTemplateEntityThe 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).
AffectedProcessesOperationType enum save, delete, sharing

Planned change to an email template when listing the processes or email sequences that use it.

ValueDescription
saveThe template content is being changed.
deleteThe template is being deleted.
sharingThe template's sharing is being changed.
AffectedProcessesProcessOutput object name: String!, id: UUID!

Process or email sequence that uses an email template.

FieldTypeDescription
nameString!Name of the process or email sequence.
idUUID!Id of the process or email sequence that uses the template.
EmailTemplatePersonificationResult object missingRecordsIds: [UUID!]!, disallowedFieldsIds: [UUID!]!, missingFieldsIds: [UUID!]!, results: [EmailTemplateEntity!]!

Copies of the EmailTemplate with its placeholders filled from the given records, and the records and fields that could not be used.

FieldTypeDescription
missingRecordsIds[UUID!]!Ids of requested records that could not be loaded.
disallowedFieldsIds[UUID!]!Ids of fields used in the template whose values the caller is not allowed to read.
missingFieldsIds[UUID!]!Ids of fields used in the template that do not exist or do not belong to any of the given records.
results[EmailTemplateEntity!]!Copies of the template with the placeholders filled, one for each requested set of records, in request order.
EmailTemplateSharingUrlSettings object url: String!, personalizedEntityType: EntityNameEnum, personalizedEntityApiName: String, personalizedEntityRecordId: ID

Public sharing link of an email template and the record whose data fills the template on the shared page.

FieldTypeDescription
urlString!Public sharing link of the template. Generated by the server.
personalizedEntityTypeEntityNameEnumType of the record whose data fills the template on the shared page; empty when the template is not personalized.
personalizedEntityApiNameStringAPI name of the custom entity when the personalizing record is a custom entity.
personalizedEntityRecordIdIDId of the record whose data fills the template on the shared page.
EmailTemplateTypeEnum enum TextTemplate, HtmlTemplate, WysiwygTemplate

Format of an email template.

ValueDescription
TextTemplatePlain-text template.
HtmlTemplateTemplate written as raw HTML.
WysiwygTemplateTemplate built in the visual (WYSIWYG) editor.
StatusInProcessOutput object 7 fields: id, name, type, …

Email template as used by a process or email sequence, with whether it can still use it.

FieldTypeDescription
idUUID!Id of the email template.
nameString!Name of the email template.
typeEmailTemplateTypeEnum!Format of the email template.
statusTemplateStatusInProcess!Whether the process or email sequence can still use the template: Ok, Deleted or Unavailable.
documents[CloudObjectEntity]Files attached to the email template.
subjectStringSubject of the email template.
bodyStringContent of the email template.
TemplateStatusInProcess enum Unavailable, Deleted, Ok

Whether an email template used by a process or email sequence can still be used.

ValueDescription
UnavailableThe template exists but the caller cannot open it; the given process or sequence still uses it.
DeletedThe template has been deleted.
OkThe template is available.