Use Case: External API Invocation
Delete Opportunity in Salesforce After Contract Cancellation.
Salesforce API credentials:
Client ID
Client Secret
Access Token
Endpoint URL
The Opportunity ID must be available on the Contract record (e.g., Contract.OpportunityID__c
).
The Contract Status field must include a clearly defined Canceled status value.
The workflow sends an email notification to the assigned sales representative.
The linked opportunity in Salesforce is deleted automatically using the Opportunity ID.