notification.email.ses-platform-send ​
Send Orkestia-owned email through the platform SES account
Send an Orkestia-owned transactional email through the platform SES account.
Delivery leg for notification.email.send. Uses ambient IAM credentials — no customer CloudConnection. Internal-only.
Inputs:
- from_address: verified SES sender (required; the adapter supplies NOTIFICATION_EMAIL_FROM)
- to_addresses: recipient list (required)
- subject: rendered subject (required)
- html_body / text_body: at least one is required
- reply_to: optional Reply-To list
- region: optional SES region override (defaults to AWS_REGION)
Outputs:
- message_id: SES MessageId
- status: "sent"
- provider: "ses"
- sent_at
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-identity |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
from_address | Yes | — | — | |
to_addresses | list | Yes | — | — |
subject | string | Yes | — | — |
html_body | string | No | — | — |
text_body | string | No | — | — |
reply_to | list | No | — | — |
region | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
message_ref | string | No | — | — |
status | string | No | — | — |
provider | string | No | — | — |
sent_at | string | No | — | — |
from_address | No | — | — | |
to_addresses | list | No | — | — |
subject | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "notification.email.ses-platform-send",
"initial_data": {
"from_address": "value",
"to_addresses": "value",
"subject": "value"
}
}