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.
main.tsx
https://charmaine--84aa962c513411f08327f69ea79377d9.web.val.run
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.
If you ever need to reset it for testing etc (swap it out for your Val Town API key, 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/