src/api/ directory, defined with createEndpoint and typed
Zod input/output. The frontend calls it through a generated, tRPC-like client. See the
workflow reference for the full API.
Three triggers
Workflows run in an isolated cloud runtime — they use the database client, send email, call integrations
with securely-stored secrets, and enforce permissions
on every database call.