Run it
Signals and customer mail
On this page
Source settings live at /app/sources. rer setup generates the source encryption key in private local settings; rer deploy generates it only when the target has no key and inherits an existing key. Neither command prints it. Source signing secrets are encrypted with AES-GCM; the source list never returns them. Connecting a source generates its signing secret and shows it once with Copy. Reloading and source lists never reveal it. Advanced contains signing-secret rotation, which takes effect immediately; update your connected tools before delivering more events.
POST an event to /api/. Set X-Orbit-Timestamp to the current Unix time in seconds. X-Orbit-Signature is the hexadecimal HMAC-SHA256 of <timestamp>.<exact request body> using that source’s secret. The timestamp must be within five minutes of the deployment clock. The body limit is 262144 bytes.
An event carries eventId, type, subject, and ISO occurredAt. It can include record: {type: "contact"|"company"|"opportunity", id}, email, domain, identityBasis, permanentBounce, and data. Explicit IDs take precedence over exact normalized keys and retired aliases. Unknown matches remain in unlinked review. Page views, chats and downloads require the identity basis the source already holds; operator review cannot bypass that requirement. Standard types are declared in ingestion/; source-specific types use <source-id>:<type>.
Delivery events go to /api/. Configure the SendGrid signed Event Webhook and put its public key in SENDGRID_WEBHOOK_PUBLIC_KEY; Settings › Mail › Delivery reports gives the steps and shows whether signed events are arriving. Replies go to /api/; configure a signed SendGrid Inbound Parse security policy and put its public key in SENDGRID_PARSE_PUBLIC_KEY. Verification uses ECDSA P-256 over the untouched timestamp and raw body, including multipart bytes. The event timestamp has a five-minute tolerance. Events carrying unknown delivery correlation IDs write nothing to this deployment.
Set MAIL_REPLY_TO to the inbox where customer replies should arrive. An ordinary inbox works, but those replies do not automatically reach Orbit. For automatic capture, first configure the private address through Capture and use that address here, or configure signed Inbound Parse as described above. Set SENDGRID_UNSUBSCRIBE_GROUP_ID to the dedicated SendGrid unsubscribe group’s number. Settings › Mail › Sender explains where to get all four settings, provides copy buttons and includes a reviewed test email to your own operator address. SendGrid ASM inserts the provider-handled unsubscribe headers and footer. Global subscription tracking is explicitly disabled; click/open tracking remains disabled. Every customer message carries Message-ID, References when applicable, List-Unsubscribe, and List-Unsubscribe-Post headers. Replies with a recognized reference are linked without using subject similarity. Replies with no unique thread remain in /api/ for operator review.
The SendGrid API key needs Mail Send and Email Activity read access. Reconciliation queries the custom delivery argument through /v3/messages; a missing permission remains a visible provider lookup error. It never resends an unresolved submission. The deployment timer runs each minute to dispatch approved schedules, process due queues, and query unresolved submissions at five-minute intervals for up to 24 hours.
Manual sends outside the recipient’s 08:00–18:00 weekday window require the exact local-time confirmation from the approval preview. Schedules move to the next permitted minute and recheck current draft, recipient, association, contactability, operator, and sending limits before dispatch. Limit-blocked approval retains the reviewed message, visible reason and retry time; an operator must explicitly retry. A new customer reply cannot be overwritten by an older accepted receipt.
Provider references: signed Event Webhooks, signed Inbound Parse, Email Activity query syntax.
An optional shared SendGrid relay posts to /api/. Configure RER_MAIL_RELAY_SECRET with the destination secret. The canonical Base receiver checks x-rer-mail-timestamp and x-rer-mail-signature (v1=<hex HMAC-SHA256>) over <timestamp>.<exact JSON body> with a five-minute tolerance. Customer sends carry rer_product=orbit; other products’ events are ignored. The relay can retry partial failures because destination event IDs are deduplicated. Native SendGrid and signed Parse endpoints remain independently supported.
Mail and calendar capture
/app/capture starts with one action, a private Orbit address: mail sent, BCC’d or forwarded to it (by Cloudflare Email Routing or signed SendGrid Inbound Parse) is captured with the same rules as a file, a forwarded message counts as coming from the sender it names, and a Gmail forwarding confirmation is shown with its code. A calendar’s private iCal link is read about every 15 minutes. Google and Microsoft accounts connect through a guided, one-provider setup at /app/ or /microsoft. Reviewing proposed changes is its own page, /app/capture/review. Capture also takes .eml files, an mbox or .ics files from the owner’s own mailbox and calendar exports. Only items with a participant who is a known contact (exact email) or at a known company (exact domain) are stored; the result says how many were not stored and why. A reply to an Orbit send attaches to its thread, a delivery report for an Orbit send records the bounce, and a reply or booked meeting stops that person’s scheduled sends at once. Every other change is a proposal with its evidence that a person accepts, edits or declines. Capture never drafts or sends, and never makes a contact contactable. CONTRACT.md CAPTURE-001 to CAPTURE-007 define it.
On-screen recipes
Website forms use Orbit’s existing fixed publication workflow: save text, compile, review, approve and publish the exact artifact. Sources embeds that actual public form. An exact matching contact email records form.submitted against its linked opportunities. Public form pages allow embedding only from this installation and HTTPS website origins explicitly saved in Settings; private operator pages still refuse framing.
The booking recipe verifies Cal.com’s bare hexadecimal X-Cal-Signature-256 HMAC over the raw body, or Calendly’s Calendly-Webhook-Signature (t=...,v1=...) over timestamp, a period, and the raw body. Calendly signatures have a 180-second tolerance. Cal.com has no signed timestamp header, so Orbit applies a five-minute freshness policy to the signed envelope’s createdAt. Standard created/cancelled envelopes become booking/cancellation signals. Stable event identities include the Cal trigger, booking UID and invitee email, or the Calendly event and invitee URI. Repeat booking deliveries return 409 without another signal. Unknown invitees remain unlinked for operator review.
Zapier and Make send directly to this installation’s /api/ endpoint over HTTPS. The Sources page has separate numbered instructions, direct setup links, the exact URL, copyable authorization values and JSON bodies. Save the source secret in API by Zapier’s Static Headers connection or Make HTTP v4’s Credentials, using Authorization: Bearer <source-secret>. Keep it out of the URL, body and ordinary mapping fields. A hosted Orbit is required: the provider cannot reach an Orbit running only on your computer.
Start with the page’s connection-test body, run the provider’s test action, then check the latest delivery in Orbit. Success is HTTP 201 with an event ID; this marked test does not change customer scores. Next map the real submission ID, submission time and customer email using the page’s field guide, and submit a real form. The contact’s timeline should show Form submitted. Unknown customers remain in Unlinked review. Reuse the original submission ID and body on retries. Exact replays return the existing receipt; changed content under the same identity returns a conflict. The automation endpoint uses the same validation, source checks and replay rules as signed ingestion.
Send test event requires a native full-operator session and same-origin request. The server chooses a new event identity, signs with the source’s encrypted secret and calls the normal signature-verifying ingestion route. The customer is selected explicitly, defaulting to the most recently added contact. Test signals stay visibly labelled in NOW and customer evidence. They do not grant mail approval.