Assist_Design/docs/salesforce/SALESFORCE-PORTAL-SIMPLE-GUIDE.md

12 lines
584 B
Markdown
Raw Normal View History

# Simple Salesforce-to-Portal Communication Guide
This guide is deprecated for order provisioning. Use Platform Events (`OrderProvisionRequested__e`) as outlined in `SALESFORCE-ORDER-COMMUNICATION.md`.
Modern path (summary)
- Create High-Volume Platform Event `OrderProvisionRequested__e` (fields: `OrderId__c`, optional `IdemKey__c`).
- Record-Triggered Flow on Order approval publishes the event.
- Portal BFF subscribes to the event, enqueues a job, provisions in WHMCS, and updates Salesforce.
No inbound Salesforce webhooks or HMAC headers are required in this architecture.