BeaconRelay Staging
Product documentation

BeaconRelay operating guide

Reliable, replayable and verifiable Salesforce events for applications and AI agents.

Behavior referenceStaging release
01 / Foundations

Product contract

BeaconRelay is a one-way transport layer from Salesforce Streaming API PushTopics to one HTTPS webhook receiver per connected Salesforce organization. It receives an event, persists it before outbound delivery, retries transient failures locally, records every attempt, and provides cryptographic evidence that the delivered body matches the event BeaconRelay stored.

ReliablePersist before delivery and recover due work.
ReplayableResume Salesforce streams and redrive Dead Letters.
VerifiableHash bodies, sign envelopes, and issue receipts.
One-way by design

BeaconRelay does not write records back to Salesforce. High activity on one record is observed and warned about, but transport does not perform CRUD operations or suppress valid Salesforce events.

Resource hierarchy

AccountCommercial owner and event allowance
StationOne authorized Salesforce org
ChannelOne Salesforce PushTopic subscription
EventOne durable Salesforce notification
ReceiverThe station's HTTPS destination

A station is the boundary for Salesforce identity, channels, listener health, replay cursors, monitoring, receiver routing, and events. Events never exist independently of a station and owner.

Event path

  1. 1
    Salesforce publishes

    The active listener receives a PushTopic message from the station's authorized org.

  2. 2
    BeaconRelay deduplicates

    The tuple station, channel, and Salesforce replay ID is unique. A repeated replay message reuses the existing event.

  3. 3
    BeaconRelay persists

    The canonical JSON payload is encrypted with authenticated encryption, fingerprinted with SHA-256, assigned pending, and committed before webhook work is queued.

  4. 4
    The delivery worker validates

    Entitlement, destination safety, payload authentication, fingerprint, and signing configuration are checked before transmission.

  5. 5
    The receiver is called

    The original canonical JSON body is sent with verification and delivery-cycle headers. Redirects are not followed.

  6. 6
    The outcome is recorded

    Status, latency, safe response headers, an encrypted bounded response body, signature receipt, retry schedule, and incident effects are persisted.

Delivery semantics

Durability
Database persistence precedes outbound webhook delivery. A broker failure leaves the event due for the local recovery worker.
Ordering
Events retain Salesforce replay identity and receive time, but strict receiver-side ordering is not promised across retries or concurrent channels.
Duplicates
BeaconRelay suppresses duplicate Salesforce replay IDs, but network ambiguity can still produce receiver duplicates. Consumers should deduplicate with X-BeaconRelay-Event-Id.
Acceptance
Any HTTP status from 200 through 299 is accepted. A response body is not required.
Exactly once
Not claimed. No webhook transport can prove that a receiver committed work when its successful response is lost.

Trust boundaries

Salesforce authenticates the connected user and emits the source event. BeaconRelay controls persistence, scheduling, encryption at rest, signatures, and the outbound request. The customer controls the receiver. A BeaconRelay receipt proves what BeaconRelay observed; it is not a Salesforce signature and not proof that the receiver committed a database transaction.