I want to make a scenario to get the newest bookmarks added to a Raindrop collection since some last check.
“Watch Bookmarks” is not appropriate because I don’t need to check for each new bookmark addition.
Best to use “List Bookmarks” to get the specific collection periodically, on a schedule.
Now, this will always get too many bookmarks because there is no control over the date range.
So, I need to scope-down only the desired date range after the List Bookmarks is done.
List Bookmarks generates bundles with “Creation Date” items.
How could I create a new array/whatever containing only the bundles whose Creation Dates are after a particular date?
That date would need to be since-last-run.
However, to avoid setting some kind of flag in Data Store, lets just assume the scenario is run on a predictable schedule - say, every two days at a particular time. That way, I think it would be possible to work out the since-last-run time by just deducting two days from the current date-time, right? (How?)
I basically want to check for if there are any new items added between THEN and NOW.
In the final outcome, I will simply want to do a count of the matching array items and send a message to a recipient saying something like “There are N new bookmarks”.