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: v9View 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:
curl -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer vtwn_2HUwZJ2DMrJUEYpb3xcXkRM7owpg' \
-d '{"timestamp":"2025-07-13T09:00:00-04:00"}' \
https://n8n-get-set.val.run/