salesforce create sink Salesforce Create Sink

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

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" }.

Configuration Options

The following table summarizes the configuration options available for the salesforce-create-sink Kamelet:

Property Name Description Type Default Example

clientId

Consumer Key

Required The Salesforce application consumer key.

string

clientSecret

Consumer Secret

Required The Salesforce application consumer secret.

string

password

Password

Required The Salesforce user password.

string

userName

Username

Required The Salesforce username.

string

loginUrl

Login URL

The Salesforce instance login URL.

string

https://login.salesforce.com

sObjectName

Object Name

The type of the object.

string

Contact

Dependencies

At runtime, the salesforce-create-sink Kamelet relies upon the presence of the following dependencies:

  • camel:salesforce

  • camel:kamelet

Camel JBang usage

Prerequisites

  • You’ve installed JBang.

  • You have executed the following command:

jbang app install camel@apache/camel

Supposing you have a file named route.yaml with this content:

- route:
    from:
      uri: "kamelet:timer-source"
      parameters:
        period: 10000
        message: 'test'
      steps:
        - to:
            uri: "kamelet:salesforce-create-sink"

You can now run it directly through the following command

camel run route.yaml