Skip to main content

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 NameAPI NameDefault ValueAllowable ValuesDescription
Salesforce Instance URL *salesforce-urlThe 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-version54.0The 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-timeout15 sMaximum time allowed for reading a response from the Salesforce REST API

Supports Expression Language, using Environment variables.
OAuth2 Access Token Provider *oauth2-access-token-providerController Service:
OAuth2AccessTokenProvider

Implementations:
StandardOauth2AccessTokenProvider
Service providing OAuth2 Access Tokens for authenticating using the HTTP Authorization Header
Record Reader *record-readerController 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

NameDescription
failureFor FlowFiles created as a result of an execution error.
successFor FlowFiles created as a result of a successful execution.

Reads Attributes

NameDescription
objectTypeThe Salesforce object type to upload records to. E.g. Account, Contact, Campaign.

Writes Attributes

NameDescription
error.messageThe 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.

See Also

QuerySalesforceObject