MQTT General

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

Others → check_popup_and_frame

AI-generated

Summary

Publish a payload to a specified MQTT topic to invoke the 'check_popup_and_frame' action in the MQTT system, optionally including selected input fields in the payload, and optionally waiting for and returning a response message from a specified response topic.

Inputs

  • Topic (required) — The MQTT topic to publish the 'check_popup_and_frame' action message to.
  • QoS — MQTT Quality of Service level for message delivery (0, 1, or 2). Defaults to 1.
  • Include Input Items — Whether to include selected fields from the input items in the payload as 'inputItems'. Defaults to false.
  • Include Input Items Fields — Comma or newline separated list of fields from previous input items to include in the payload's 'inputItems'. Only used if 'Include Input Items' is true.
  • Wait For Response — Whether to wait for a reply message on the response topic before returning output. Defaults to false.
  • Response Topic (required) — MQTT topic to listen for a response message if 'Wait For Response' is enabled. Defaults to 'RES_'.
  • Response Timeout (ms) — Maximum time to wait for a response message in milliseconds when 'Wait For Response' is enabled. Defaults to 10000.
  • Parse Response As JSON — Whether to parse the response payload as JSON if possible when 'Wait For Response' is enabled. Defaults to true.

Output shape

a list of items equal to the number of input items or a single item if no inputs, each containing the original input data augmented with an 'mqtt' object containing topic, action, payload, and optionally response data if waiting for a response

If 'Wait For Response' is enabled, the node will subscribe to the specified 'Response Topic' and wait up to the specified timeout for a matching message; the response payload can be returned parsed as JSON if enabled. Errors during publishing or timeout are thrown unless 'Continue On Fail' is enabled.

Examples

Example 1: Publish check_popup_and_frame action without waiting for response

Set Topic to desired MQTT topic, choose QoS, configure other options as needed but leave 'Wait For Response' disabled.

Example 2: Publish check_popup_and_frame action and wait for response

Enable 'Wait For Response', specify a 'Response Topic' (defaults to RES_), set timeout and JSON parse options to receive and parse the reply before output.

Links

Discussion