MQTT General

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

Others → accept_alert

AI-generated

Summary

Send a message via MQTT to accept a browser alert dialog with optional prompt text and an optional delay before automatic acceptance.

Inputs

  • Topic (required) — The MQTT topic to which the accept alert message is published.
  • QoS — The MQTT Quality of Service level for message delivery (0, 1, or 2).
  • Include Input Items — Whether to include selected fields from the node's input items in the MQTT payload under payload.inputItems.
  • Include Input Items Fields — Comma-separated list of input item fields to include in the payload if Include Input Items is enabled.
  • Wait For Response — Whether to wait for a reply message on a response MQTT topic before completing the node execution.
  • Response Topic (required) — The MQTT topic to listen on for a response message if Wait For Response is enabled.
  • Response Timeout (ms) — Maximum time to wait for a response message in milliseconds before timing out.
  • Parse Response As JSON — Whether to parse the response message payload as JSON if Wait For Response is enabled.
  • Prompt Text — Text to send to the alert prompt dialog when accepting it, if applicable.
  • Show (sec) — Delay in seconds before automatically accepting the alert, allowing observation of the alert popup.

Output shape

a list of items, each containing original input data extended with MQTT publish details and optionally a response payload if waiting for a response

If 'Wait For Response' is enabled, the node subscribes to the specified response topic and waits up to the given timeout to receive a reply message, which is then included in the output. If no input items are provided, a single output item with only the MQTT action details is returned.

Links

Discussion