Skip to content
Proud to collaborate with Microsoft for Startups

wasender.message.send ​

Send a WhatsApp message and persist the outbound log

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
wasender_session_uuiduuidNo——
tostringYes——
message_typestringYes——
textstringNo——
media_typestringNo——
urlstringNo——
captionstringNo——
latitudefloatNo——
longitudefloatNo——
contactjsonNo——
questionstringNo——
optionslistNo——
quoted_message_idstringNo——
mentionslistNo——
view_oncebooleanNo——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
wasender_session_uuiduuidNo——
tostringYes——
message_typestringYes——
textstringNo——
media_typestringNo——
urlstringNo——
captionstringNo——
latitudefloatNo——
longitudefloatNo——
contactjsonNo——
questionstringNo——
optionslistNo——
quoted_message_idstringNo——
mentionslistNo——
view_oncebooleanNo——
actorstringNo——
message_idstringNo——
statusstringNo——
wasender_message_uuiduuidNo——
sent_atstringNo——
failure_reasonstringNo—Engine-stamped human-readable failure reason
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
failure_typestringNo—Engine-stamped failure category (atomic path)
failed_actionstringNo—Engine-stamped action method that raised (atomic path)

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—sendInputs accepted
persistingNoNo—completePersisting the outbound-log row
sendingNoNo—persistDispatching to the send atomic
completedNoYesYes—Message sent
failedNoYesNo—Send failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedsendsending—
sendingpersistpersisting—
persistingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "wasender.message.send",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "to": "value",
    "message_type": "value"
  }
}