Skip to content
Proud to collaborate with Microsoft for Startups

wasender.messages.edit ​

Edit a recently-sent message

Edit the text of a recently-sent message via PUT /messages/{msgId}.

Inputs:

  • cloud_connection_uuid: UUID — the cloud connection holding the Wasender token.
  • msgId: str — provider message ID to edit (path parameter).
  • text: str — new message body text.

Outputs (terminal state_data):

  • message_id: str — ID of the edited message.
  • status: str — result status string.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Cloud connection holding the Wasender credential
msgIdstringYes—Provider message ID to edit (path parameter)
textstringYes—New message body text

Output Schema ​

FieldTypeRequiredDefaultDescription
message_idstringNo——
statusstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
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": "wasender.messages.edit",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "msgId": "value",
    "text": "value"
  }
}