Launching a URL using actionable notifications, is it possible?

I’ve built a simple automation that sends me an iOS actionable notification on Monday and Friday morning when there’s a new “Discover Weekly” or “Release Radar” playlist on Spotify (so I can download/cache it before my morning drive).

I have everything in place, the notification sends properly and the buttons are in place, but I just cannot figure out how to get the buttons to launch a URL. Here is an image of what I have: https://i.imgur.com/H7uEuph.jpg

Hoping someone can give me a pointer, or let me know if this is even possible or not? Have spent all weekend trying to figure this out and I’m stumped. Thanks.

I’m pretty sure the attachment option only supports audio, image and video file URLs.

Supported media types

If the attachment does not appear please ensure it is in one of the following formats:

Audio attachments

Maximum file size: 5 MB

Allowed Formats: AIFF, WAV, MP3, MPEG4 Audio

Image attachments

Maximum file size: 10 MB

Allowed Formats: JPEG, GIF, PNG

Video attachments

Maximum file size: 50 MB

Allowed Formats: MPEG, MPEG2, MPEG4, AVI

Thanks but I think that’s just for how to display the image. What I’m trying to do is make the buttons below that attachment image launch a specified URL (for example pressing button 1 would launch google.com, pressing button 2 would launch yahoo.com).

I have this mostly working, except for the link part.

ios:
  push:
    categories:
      - name: spotify
        identifier: spotify
        actions:
          #BUTTON 1
          - identifier: DISCOVERWEEKLY
            title: "Discover Weekly"
            activationMode: 'background'
            authenticationRequired: no
            destructive: no
            behavior: 'default'
          #BUTTON 2
          - identifier: RELEASERADAR
            title: "Release Radar"
            activationMode: 'background'
            authenticationRequired: no
            destructive: no
            behavior: 'default'

And this is the automation for when those buttons are pressed.

automation:            
  - alias: 'Spotify Button 1 - Launch Discover Weekly Playlist'
    initial_state: 'on'
    hide_entity: true
    trigger:
      - platform: event
        event_type: ios.notification_action_fired
        event_data:
          actionName: DISCOVERWEEKLY
    action:
      service: homeassistant.turn_on
      entity_id: group.all_lights

  - alias: 'Spotify Button 2 - Launch Release Radar Playlist'
    initial_state: 'on'
    hide_entity: true
    trigger:
      - platform: event
        event_type: ios.notification_action_fired
        event_data:
          actionName: RELEASERADAR
    action:
      service: homeassistant.turn_off
      entity_id: group.all_lights

This code works, but I need to change the action/service part of those two automations to launch a URL instead of turning on/off my lights.

After tons of trial and error and a whole weekend of Googling, I can’t figure out how to accomplish this though. Hoping someone might know the answer.

Did you see this: