CreateWorkflowReq
Create a workflow from a blueprint, template, or from scratch. At minimum, provide blueprintKey to create from a blueprint, or provide envelopes and rootStep to create from scratch.
- blueprintType: string
Key Key of the blueprint to instantiate (optional - for blueprint-based workflows)
- blueprintType: string
Version Version of the blueprint to use (optional - defaults to latest active version)
- customType: array object[] · CustomFieldConfig[]
Fields Custom fields for the workflow
- keyType: stringrequired
Unique identifier for this custom field
- nameType: stringrequired
Human-readable name for this custom field
- value
- Type: string
Value for the custom field (can be literal or JSONata expression)
- descriptionType: string
Description of the workflow
- entitiesType: array object[]
Entity data for the workflow
- dataType: objectrequired
Entity data conforming to the schema
- keyType: stringrequired
Entity key matching an entity slot
- schemaType: string
Key requiredSchema key for the entity data
- envelopesType: array object[] · WorkflowEnvelope[]
Envelope configurations (for non-blueprint workflows)
- documentsType: array object[]required
- keyType: stringrequired
Unique key for this envelope
- subjectType: stringrequired
Email template slug
- resolutionType: stringenum
Mode When to resolve documents
values- immediate
- just
_in _time
- modeType: stringenum
Workflow creation mode - Run starts immediately, Review allows editing first
values- Run
- Review
- nameType: string
Human-readable name for the workflow
- participantType: array object[]
Overrides Override participant info for blueprint-based workflows
- emailType: stringrequired
New email for the participant
- keyType: stringrequired
Participant key to override
- nameType: stringrequired
New name for the participant
- participantsType: array object[]
Participants in the workflow
- keyType: stringrequired
Unique key for this participant
- emailType: string
Email address of the participant
- nameType: string
Full name of the participant
- rootType: object · CreateWorkflowStep
Step Root step of the workflow execution tree
- keyType: stringrequired
Unique key for this step
- typeType: stringenumrequired
Type of step
values- group
- participant
- actionType: object
- childrenType: array object[] · CreateWorkflowStep[]
- completionType: stringenum
Rule values- all
- any
- quorum
- executionType: stringenum
Mode values- sequential
- parallel
- includeType: string
If - nameType: string
- onType: array object[]
Complete Mappers - onType: string
Complete Validation Expression - participantType: string
Key - quorumType: integer
Count Integer numbers.
- senderType: object · SenderInfo
Info Information about the sender
- companyType: string
Sender's company name
- emailType: string
Sender's email address
- logoType: string
Url URL to sender's logo
- nameType: string
Sender's name
- phoneType: string
Sender's phone number
