In this salesforce connector, it is configured to create single as an operation from contact as the object type and the field mapping will read from payload meaning, it will get it data from datamapper, the data that datamapper stored from magento when it was queried, the results from datamapper will be added to the database of salesforce.

To trigger the flow in this application, use a Web browser or an HTTP client such as the curl command-line utility to hit the HTTP Inbound Endpoint on localhost port 8081.
I used POSTMAN call my endpoint. ( localhost:8081/sync) After that we logged into Salesforce and verify whether the contacts have been created, all the 30 contacts that we have in Magento have been added to Salesforce contacts making it larger.
Example Use Case Code
Paste this XML code into Anypoint Studio to experiment with the two flows described in the previous section. For more additional info Mule Training
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:data-mapper="http://www.mulesoft.org/schema/mule/ee/data-mapper" xmlns:metadata="http://www.mulesoft.org/schema/mule/metadata" xmlns:magento="http://www.mulesoft.org/schema/mule/magento" xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" xmlns:batch="http://www.mulesoft.org/schema/mule/batch" xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" xmlns:json="http://www.mulesoft.org/schema/mule/json" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:sfdc="http://www.mulesoft.org/schema/mule/sfdc" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd http://www.mulesoft.org/schema/mule/sfdc http://www.mulesoft.org/schema/mule/sfdc/current/mule-sfdc.xsd http://www.mulesoft.org/schema/mule/json http://www.mulesoft.org/schema/mule/json/current/mule-json.xsd http://www.mulesoft.org/schema/mule/magento http://www.mulesoft.org/schema/mule/magento/current/mule-magento.xsd http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd http://www.mulesoft.org/schema/mule/batch http://www.mulesoft.org/schema/mule/batch/current/mule-batch.xsd http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd http://www.mulesoft.org/schema/mule/ee/data-mapper http://www.mulesoft.org/schema/mule/ee/data-mapper/current/mule-data-mapper.xsd">
<sfdc:config name="Salesforce__Basic_Authentication" username="herbdolie25@gmail.com" password="goldeneagle2" securityToken="WJultmwDP0mBzW4mwwlZ8S13" doc:name="Salesforce: Basic Authentication"/>
<http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/>
<magento:config name="Magento" username="api" password="107475508th" address="http://magento-tyumenacm.rhcloud.com/index.php/api/v2_soap" doc:name="Magento"/>
<data-mapper:config name="CustomerCustomerEntity_To_Contact" transformationGraphPath="customercustomerentity_to_contact.grf" doc:name="CustomerCustomerEntity_To_Contact"/>
<flow name="BulkApiFlow1">
<http:listener config-ref="HTTP_Listener_Configuration" path="/sync" doc:name="HTTP" allowedMethods="GET"/>
<magento:get-customer config-ref="Magento" doc:name="Magento" customerId="#[message.inboundProperties.'http.query.params'.customerid]">
<magento:attribute-names>
<magento:attribute-name>firstname</magento:attribute-name>
<magento:attribute-name>lastname</magento:attribute-name>
<magento:attribute-name>email</magento:attribute-name>
<magento:attribute-name>customerid</magento:attribute-name>
</magento:attribute-names>
</magento:get-customer>
<data-mapper:transform config-ref="CustomerCustomerEntity_To_Contact" doc:name="CustomerCustomerEntity To Contact"/>
<sfdc:create-single config-ref="Salesforce__Basic_Authentication" type="Contact" doc:name="Salesforce"/> <logger level="INFO" doc:name="Logger"/>
</flow>
</mule>
HTTP-Salesforce-Magento-Customer
The purpose of this flow is to create customer from salesforce while creating account in salesforce with the details provided.
I. Main Flow
A flow with an HTTP Listener Connector is created, set its Path to requests and the Allowed Methods field to GET. Learn more skills from Mulesoft Training
Create a Global Element for the Connector, set the Host to localhost, leave the Port as the default 8081 and set the Base Path to synCustomer.
After the HTTP Connector, add a Salesforce Connector, DataMapper, Magento, and a Logger.

Salesforce connector
Connects with Salesforce, and performs an operation to extract data.

After you have defined your query, click OK. The Query Editor saves, then displays your query in the Query Text field in the Properties Editor.
To get in-depth knowledge, enroll for live free demo on Mulesoft Certification