lastProcessedAt
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v10View latest version
This val is a tiny JSON API to store and retrieve a lastProcessedAt timestamp — useful for workflows like n8n cron jobs that need to remember the last run time.
To reset it (swap it out for your HTTP url and time):
curl -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer VAL_TOWN_API_KEY' \
-d '{"timestamp":"2025-07-13T09:00:00-04:00"}' \
https://n8n-get-set.val.run/