Arduino UNO Q Trigger icon

Arduino UNO Q Trigger

Trigger a workflow on events from the Arduino UNO Q MCU

Arduino UNO Q Trigger

AI-generated

Summary

Listens for RPC requests or fire-and-forget notifications from an Arduino UNO Q microcontroller router to trigger workflow executions.

Inputs

  • method (required) — The RPC or notification method name to register and listen for on the router.
  • mode — Set to 'notify' to listen for fire-and-forget Bridge notifications, or 'request' to handle incoming RPC requests.
  • responseMode — When mode is 'request', select 'immediate' to acknowledge the MCU instantly or 'deferred' to hold the connection open for a downstream Respond node.
  • options.ackValue — JSON-parsable value or string returned immediately to the MCU when responseMode is set to 'immediate'.
  • options.timeoutMs — Timeout in milliseconds to wait for a Respond node before sending an error response to the MCU when responseMode is set to 'deferred'.
  • options.socketPath — Deprecated Unix socket path used only when no Arduino UNO Q Router credential is provided.

Output shape

a single item containing method name, array of received parameters, and request metadata when using deferred response mode

In 'notify' and immediate 'request' modes, outputs { method, params }. In deferred 'request' mode, includes a _unoQRequest object containing msgid and transport details for consumption by an Arduino UNO Q Respond node.

Examples

Example 1: Trigger workflow on MCU button press

Method: 'button_pressed', Mode: 'Notification'

Example 2: Acknowledge RPC call immediately with JSON response

Method: 'ping', Mode: 'Request', Response Mode: 'Acknowledge Immediately', Ack Value: '{"status": "ok"}'

Example 3: Process RPC request and send deferred response from workflow

Method: 'calculate_target', Mode: 'Request', Response Mode: 'Wait for Respond Node', Response Timeout: 30000

Links

Discussion