Skip to main content
About the Resource Center

Use the SDK to route Salesforce emails

Note: This article applies to Genesys Cloud for Salesforce.

After you configure the routing of Salesforce emails in Salesforce, use our SDK in the managed package to route Salesforce emails through Genesys Cloud for Salesforce. The SDK uses the Salesforce Apex programming language. 

Note: This advanced customization article is intended for developers who are familiar with Salesforce.

Access our SDK through the Email class under the purecloud.SDK.Email and purecloud.Email namespaces. Use the purecloud.Email namespace to set information for subject, fromName, and fromAddress.

Email class

Contains static methods to route Salesforce emails through Genesys Cloud for Salesforce.

Namespace

purecloud.SDK.Email

Usage

Use these methods to create Genesys Cloud email objects that route Salesforce emails through Genesys Cloud for Salesforce. These objects can contain data to set screen pops, modify interaction details, or add data to the activity records in Salesforce.

Email methods

The following methods are available for the Email class.

For more information, see Configure the routing of Salesforce emails, Use Flow Builder to route Salesforce emails, and About Routing of Salesforce Emails

For more information about the integration, see About Genesys Cloud for Salesforce.