Skip to content
Proud to collaborate with Microsoft for Startups

notification.email.send ​

Send an Orkestia-owned transactional email

Send an Orkestia-owned transactional email.

Inputs:

  • template: approved template name (required)
  • to/template-specific fields only; raw subject/body/from are not accepted

Outputs:

  • provider, provider_workflow_type, provider_workflow_ref
  • email_ref/message_ref, status

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
templatestringYes——
toemailNo——
to_rolestringNo——
organization_uuiduuidNo——
invitation_uuiduuidNo——
invitation_tokenstringNo——
rolestringNo——
messagestringNo——
expires_atdatetimeNo——
resendbooleanNo——
user_uuidstringNo——
user_emailemailNo——
user_namestringNo——
reasonstringNo——
requested_atstringNo——
invite_tokenstringNo——
app_namestringNo——
workspace_namestringNo——
has_credentialsbooleanNo——
verification_tokenstringNo——
landing_urlstringNo——
return_tostringNo——
identity_app_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
templatestringYes——
toemailNo——
to_rolestringNo——
organization_uuiduuidNo——
identity_app_uuiduuidNo——
invitation_uuiduuidNo——
rolestringNo——
providerstringNo——
provider_workflow_typestringNo——
provider_workflow_refstringNo——
email_refstringNo——
message_refstringNo——
statusstringNo——
sent_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "notification.email.send",
  "initial_data": {
    "template": "value"
  }
}