First thread so hopefully it doesn’t break any rules and my strange lack of online linguistic skills don’t get in the way. I ended up here via the scriptable app help section after trying it out initially being interested in the notification scripts. I think my initial thoughts on how it handles notifications are not correct but here we go.
I have been experimenting with Shortcuts since it was Workflow due to the ability to do some obscure things that most people have no need for with shared files or URLs.
In this case it started with needing to get a URL from YouTube of live-streams that aired when I was asleep. I wanted to try and capture it with a Shortcut before it was removed by the morning.
Eventually I ended up using IFTTT to get a detailed notification containing the title and tag information as well as URLs from YouTube and it would even save URLs that were later unlisted.
The problem I have is finding how to connect with Shortcuts and retrieve the titles, descriptions and saved URLs from the notifications. I can do it individually and click each notification and then share the URL but I am hoping there’s an easier way to get the saved YouTube data in one go. I have looked at trying to export the IFTTT applet data to Google Drive or something but it doesn’t seem to work like I hope.
Using Scriptable a bit I see it can read and write files and folders (Shortcuts can too obviously) but I am curious if there is a way to use the advanced actions of scriptable to capture multiple notifications then reformat them for use in Shortcuts.
I am stuck with IFTTT as it’s the only thing I know of that can save URLs in real time. If Shortcuts could run in the background well I don’t think I would need IFTTT and I know there’s recent examples of running it constantly but they seem to be a bit heavy or battery draining etc.
So I think I am asking if Shortcuts or Scriptable can be used to capture multiple rich notifications from IFTTT as a whole and then send the URL to another Shortcut.