Test tenant ownership for incoming AI workflow webhook events

Resolve each event to the authorized workspace before processing its payload. The credential authenticating the sender and the tenant referenced by a record need separate checks.

Example

Two fictional tenants have an order numbered 42. A webhook from tenant A must never update the order numbered 42 in tenant B.

What to do

  1. Record how the event source maps to a workspace. Verify the sender according to the agreed integration protocol.
  2. Scope lookups to the resolved tenant. Rehearse a mismatched tenant reference and a valid event with the same local order number.
  3. Inspect which workspace received the action and ensure rejected events do not include sensitive fields in logs.

How to verify

A valid event updates the authorized fictional tenant only and the mismatch is rejected.

Limits

A verified event signature does not establish that every referenced record belongs to the sender.

Spendplane for this workflow

See Teams options and available workspace regions

Related reading