Salesforce Functions: Extend Salesforce with Functions (Beta)
When: The Salesforce Functions beta is planning to open after the release of Salesforce Spring ’21. Look for further announcements and details on developer.salesforce.com and in the Salesforce Functions Trailblazer Community.
Why: A Function is your code, run on demand, in the Salesforce Functions trusted compute cloud. Run complex business logic code, written using your preferred languages and frameworks. Salesforce Functions are fully managed by the Salesforce Platform, which takes care of everything else necessary to invoke your code in a secure, multi-tenant aware, and auto-scaling environment.
How: Write JavaScript or TypeScript code that uses the Salesforce Functions Node SDK to communicate with your org. Deploy your Function in the Salesforce Functions compute cloud with the Salesforce CLI. Then, invoke your Function using Apex, and the Salesforce Functions infrastructure authenticates and runs your Function on demand.