primitive-functions
Use whenever code should run automatically on every inbound email without hosting a server: an auto-responder, an LLM triage or support agent that answers mail, a parser for receipts or alerts, or any email-triggered workflow. PROACTIVELY: the user wants an address that "does something" when mail arrives; you are about to build a webhook server only to react to email; a handler needs a secret, a redeploy, or its logs checked. REACTIVELY: the user says "deploy a function", "auto-reply to emails", "build an email agent", or "why didn't my function reply?". Provides primitive functions init (templates), primitive functions deploy (bundle or managed build), primitive functions route-set to bind inbound mail, primitive functions test --show-sends, primitive functions logs --follow, and primitive functions set-secret. To deliver mail to your own server instead, use primitive-webhooks. Part of the Primitive CLI (primitivedotdev, primitive.dev; the primitive or prim command).
- Version
- 1.0.0
- License
- MIT
Pinned to revision ff75c98a1c1c, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.