MQTT General

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

Developer → get_info

AI-generated

Summary

Publish a JSON-encoded developer action payload over a specified MQTT topic, optionally including selected input fields and waiting for a response message on a designated response topic.

Inputs

  • Topic (required) — MQTT topic on which to publish the developer action payload. Examples: 'ABC', 'playwright/mouse/click', 'device/phone_01/action'.
  • QoS — MQTT Quality of Service level for the publish operation. Options are 0 (at most once), 1 (at least once), or 2 (exactly once). Defaults to 1.
  • Include Input Items — Boolean flag to include selected fields from the node's input items within the payload under 'inputItems'.
  • Include Input Items Fields — Comma or newline-separated list of fields from the input items to include when 'Include Input Items' is true. Supports drag-and-drop selection.
  • Wait For Response — Boolean flag indicating whether the node should wait for an MQTT message response on a response topic before completing.
  • Response Topic (required) — MQTT topic to subscribe to wait for a response message when 'Wait For Response' is true. Defaults to 'RES_' where is the publish topic parameter.
  • Response Timeout (ms) — Maximum time in milliseconds to wait for the response message before timing out. Defaults to 10000 ms.
  • Parse Response As JSON — Boolean flag to parse the received response message payload as JSON if possible. Defaults to true.

Output shape

a list of items matching input items with an added 'mqtt' JSON property, or a single item if no input exists

Each output item JSON includes 'mqtt' containing the publish topic, action metadata (key, group, function), payload inputs, and if applicable, a 'response' field with topic, raw message, and parsed payload. If 'Wait For Response' is enabled, output includes the received response data from the subscribed response topic.

Examples

Example 1: Publish a developer action without waiting for a response

Set Topic to a valid MQTT topic, QoS as desired, Include Input Items false, and Wait For Response false. Specify any developer action inputs as needed.

Example 2: Publish a developer action and wait for a JSON response

Enable Wait For Response, provide a Response Topic (or accept default of RES_), set Response Timeout in milliseconds, and enable Parse Response As JSON to true. The node publishes the action and waits for the reply message on the response topic before returning output including the response.

Links

Discussion