Event sources
Give each external system its own key to push events into OpsBrain. Setup in the app, no-code recipes, and the security options.
An event source is how one outside system sends events into OpsBrain: your ERP, your WMS, a Zap, an n8n flow. Each source gets its own address and access token, so you can see exactly who sent what, and switch one system off without touching the others. You can set one up, and test it, entirely from the app.
What a source is
Use one source per system. The technical setup is the same for every source, but separate keys mean the activity log shows which system sent each event, replacing a key affects one system at a time, and pausing your test ERP does not stop production.
Every source owns three things:
An ingest URL, the web address your system sends events to: url. It is unique to the source.
A bearer token starting with prefix. A token is a long generated password that software presents instead of logging in. It authenticates every request.
Optionally a signing secret starting with prefix, for tamper-proofing requests. Most teams skip this at first; details in the developer section below.
Creating one, step by step
Sources are created in
Integrations, under Event Sources
Press New source, name it after the system (like Dynamics ERP), and pick the kind: webhook, Zapier, n8n, or direct API. All four send events the same way; the kind only changes the setup instructions you see next.
Copy the bearer token. It is shown exactly this once. Store it like a password, wherever your team keeps shared secrets.
Send your first event. The source page updates as soon as it arrives, so you see a green confirmation right away. No guessing whether the connection works.
No external system handy? Use Send a test event
Every source page has a Send a test event button. OpsBrain acts as your outside system: the event shows up in the activity log and matches triggers exactly like a real one. It is the easiest way to try the whole inbound flow without setting anything up.
Rotating the token creates a new one, again shown only once, and the old token stops working straight away. Rotate whenever the token may have leaked, or when the person who set it up leaves.
Lost tokens are not recoverable
OpsBrain stores only a scrambled fingerprint of the token, so nobody can read it back, including us. If it is lost, rotate it: your system gets the new token and the old one stops working.
Connecting your system, easiest first
Whatever sends the event, the recipe is the same: deliver a small piece of JSON (a structured text format software uses to describe things) to the ingest URL, with the token attached. In order of effort:
Kind
Setup
No code. Use the Webhooks by Zapier action: POST, the ingest URL, header header, and a body built by dragging in the Zap's trigger fields.
No code. HTTP Request node: POST, the ingest URL, a Header Auth credential holding the bearer token, and a body mapping upstream node fields.
Webhook (ERP / WMS / CRM)
Configuration, not code. Most systems have a webhook or outbound-message facility. Point it at the ingest URL and add the Authorization header. If it cannot set headers, route it through Zapier, n8n or Make and forward from there.
Direct API
For developers. Call it from your own backend like any HTTP API. Full contract in the ingest API reference.
For developers: one command, from any terminal, to check that the connection works:
Request shape, responses, idempotency and error codes are specified in
the ingest API reference
For developers: optional request signing
A source can require every request to carry an HMAC signature. HMAC is a tamper-proof seal: a code computed from the message and a shared secret, so OpsBrain can check the request really came from the secret's holder and was not altered. The signature covers the timestamp and the raw body, Stripe-style, with a 5-minute tolerance:
Required header when signing is on
The scheme is exactly the one OpsBrain uses for outbound webhooks, symmetric on purpose: the same code and the same test vector verify both directions. See the verification section in
the webhooks article
When to bother
Turn signing on for production ERP and WMS integrations, where a leaked token alone should not be enough to inject events. Skip it for Zapier and n8n, which cannot easily compute request signatures; the bearer token plus HTTPS is the standard bar there.
Pausing
Pausing a source politely turns requests away (they get a status response) without dropping any configuration: the token, the signing secret and every trigger that references the source stay intact. Resume and events flow again. Use it during ERP maintenance windows, or to silence a misbehaving system while you investigate.
Whether paused or active, everything a source ever sent is visible in
the inbound activity log