> For the complete documentation index, see [llms.txt](https://llmvision.gitbook.io/getting-started/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://llmvision.gitbook.io/getting-started/setup/blueprint/notification-actions.md).

# Notification Actions

Learn how to set up custom notification actions for LLM Vision notifications.

Since version 1.8.0 the LLM Vision blueprint supports custom `notification_actions`. These show up as buttons below the notification and allow you to quickly trigger relevant actions.

{% hint style="info" %}
See the official Home Assistant documentation for the notification action syntax below. *Note that supported features vary between iOS and Android.*

<https://companion.home-assistant.io/docs/notifications/actionable-notifications/>
{% endhint %}

#### Listening for Actions

Adding the actions simply creates an event, which can be used as triggers for another automation. It is recommended that you create a separate automation, which listens for these events and performs the actions. Use the automation below as a starting point:

{% code title="Example automation" %}

```yaml
alias: Listen for LLM Vision notification actions
mode: parallel

trigger:
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: LLMVISION_DISARM_ALARM
    id: disarm

  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: LLMVISION_ON_WAY
    id: on_way

action:
  - choose:
      - conditions: "{{ trigger.id == 'disarm' }}"
        sequence:
          - action: alarm_control_panel.alarm_disarm
            target:
              entity_id: alarm_control_panel.home

      - conditions: "{{ trigger.id == 'on_way' }}"
        sequence:
          - action: script.notify_on_our_way
```

{% endcode %}
