Interface: EventToEmailConfig
Defined in: type/EventToEmailConfig.ts:6
The configuration for sending an email based on a template when an event gets triggered which has the emailTemplateId as a field to identify the template to use
Properties
code?
optionalcode?:string
Defined in: type/EventToEmailConfig.ts:12
The event code to use when the trigger is [CUSTOM_EVENT]
createdAt
createdAt:
string
Defined in: type/EventToEmailConfig.ts:14
The creation date of this EventActionConfig
createdBy?
optionalcreatedBy?:number
Defined in: type/EventToEmailConfig.ts:18
ID of the user who created this EventActionConfig
emailTemplateId
emailTemplateId:
string
Defined in: type/EventToEmailConfig.ts:24
The ID of the email template to use
id
id:
string
Defined in: type/EventToEmailConfig.ts:8
The ID of the event, uuid v7 format
lastModifiedAt
lastModifiedAt:
string
Defined in: type/EventToEmailConfig.ts:16
The last modified date of this EventActionConfig
lastModifiedBy?
optionallastModifiedBy?:number
Defined in: type/EventToEmailConfig.ts:20
ID of the user who last modified this EventActionConfig
names
names:
LocalizedString[]
Defined in: type/EventToEmailConfig.ts:22
names field
trigger
trigger:
EventTrigger
Defined in: type/EventToEmailConfig.ts:10
The event to trigger the action defined in the event action config