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¶
- API Gateway exposes an HTTPS endpoint per tenant.
- External system POSTs a JSON payload.
- Lambda verifies HMAC signature against
integrations.encrypted_config. - Translates payload to a workflow trigger envelope.
- 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.