Web Socket

Sends a text payload over a WebSocket to a target server using a configurable subprotocol, enabling real-time, low-latency integration from Voice Action workflows with optional connection reuse for repeated calls.

Required Parameters

  • url (required): WebSocket endpoint URL string; execution proceeds only when it parses successfully as a valid URL.
  • message (required): Non-empty text payload to send.

Commands

Send Message

  • Required inputs: resolved URL + non-empty message; values are resolved before execution.
  • Supported targets/options: available on iOS, macOS, and macCatalyst; sends as a plain text WebSocket frame.
  • Optional controls and constraints:
    • subprotocol is optional; if provided it is sent via the WebSocket subprotocol handshake, and if left blank, no subprotocol is used.
    • reuseConnection is a boolean (default set to true in defaults): true keeps the connection open for reuse per URL/subprotocol pair, false closes it after the send.

results matching ""

    No results matching ""