Default action for actionable notifications

Hi, how can I set the url/clickAction for an actionable notification to be one of the actions?

I want tapping on the notification itself (url/clickAction) to either follow one of the actions, or send a callback to the server. Instead it just opens the app.

Introduction | Home Assistant Companion Docs suggests this is possible:

However the linked page doesn’t explain how to do this.

action: notify.david_notification_group
metadata: {}
data:
  message: |
    Welcome home! Alarm is armed.
    Tap to disarm, hold for lighting options.
  data:
    clickAction: "{{ action_arrive_day }}" # <-- this doesn't work
    url: "{{ action_arrive_day }}" # <-- this doesn't work
    actions:
      - action: "{{ action_arrive_day }}"
        title: Arrive Home Daytime
        icon: sfsymbols:lock.slash
      - action: "{{ action_arrive_front }}"
        title: Arrive Home via Front
        icon: sfsymbols:lock.slash
      - action: "{{ action_arrive_back }}"
        title: Arrive Home via Back
        icon: sfsymbols:lock.slash

Thanks
-davidc