Hi,
I’m creating a Zapier integration with a REST API that offers a possibility to poll new/changed data with an api parameter changedSince. The changedSince parameter accepts a datetime value. The endpoint being for example get ‘{baseUrl}/projects?changedSince=YYYY-MM-DDTHHssZ’
I would like to create a trigger which polls this api endpoint but how could I set the changedSince to be the datetime of the previous zap run?
Zapier deduper instructions assume that the api returns everything like get ‘{baseUrl}/projects’ and then the data is sorted to display newest on top, but this API does not offer a possibility to sort the data.
Does anyone have any good / helpful ideas on how to create a trigger with this endpoint where changedSince value would be the datetime of the previous zap run? Can I catch the previous run timestamp somehow?