Thank you for purchasing our extension. If you have any questions that are beyond the scope of this document, do not hesitate to leave us an email at [email protected]

By: Magenest | Support Portal: http://servicedesk.izysync.com/servicedesk/customer/portal/20 




Introduction

Magento 2 Salesforce Integration allows the store owner to sync all data from Magento 2 store to the Salesforce CRM system.

Features

Requirements

Your store should be running on Magento Edition version 2.0.x, 2.1.x., 2.2.x, 2.3.x, and 2.4.x

Magenest Salesforce CRM Version 3.4.1 

Compatibility: Magento 2.3.x, 2.4.x (Open source, Commerce)

Compatible with Magento 2.4.6


The module works base on using API, so make sure your Salesforce edition had API by checking the using version:

  1. Enterprise Edition ( API default)
  2. Unlimited Edition ( API default)
  3. Developer Edition ( API default)
  4. Performance Edition ( API default)
  5. Professional Edition ( API purchase separately)

The API package is not available if you use any other edition that's not listed above.

Video Tutorial Playlist




How to create a new app 

It is necessary to create a new app for the connection between Magento 2 and Salesforce CRM. First of all, you need to have a developer account in Salesforce, go to https://developer.salesforce.com/

 

Get consumer key and consumer secret by the connected app


                                                                                                                                             


The output will look like the below, you will use the Consumer Key and Consumer Secret for the configuration. 



Reset security token




Setup and Authentication Salesforce CRM account 

(plus) Setup and Authentication Salesforce CRM account will allow integrating Magento 2 store with your Salesforce CRM account.  

(plus) On the Admin sidebar, go to Salesforce Integration > Configuration

(warning) Please Save the config before clicking on the Get Access button to avoid getting a consumer key error.  

 


Admin will be redirected to the verification page: 

Waitting some minutes to complete the process and recheck all features of our module.




How to synchronize data from Magento 2 store to Salesforce CRM account

Setting Up Field Mapping

(plus) In order to synchronize data fields from the Magento 2 store to your Salesforce CRM account accurately, you need to create the mapping for these fields first.  

(warning)Note: For Subscriber data, you don't need to create field mapping.

 

(warning) Salesforce has field-level security that allows admin to restrict field access to certain users. You can click here for more info. Therefore, when you create field mapping, there would be some fields in Salesforce that don't show up in the backend. In this case, you have to go to Salesforce to invoke permission for these fields.

Synchronization Settings

(plus) You are able to synchronize data in the Synchronization Settings tab: Account, Campaign, Opportunity, Contact, Lead, Product, Order, Subscriber. 

In each tab, when you Enable (Yes), the Sync Mode will show upyou can choose the way to synchronize data either Auto-Sync (Real-time) or Add to Queue (Cron Job).

̣(plus) Click Sync All <Data> Now to add all records of the selected data type to the queue. 

Unique Field:



(plus) In Queue Page, you can choose the Actions > Delete to delete the data you don't want to sync. Then click on the Sync Now button to sync the data immediately to Salesforce.

 (warning)  Note that synchronizing will take time, which depends on the size of the data.

 


  

When the synchronization process finished, you can go to Salesforce Integration > View Report to see the synchronized list.

 

In addition, you can easily check the synchronization with the View Request Daily button and View On Salesforce button. 

Navigate to Salesforce Integration > Request Daily Report, you can easily follow the synchronization status.  




Main functions

When a new product is added or an existing one is edited, a record with its price will be added into Salesforce's Products.


Magento Catalog: 

 




Add mass action Add products to Salesforce Queue on Product Listing page:


 

Salesforce Products:


 

Whenever a customer account is created or updated in Magento 2 store, his/her information will be synchronized to Salesforce CRM in Leads, Accounts, and Contacts. Especially, this extension creates a Salesforce Integration tab for each customer information that allows you to easily synchronize a specific customer.


Magento 2 Dashboard:


Mass action  Add customer Salesforce Queue on the Customers Listing page

 



Salesforce Leads:



Salesforce Contacts:



Salesforce Accounts:


Whenever a customer places an order, the information will be synced in Salesforce's Orders and Opportunities.   


Magento 2 Orders Data:

 Mass action Add Order to Salesforce Queue on the Order Listing page:





Salesforce Order Information:


 

Opportunity:

 



When store owners launch a new promotion or update an existing one, the corresponding campaign will be added into Salesforce.

(warning) Note that if you change the rule name when updating the campaign, it will create another one in Salesforce.   


Magento 2 Catalog Price Rule:

 


Salesforce Campaigns:

 

 

Salesforce Default Synchronization Fields

 (warning) The fields in Red are hard-code.

The other fields can be defined in field mapping.

Contact


Magento Customer

SalesForce Contact

ID

 

Email

Email

Created At

 

Updated At

 

is Active

 

Created in

 

Prefix

 

First name

First name

Last name

Last name

Middle name

 

Tax/VAT number

 

Gender

 

Date of Birth

 

Billing First Name

 

Billing Middle Name

 

Billing Last Name

 

Billing Company

 

Billing City

 

Billing State/Province

 

Billing Country

 

Billing Zip/Postal Code

 

Billing Telephone

 

Billing Fax

 

Shipping First Name

 

Shipping Middle Name

 

Shipping Last Name

 

Shipping Company

 

Shipping Street

 

Shipping City

 

Shipping State/Province

 

Shipping Country

 

Shipping Zip/Postal Code

 

Shipping Telephone

 

Shipping Fax

 

VAT number

 


Account


Magento Customer

SalesForce Account

ID

 

Email

Name

Created At

 

Updated At

 

is Active

 

Created in

 

Prefix

 

First name

 

Last name

 

Middle name

 

Tax/VAT number

 

Gender

 

Date of Birth

 

Billing First Name

 

Billing Middle Name

 

Billing Last Name

 

Billing Company

 

Billing City

 

Billing State/Province

 

Billing Country

 

Billing Zip/Postal Code

 

Billing Telephone

 

Billing Fax

 

Shipping First Name

 

Shipping Middle Name

 

Shipping Last Name

 

Shipping Company

 

Shipping Street

 

Shipping City

 

Shipping State/Province

 

Shipping Country

 

Shipping Zip/Postal Code

 

Shipping Telephone

 

Shipping Fax

 

VAT number

 


Lead



Magento Customer

SalesForce Lead

ID

 

Email

Email

Created At

 

Updated At

 

is Active

 

Created in

 

Prefix

 

First name

First name

Last name

Last name

Middle name

 

Tax/VAT number

 

Gender

 

Date of Birth

 

Billing First Name

 

Billing Middle Name

 

Billing Last Name

 

Billing Company

"N/A"

Billing City

 

Billing State/Province

 

Billing Country

 

Billing Zip/Postal Code

 

Billing Telephone

 

Billing Fax

 

Shipping First Name

 

Shipping Middle Name

 

Shipping Last Name

 

Shipping Company

"N/A"

Shipping Street

 

Shipping City

 

Shipping State/Province

 

Shipping Country

 

Shipping Zip/Postal Code

 

Shipping Telephone

 

Shipping Fax

 

VAT number

 


Product


Magento Product

SalesForce Product2

Name

Name

Description

 

is Active

isActive

Short Description

 

SKU

ProductCode

Weight

 

Set Product as New from Date

 

Set Product as New to Date

 

Status

 

Country of Manufacture

 

URL Key

 

Price

 

Special Price

 

Special From Date

 

Special To Date

 

Stock Id

 

Qty

 

Min Qty

 

Meta Title

 

Meta Keywords

 

Meta Description

 

Tax Class

 

Base Image

 

Small Image

 

Thumbnail

 

Min Qty

 

Meta Keywords

 

Meta Description

 


Campaign


Magento Campaign

SalesForce Campaign

Rule ID

 

Name

Name

Description

 

From Date

 

To Date

 

Active

 

Simple Action(Apply)

 

Discount Amount

 

Enable Discount to Subproducts

 

Subproducts Simple Action(Apply)

 

Subproducts Discount Amount

 


Order


Magento

SalesForce Order

ID

 

State

 

Status

Status

Coupon Code

 

Coupon Rule Name

 

Increment ID


Created At

EffectiveDate

Company

 

Customer First Name

 

Customer Middle Name

 

Customer Last Name

 

Billing First Name

 

Billing Middle Name

 

Billing Last Name

 

Billing Company

 

Billing Street

 

Billing City

 

Billing State/Province

 

Billing Zip/Postal Code

 

Billing Telephone

 

Billing Country

 

Shipping First Name

 

Shipping Middle Name

 

Shipping Last Name

 

Shipping Company

 

Shipping Street

 

Shipping City

 

Shipping State/Province

 

Shipping Zip/Postal Code

 

Shipping Country

 

Shipping Amount

 

Shipping Description

 

Currency Code

 

Total Item Count

 

Store Currency Code

 

Shipping Discount Amount

 

Discount Description

 

Shipping Method

 

Store Name

 

Discount Amount

 

Tax Amount

 

Sub Total

 

Grand Total

 

Remote IP

 


Order Item


Magento Order Item

SalesForce Order Item

Parent ID

OrderID

Qty

Quantity

Price

UnitPrice


Opportunity


Magento

SalesForce Opportunity

ID

 

State

 

Status

Prospecting

Coupon Code

 

Coupon Rule Name

 

Increment ID

Name

Created At

CloseDate

Company

 

Customer First Name

 

Customer Middle Name

 

Customer Last Name

 

Billing First Name

 

Billing Middle Name

 

Billing Last Name

 

Billing Company

 

Billing Street

 

Billing City

 

Billing State/Province

 

Billing Zip/Postal Code

 

Billing Telephone

 

Billing Country

 

Shipping First Name

 

Shipping Middle Name

 

Shipping Last Name

 

Shipping Company

 

Shipping Street

 

Shipping City

 

Shipping State/Province

 

Shipping Zip/Postal Code

 

Shipping Country

 

Shipping Amount

 

Shipping Description

 

Currency Code

 

Total Item Count

 

Store Currency Code

 

Shipping Discount Amount

 

Discount Description

 

Shipping Method

 

Store Name

 

Discount Amount

 

Tax Amount

 

Sub Total

 

Grand Total

 

Remote IP

 


Opportunity Item


Magento Opportunity Item

SalesForce Opportunity Item

Parent ID

OrderID

Qty

Quantity

Price

UnitPrice



Updates



Support

 




Once again, thank you for purchasing our extension. If you have any questions relating to this extension, please do not hesitate to contact us for support.