Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Salesforce Connector With Mule ESB

Salesforce Connector With Mule ESB

Salesforce Connector With Mule ESB

Jitendra Bafna

May 01, 2017
Tweet

More Decks by Jitendra Bafna

Other Decks in Technology

Transcript

  1. Salesforce connector with mule Salesforce Connector is secure way of

    connecting and accessing the data from a Mule application. It handles all the five way of integrating Salesforce. It is capable of performing all the operations exposed by Salesforce via four of their API's.
  2. Salesforce connector with mule Create Salesforce account if you don't

    have any. Reset Security Token. Go to My Settings< Personal < Reset My Security Token. Click on Reset Security Token button and it will send security token on your registered email.
  3. Salesforce connector with mule We will going to discuss how

    to create Account record in Salesforce using Basic Authentication from Mule Application. Create Accounts View With Postal Code in Salesforce • Login Salesforce, Go to Accounts < Create New View. Enter the view name "All Accounts with Postal Code" and then go to Select Fields to Display. • Remove all default fields available in Selected Fields and add Billing State/Province, Billing Street, Billing City, Billing Zip/Postal Code, Billing Country, Account Name.
  4. Salesforce connector with mule Designing the Mule Flow using Anypoint

    Studio You can use HTTP Listener to receive message and transform input message using DataWeave in required format to create Accounts with Postal Code in Salesforce.
  5. Salesforce connector with mule First configure the Salesforce connector and

    then place TransformMessage component before Salesforce connector as it will generate output metadata for TransformMessage automatically depending on configuration we have done for Salesforce connector. Now set Operation to Create as you want to create Accounts with Postal Code in Salesforce, sObjectType to Account and click on Add Connector Configuration. It will open another window, select Salesforce:Basic Authentication and you need to provide your Salesforce account details like username and password with Security Token that you have received on your email id. You can validate your configuration by clicking on button Validate Configuration and finally press OK.
  6. Salesforce connector with mule In TransformMessage set up input metadata

    and output metadata will be generated as explained in this previous slides.
  7. Testing Mule application You can use Postman to post the

    message to Mule Application and it will transform the message and create account in Salesforce.
  8. Testing Mule application Now you can login to Salesforce and

    verify if account has been created. Input message can be used for testing {"Name":"Donald Cook","BillingStreet":"Baker Street","BillingCity":"Mumbai","BillingState":"Maharashtra","BillingCountry":"India","BillingPostalCode":"400710"}
  9. Summary Similarly you can peform various operation like querying, updating,

    deleting the records and many other operation. It also provide facility known as QueryBuilder to generate your query to read data from Salesforce.