Chapter 66. Salesforce Create Sink
Create an object in Salesforce.
The body of the message must contain the JSON of the Salesforce object, for example: { "Phone": "555", "Name": "Antonia", "LastName": "Garcia" }.
66.1. Configuration Options Copy linkLink copied to clipboard!
The following table summarizes the configuration options available for the salesforce-create-sink Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
| clientId * | Consumer Key | The Salesforce application consumer key. | string | ||
| clientSecret * | Consumer Secret | The Salesforce application consumer secret. | string | ||
| password * | Password | The Salesforce user password. | string | ||
| userName * | Username | The Salesforce username. | string | ||
| loginUrl | Login URL | The Salesforce instance login URL. | string | ||
| sObjectName | Object Name | The type of the object. | string | Contact |
* = Fields marked with an asterisk are mandatory.
66.2. Dependencies Copy linkLink copied to clipboard!
66.2.1. Quarkus dependencies Copy linkLink copied to clipboard!
<dependencies>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifact>camel-quarkus-kamelet</artifact>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifact>camel-quarkus-salesforce</artifact>
</dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifact>camel-kamelets-utils</artifact>
<version>4.8.5</version>
</dependency>
</dependencies>