MQTT General

10 action groups: ManagerAction, MouseAction, KeyboardAction, BrowserControl, ElementAction, ImageAction, OthersAction, EmailAction, DeveloperAction, General Debug

Others → switch_to_default

AI-generated

Summary

Publish an MQTT message to switch the playwright browser context to its default frame context, optionally waiting for and handling a response message.

Inputs

  • Topic (required) — MQTT topic to which the switch command message is published.
  • QoS — Quality of Service level for the MQTT publish (0, 1, or 2). Defaults to 1.
  • Include Input Items — Whether to include selected fields from the input items in the payload under the 'inputItems' key.
  • Include Input Items Fields — Fields selected from input items to include in the payload when 'Include Input Items' is enabled.
  • Wait For Response — Whether to subscribe and wait for a reply on a response topic before completing the node execution.
  • Response Topic (required) — The MQTT topic to listen on for response messages if 'Wait For Response' is enabled. Defaults to 'RES_'.
  • Response Timeout (ms) — Maximum time to wait (in milliseconds) for a response message.
  • Parse Response As JSON — Whether to attempt parsing the received response message as JSON.

Output shape

a list of items each containing the original input data merged with an mqtt object describing the topic, action, payload sent, and optionally including the response data if received

When 'Wait For Response' is true, the node subscribes to the specified response topic and waits up to the configured timeout for a reply message. If a response is received, its payload can be parsed as JSON if enabled, and included in the output. If no input items are received, the node still outputs a single item with the MQTT interaction details.

Links

Discussion