meta.content.publish ​
Route organic publish by channel and kind. Requires an approved meta_content_review envelope unless force=true (SOCIAL-004 hard gate).
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-meta |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_id | string | No | — | Parent DAG workflow run id (engine-injected when used as a step) |
organization_uuid | string | Yes | — | — |
connection_uuid | string | Yes | — | — |
channel | string | Yes | — | — |
kind | string | No | — | image |
caption | string | No | — | — |
message | string | No | — | — |
page_id | string | No | — | — |
instagram_business_account_id | string | No | — | — |
media_id | string | No | — | — |
image_url | string | No | — | — |
creation_id | string | No | — | — |
link | string | No | — | — |
items | json | No | — | Carousel slides: [ |
storage_object_uuids | json | No | — | — |
video_url | string | No | — | — |
storage_object_uuid | string | No | — | — |
file_url | string | No | — | — |
title | string | No | — | — |
description | string | No | — | — |
approval_envelope_uuid | string | No | — | Approved ActorOutboxEnvelope authorizing this publish |
approval_envelope_id | string | No | — | Alias of approval_envelope_uuid |
force | boolean | No | — | Operator override — skip inbox approval proof |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_id | string | No | — | Parent DAG workflow run id (engine-injected when used as a step) |
organization_uuid | string | Yes | — | — |
connection_uuid | string | Yes | — | — |
channel | string | No | — | — |
kind | string | No | — | — |
caption | string | No | — | — |
message | string | No | — | — |
page_id | string | No | — | — |
instagram_business_account_id | string | No | — | — |
media_id | string | No | — | — |
image_url | string | No | — | — |
creation_id | string | No | — | — |
link | string | No | — | — |
items | json | No | — | Carousel slides: [ |
storage_object_uuids | json | No | — | — |
video_url | string | No | — | — |
storage_object_uuid | string | No | — | — |
file_url | string | No | — | — |
title | string | No | — | — |
description | string | No | — | — |
approval_envelope_uuid | string | No | — | — |
approval_envelope_id | string | No | — | Alias of approval_envelope_uuid |
force | boolean | No | — | Operator override — skip inbox approval proof |
post_id | string | No | — | — |
parent_creation_id | string | No | — | — |
failure_reason | string | No | — | Engine-stamped human-readable failure reason |
failed_at | string | No | — | ISO timestamp when the workflow failed |
failed_at_state | string | No | — | Engine-stamped state when the workflow failed |
failed_step | string | No | — | Engine-stamped step name (DAG path) |
failed_layer | integer | No | — | Engine-stamped layer index (DAG path) |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
completed_at | 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 | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
completed | SUCCESS | Meta atom completed successfully | completed_at |
failed | FAILURE | Meta atom failed | failure_reason, error, error_type |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "meta.content.publish",
"initial_data": {
"organization_uuid": "value",
"connection_uuid": "value",
"channel": "value"
}
}