Skip to content
Proud to collaborate with Microsoft for Startups

wasender.media.decrypt ​

Decrypt inbound encrypted Wasender media

Decrypt inbound encrypted media via POST /decrypt-media.

Inputs:

  • cloud_connection_uuid: UUID — the cloud connection holding the Wasender token.
  • url: str — encrypted media URL to decrypt.
  • media_key: str — media decryption key.
  • mime_type: str — MIME type hint for the media.

Outputs (terminal state_data):

  • url: str — decrypted public media URL (1h TTL)
  • mime_type: str — resolved MIME type of the decrypted media
  • success: bool — provider success flag

Plugin required: context.get_plugin("wasender") must expose .api_token.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Cloud connection holding the Wasender credential
urlstringYes—Encrypted media URL to decrypt
media_keystringYes—Media decryption key
mime_typestringNo—MIME type hint for the media

Output Schema ​

FieldTypeRequiredDefaultDescription
urlstringNo—Decrypted public media URL (1h TTL)
mime_typestringNo—Resolved MIME type of the decrypted media
successbooleanNo—Provider success flag
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.media.decrypt",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "url": "value",
    "media_key": "value"
  }
}