Skip to content
Proud to collaborate with Microsoft for Startups

meta.comment.hide-with-approval ​

Open inbox review for a Meta comment hide. After approve, call meta.comment.hide with approval_envelope_uuid.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-meta
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
actor_uuidstringYes——
connection_uuidstringYes——
comment_idstringYes——
channelstringNo——
hidebooleanNo——
titlestringNo——
reasonstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
actor_uuidstringYes——
connection_uuidstringYes——
comment_idstringYes——
channelstringNo——
hidebooleanNo——
titlestringNo——
reasonstringNo——
failure_reasonstringNo—Engine-stamped human-readable failure reason
failed_atstringNo—ISO timestamp when the workflow failed
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerintegerNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
approval_envelope_uuidstringNo——
statusstringNo——
actionstringNo——
request_reviewjsonNo——

DAG Layers ​

#LayerStepsCompensation
1request_reviewmeta.comment.request-review—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
meta.comment.request-reviewrequest_review

Outcomes ​

OutcomeTypeDescriptionState Data Keys
review_requestedSUCCESSComment hide inbox envelope openedapproval_envelope_uuid
failedFAILUREFailedfailure_reason

API Usage ​

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

{
  "workflow_type": "meta.comment.hide-with-approval",
  "initial_data": {
    "organization_uuid": "value",
    "actor_uuid": "value",
    "connection_uuid": "value",
    "comment_id": "value"
  }
}