Posts

Showing posts with the label Automatically create invoices when Opportunities reach Closed Won using Platform Events and Queueable Apex

Integrating Salesforce with External Billing Systems Using Platform Events

Image
 Requirement:   Whenever Opportunity becomes Closed Won, create an Invoice in Billing System. Business Scenario:   ABC Technologies purcheses an Internet Package worth $50,000. 1.Customer     : ABC Technologies 2.Product        : Internet Package 3.Amount        : $50,000 4.Opportunity  : Closed Won Instead of directly calling Billing API from the Opportunity Trigger:      Opportunity  => Platform Event => Billing Systen External System setup: Step 1: Create MockAPI Account Website:      https://mockapi.io Actions: open sign up & login. Step 2: Create Project -click New Project         Name - Salesforce Billing System Step 3: Create Invoice Resource       Inside Project:           create Resource:                   Resource Name - Invoices Fields: ...