#Reacting to mobile notification actions

1 messages · Page 1 of 1 (latest)

white plume
#

Hey all, I'm banging my head against the wall here trying to get an automation to trigger in response to tapping an action in a mobile notification.

Here's what the event looks like:

event_type: mobile_app_notification_action
data:
  webhook_id: <redacted>
  message: "Erkannt: Milchkanne ist rausgestellt."
  action_1_title: Rückgängig machen
  action_1_key: UNDO_AUFSTELLUNG
  server_id: "1"
  action: UNDO_AUFSTELLUNG
  device_id: <redacted>
origin: REMOTE
time_fired: "2025-11-27T21:47:42.562746+00:00"
context:
  id: 01KB3MJMK2J0T2KFC4WKMDHX7N
  parent_id: null
  user_id: <redacted>

and this is the trigger in my automation:

triggers:
  - trigger: event
    event_type: mobile_app_notification_action
    event_data:
      data:
        action: UNDO_AUFSTELLUNG

I've tried with just data, just event_data, like it's above, the other way round, nothing seems to budge it. What am I doing wrong here?

white plume
#

Doesn't ANYONE here know how this is supposed to work?

undone silo
#

Well, I can confirm that definitely, the "data:" tag is wrong.

triggers:
  - trigger: event
    event_type: mobile_app_notification_action
    event_data:
      action: UNDO_AUFSTELLUNG

This should provide at least one step in the right direction.

#

But otherwise, check the traces and the logs and see if there are other errors causing the automation to fail. Otherwise, the information provided is kind of limited.

For instance, if there were variables declared for the automation that had errors, the automation would never fire nor even leave a trace (but would show up in the logs).