SalesforceInbox Class

Access information about Automated Activity Capture, which is available in Einstein and Salesforce Inbox.

ConnectApi

These methods are for SalesforceInbox. All methods are static.

Share emails or events with certain groups of users.

39.0

No

public static ConnectApi.ActivitySharingResult shareActivity(String activityId, ConnectApi.ActivitySharingInput sharingInfo)

activityId

Type: String

The ID of the activity.

sharingInfo

Type: ConnectApi.ActivitySharingInput

A ConnectApi.ActivitySharingInput object.

Type: ConnectApi.ActivitySharingResult

This method is a feature of both Sales Cloud Einstein and Inbox. It lets users connect their email and calendar to Salesforce. Then, their emails and events are automatically added to related Salesforce records. Users can specify who their individual emails and events are shared with.