GREAT LOTUS icon

GREAT LOTUS

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

7. Others → switch_to_default

AI-generated

Summary

Publishes a switch_to_default request over MQTT to return the remote automation session to its default page context after switching into an iframe or popup. Optionally includes selected input item fields, waits for a response, and delays before passing control to the next workflow step.

Inputs

  • topic (required) — MQTT topic to publish the request to.
  • Remote Port (required) — Client session routing port, typically connected from the profile-opening node’s remote_debugging_port (or remote_port) output.
  • QoS — MQTT delivery level: 0 (at most once), 1 (at least once; default), or 2 (exactly once).
  • Include Input Items — When enabled, attaches selected fields from incoming items under payload.inputItems.
  • Input fields — Comma-separated field paths to copy from incoming items, including nested paths such as status.detail or array paths such as order.items[0].sku.
  • Wait For Response — When enabled, waits for an MQTT response before returning output; otherwise publishes without waiting.
  • Response Timeout (sec) — Maximum time to wait for a response when waiting is enabled; defaults to 60 seconds.
  • Delay Next Step (ms) — Delay before continuing after publish, or after receiving the response when waiting is enabled. The UI default is rand(200,1000).

Output shape

Workflow items containing the MQTT operation result/response.

The operation returns after publishing when response waiting is off, or after a response arrives (up to the configured timeout) when it is on. Selected incoming fields may be included in the request payload. The provided source view omits the execute implementation body, so exact output fields are not shown.

Links

Discussion