Creates new records for the specified Salesforce sObject. The type of the Salesforce object must be set in the input flowfile's 'objectType' attribute. This processor cannot update existing records.
salesforce, sobject, put
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
| Display Name | API Name | Default Value | Allowable Values | Description |
|---|---|---|---|---|
| Salesforce Instance URL | salesforce-url | The URL of the Salesforce instance including the domain without additional path information, such as https://MyDomainName.my.salesforce.com Supports Expression Language: true (will be evaluated using variable registry only) | ||
| API Version | salesforce-api-version | 54.0 | The version number of the Salesforce REST API appended to the URL after the services/data path. See Salesforce documentation for supported versions Supports Expression Language: true (will be evaluated using variable registry only) | |
| Read Timeout | read-timeout | 15 s | Maximum time allowed for reading a response from the Salesforce REST API Supports Expression Language: true (will be evaluated using variable registry only) | |
| OAuth2 Access Token Provider | oauth2-access-token-provider | Controller Service API: OAuth2AccessTokenProvider Implementation: StandardOauth2AccessTokenProvider | Service providing OAuth2 Access Tokens for authenticating using the HTTP Authorization Header | |
| Record Reader | record-reader | Controller Service API: RecordReaderFactory Implementations: CEFReader SyslogReader ReaderLookup ProtobufReader Syslog5424Reader CSVReader GrokReader WindowsEventLogReader ScriptedReader AvroReader ParquetReader JsonPathReader ExcelReader JsonTreeReader YamlTreeReader XMLReader | Specifies the Controller Service to use for parsing incoming data and determining the data's schema |
| Name | Description |
|---|---|
| success | For FlowFiles created as a result of a successful execution. |
| failure | For FlowFiles created as a result of an execution error. |
| Name | Description |
|---|---|
| objectType | The Salesforce object type to upload records to. E.g. Account, Contact, Campaign. |
| Name | Description |
|---|---|
| error.message | The error message returned by Salesforce. |