salesforce-forward-lambda¶
Status: Current | Last reviewed: 2026-05-28
Forwards Salesforce platform events into TrueServe workflows.
Source¶
apps/salesforce-forward-lambda
Runtime¶
| Aspect | Value |
|---|---|
| Language | Python 3.12 |
| Trigger | Salesforce CometD or Pub/Sub API → Lambda |
What it does¶
- Subscribes to a Salesforce platform event channel.
- On event, looks up the tenant binding by org id.
- POSTs a
WEBHOOKevent to async-agent with the platform-event payload.
Dependencies¶
| Service | Purpose |
|---|---|
| Salesforce | Event source |
| Postgres | Tenant binding |
| async-agent | Workflow trigger sink |
Vanguard¶
cd apps/salesforce-forward-lambda
python -m pytest tests/
Production¶
Terraform in the customer's AWS account.