Appearance
Rule.io SDK / client/src / CreateAutomationEmailConfig
Interface: CreateAutomationEmailConfig
Defined in: client/src/orchestration.types.ts:19
Properties
brandStyleId?
optionalbrandStyleId?:number
Defined in: client/src/orchestration.types.ts:41
Rule.io brand style ID. When provided (without template), the SDK auto-fetches the brand style and builds editor-compatible RCML.
delayInSeconds?
optionaldelayInSeconds?:string
Defined in: client/src/orchestration.types.ts:28
description?
optionaldescription?:string
Defined in: client/src/orchestration.types.ts:21
fromEmail?
optionalfromEmail?:string
Defined in: client/src/orchestration.types.ts:27
fromName?
optionalfromName?:string
Defined in: client/src/orchestration.types.ts:26
name
name:
string
Defined in: client/src/orchestration.types.ts:20
preheader?
optionalpreheader?:string
Defined in: client/src/orchestration.types.ts:25
sections?
optionalsections?: (RcmlSection|RcmlLoop|RcmlSwitch)[]
Defined in: client/src/orchestration.types.ts:47
RCML body children to include when using brandStyleId. Supports sections, loops, and switch blocks. If omitted or empty, a default placeholder content section is added automatically.
sendoutType?
optionalsendoutType?:AutomationSendoutType
Defined in: client/src/orchestration.types.ts:34
Sendout type for the automation.
'marketing'— marketing emails (default)'transactional'— order confirmations, receipts, etc.
subject
subject:
string
Defined in: client/src/orchestration.types.ts:24
template?
optionaltemplate?:RcmlDocument
Defined in: client/src/orchestration.types.ts:36
Full RCML template document. Provide this OR brandStyleId, not both.
triggerType
triggerType:
"segment"|"tag"|"event"
Defined in: client/src/orchestration.types.ts:22
triggerValue
triggerValue:
string
Defined in: client/src/orchestration.types.ts:23