Salesforce Functions: Extend Salesforce with Functions (Beta)

Salesforce Functions lets developers extend Salesforce with custom, elastically scalable business logic built with industry-standard programming languages and open-source components. Salesforce Functions reduces your infrastructure responsibilities, enabling you to build and integrate Functions-as-a-Service (FaaS) apps using the languages and tools of your choice.


This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

This change applies to Lightning Experience, Salesforce Classic, and all versions of the mobile app in Professional, Performance, Unlimited, and Developer editions.

When: The Salesforce Functions beta is planning to open after the release of Salesforce Summer ’21. Look for further announcements and details on and in the Salesforce Functions Trailblazer Community, or sign up to get notified when more details are available.

Why: A Function is your code, run on demand, in a Salesforce managed compute runtime. Use cases include complex business calculations, batch processes, and resource-intensive automation tasks. Salesforce Functions are fully managed by the Salesforce Platform, which takes care of everything else necessary to invoke your code in a secure, auto-scaling environment.

How: Write JavaScript or Java code that uses Salesforce Functions SDKs 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.