Salesforce is the most popular cloud CRM with a focus on sales and support. Skyvia supports importing data to and from Salesforce, exporting Salesforce data to CSV files, replicating Salesforce data to relational databases, and synchronizing Salesforce data with other cloud CRMs and relational databases. Skyvia supports Salesforce Professional or Trial edition or higher. Please note that if you use Salesforce Professional or Trial edition, you need to clear the Use Bulk API check box in the connection settings.
Salesforce-Specific Features and Limitations
Skyvia supports External ID mapping for Salesforce foreign key fields. External ID in Salesforce is a field that has the “External ID” attribute, meaning that it contains unique record identifiers from a system outside of Salesforce. Skyvia allows you to map object references using the referenced object External ID field values. For more details see Mapping.
When the not equals operator is used in filters for Salesforce, records with an empty (null) value in the compared field are also returned. This behavior is different from the behavior of this operator for database, but this is the normal Salesforce behavior.
If you use Lookup mapping by a Salesforce Id field, you need to provide 18-character ID values for lookup, not 15-character ones. In other Skyvia features, for example, Query, or when inserting data, Skyvia supports both 18-character and 15-character ID values.
If you want to know how Skyvia uses Salesforce API calls, see Salesforce API and API Calls Usage.
To connect to Salesforce you may use either Salesforce User Name and password, or use OAuth authentication. For the first method you need to specify your Salesforce user name, password, and security token, and they will be stored in the connection data. The second way allows you to avoid storing your Salesforce user name and password on our website. You just need to authenticate on the Salesforce website, and an OAuth Token will be generated that will be used for authentication.
You need to specify the following parameters for Salesforce connection:
|•||Name - connection name that will be used to identify the connection on the Connections page and when selecting a connection for a package.|
|•||Environment - specifies Salesforce environment type, which can be Production, Custom, or Sandbox. See this page to know more about Salesforce environments.|
|•||Authentication - determines the authentication method used for connecting to Salesforce - User Name & Password or OAuth 2.0.|
|•||User - Salesforce user name. Available only if the User Name & Password authentication is selected.|
|•||Password - Salesforce password. Available only if the User Name & Password authentication is selected.|
|•||Security Token - Salesforce security token - an automatically generated key that is used to log into Salesforce from an untrusted network. Available only if the User Name & Password authentication is selected. To generate the security token, login to the Salesforce website, click Setup, then select My Personal Information | Reset My Security Token.|
|•||OAuth Token - A token for authentication in Salesforce. Click the Log In with Salesforce button below and login to Salesforce website in the opened browser window. OAuth token will be generated automatically. Available only if the OAuth 2.0 authentication is selected.|
|•||Metadata Cache - Determines how often to update cached metadata for the connection. By default, Skyvia caches metadata of available objects for cloud sources. You can configure how often the cache is refreshed automatically or reset in manually on the Connection Details page of the corresponding connection by clicking the Clear link in the Metadata cache parameter in the Parameters pane. The following values are available for this setting:|
|o||Disabled - the metadata cache is not created, and metadata are queried automatically whenever the connection is opened.|
|o||One Hour - the metadata cache expires after one hour since the previous refresh, and it is refreshed after this when the connection is opened.|
|o||One Day - the metadata cache expires after one day since the previous refresh, and it is refreshed after this when the connection is opened.|
|o||One Week - the metadata cache expires after one week since the previous refresh, and it is refreshed after this when the connection is opened.|
|o||One Month - the metadata cache expires after one month since the previous refresh, and it is refreshed after this when the connection is opened.|
|o||Infinite - the cache is never reset automatically. Default value.|
If necessary, you may click the Advanced button and set additional connection parameters:
|•||Use Bulk API - specifies whether to use Salesforce Bulk API to load data to Salesforce. If you clear this check box, Skyvia will use SOAP API to load data to Salesforce instead of Bulk API. SOAP API are slower on large volumes of data. |
By default, Bulk API are disabled for Salesforce Professional or Trial accounts, and user cannot enable them manually. You must either clear the Use Bulk API check box if you connect to Salesforce Professional or Trial account, or ask Salesforce support to enable Bulk API for your account.
|•||Command Timeout - specifies the wait time in seconds before terminating the attempt to execute a command and produce an error. Usually you don't need to change the default value for this parameter, but in some cases, when command execution takes much time, and this causes timeout errors, you may need to increase this value.|
|•||Include Deleted - determines whether to return deleted records from recycled bin. Please note that deleted records will be returned for all the requests to Salesforce via a connection with this check box selected. This includes using this connection as a source connection for import, in lookups, in the Query tool, in Backup, etc. Besides, in will increase API calls use. |