PutSalesforceObject
Description
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.
Tags
put, salesforce, sobject
Properties
In the list below required Properties are shown with an asterisk (*). Other properties 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, using Environment variables. | ||
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, using Environment variables. | |
Read Timeout * | read-timeout | 15 s | Maximum time allowed for reading a response from the Salesforce REST API Supports Expression Language, using Environment variables. | |
OAuth2 Access Token Provider * | oauth2-access-token-provider | Controller Service: OAuth2AccessTokenProvider Implementations: StandardOauth2AccessTokenProvider | Service providing OAuth2 Access Tokens for authenticating using the HTTP Authorization Header | |
Record Reader * | record-reader | Controller Service: RecordReaderFactory Implementations: AvroReader CEFReader CSVReader ExcelReader GrokReader JsonPathReader JsonTreeReader ReaderLookup ScriptedReader Syslog5424Reader SyslogReader WindowsEventLogReader XMLReader YamlTreeReader | Specifies the Controller Service to use for parsing incoming data and determining the data's schema |
Dynamic Properties
This component does not support dynamic properties.
Relationships
Name | Description |
---|---|
failure | For FlowFiles created as a result of an execution error. |
success | For FlowFiles created as a result of a successful execution. |
Reads Attributes
Name | Description |
---|---|
objectType | The Salesforce object type to upload records to. E.g. Account, Contact, Campaign. |
Writes Attributes
Name | Description |
---|---|
error.message | The error message returned by Salesforce. |
State Management
This component does not store state.
Restricted
This component is not restricted.
Input Requirement
This component requires an incoming relationship.
System Resource Considerations
This component does not specify system resource considerations.