founders-break/ops
2026-08-26 15:11:01 -04:00
..
founders-break-reminder.js Fix the post-RSVP layout, calm the copy, make the latest answer win, add unsubscribe 2026-08-26 15:11:01 -04:00
founders-break-rsvp.js Fix the post-RSVP layout, calm the copy, make the latest answer win, add unsubscribe 2026-08-26 15:11:01 -04:00
README.md Check in the RSVP and reminder function sources, document the whole flow 2026-08-26 14:52:51 -04:00

Corben function sources

These two files are the source of truth for the Corben functions behind the RSVP flow. They do NOT deploy with the site: deploy_site only serves the site, and Corben functions live in the platform, not in this repo. They are checked in so the logic is reviewable and diffable instead of only existing inside the API.

To change one, edit here and push it up:

KEY=$(grep '^CORBEN_API_KEY=' ~/.corben.env | cut -d= -f2-)
jq -n --rawfile code ops/founders-break-rsvp.js '{code:$code}' \
  | curl -sS -X PUT https://api.corben.world/functions/3d3c4bed-c073-40a4-9a32-9ff6944737dd \
      -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d @-

The reminder is cf2a1e4c-43f9-4cf4-8fc5-652c494940ae. Their env (CORBEN_KEY, LIST_ID, FROM, FROM_ADDRESS_ID, NOTIFY) is set on the function record and is not in these files. Never paste the key into this repo.

Test without waiting for a real submission:

execute_function id=3d3c4bed-... event={"form_name":"rsvp","data":{"name":"...","email":"..."}}
execute_function id=cf2a1e4c-... event={"force":true}     # sends for real