Skip to content

notification-ingest-lambda

Status: Current | Last reviewed: 2026-05-28

Generic webhook receiver. Accepts a JSON envelope, validates a signature, and POSTs a WEBHOOK event to async-agent.

Source

apps/notification-ingest-lambda

Runtime

Aspect Value
Language Python 3.12
Trigger API Gateway → Lambda

What it does

  1. API Gateway exposes an HTTPS endpoint per tenant.
  2. External system POSTs a JSON payload.
  3. Lambda verifies HMAC signature against integrations.encrypted_config.
  4. Translates payload to a workflow trigger envelope.
  5. POSTs to async-agent.

Dependencies

Service Purpose
API Gateway HTTPS frontend
Postgres Tenant + signature secret
async-agent Workflow trigger sink

Vanguard

Use SAM Local or test directly:

cd apps/notification-ingest-lambda
python -m pytest tests/

Production

Terraform in the customer's AWS account.

See also