Christoffer Utterborn
Christoffer Utterborn
  • Updated

Configure product mapping in the Salesforce integration

Product mapping lets you transfer product information from Salesforce to a product table in a Oneflow contract. You can use the default mapping for Opportunity products or customize which information is transferred and which product table receives it.

How product mapping works

When you create a Oneflow contract from Salesforce, the integration retrieves product information according to the Oneflow Mapping: Products flow. By default, this flow retrieves Opportunity line items, but a Salesforce administrator can customize it for other objects, including custom objects. ⁠⁠

The default Opportunity mapping includes attributes such as product name, description, price, discount, and quantity. You can also customize the mapping, for example, to transfer a different price field. 

Before you begin

Make sure that:

  • The Oneflow integration is installed and configured in Salesforce.
  • The Oneflow template you want to use contains a product table.
  • Your Opportunity has products with the information you want to transfer.
NOTE
The interface and available settings may vary between package versions and customized installations.

Get started with the default mapping

If you use Opportunity products and the standard fields, you can start with the existing mapping.

  1. Open Oneflow Configuration in Salesforce.
  2. Go to the Product Attributes tab.
  3. Review which product attributes are enabled for Salesforce → Oneflow.
    Screenshot 2026-11-25 at 17.12.01.png
  4. Create a test contract from an Opportunity with products, using a Oneflow template that contains a product table.
  5. Check that the products, quantities, prices, and discounts appear as expected.

Product name is a required attribute. To change which Salesforce fields are used, customize the product mapping flow. 

Customize product mapping

A Salesforce administrator can customize the Oneflow Mapping: Products flow to change which Salesforce fields are transferred to Oneflow, for example, to use a different price field or retrieve products from another object. ⁠⁠

For detailed instructions, see Product Mapping for Contracts (Salesforce v3.x.x) or Product Mapping for Contracts (Salesforce v4.x.x and above) depending on your installed version.

Update products after creating a contract

Product information is sent from Salesforce when the contract is created. To send later changes from Salesforce to Oneflow, select Update on the contract card in Salesforce and confirm the update. ⁠

⁠Screenshot 2026-11-25 at 17.33.55.png

You can also enable synchronization from Oneflow to Salesforce for relevant product attributes under Oneflow Configuration → Product Attributes. For draft contracts, use Fetch Oneflow Updates in Salesforce to retrieve changes. ⁠
Screenshot 2026-11-25 at 17.34.30.png
To learn how to customize two-way synchronization, see Customize Two-Way Sync Product Mapping Flows.⁠

NOTE
Two-way synchronization can affect product records in Salesforce. In the default flow, an Opportunity line item can be deleted if a product is deselected or its quantity is set to zero in Oneflow. Test this behavior before enabling it in production. ⁠

Send products to multiple product tables

If your Oneflow template contains multiple product tables, the product mapping flow can be customized to place products in different tables. For example, you can use Salesforce Product Family to separate hardware from services. ⁠⁠

Make sure the template contains the tables you need and that your products have the values required by your mapping. Test products from each category, as well as products without a matching category.

For detailed instructions, see Product Mapping for Contracts (Salesforce v4.x.x and above).⁠⁠

Troubleshooting

Products do not appear in the contract

  • Check that the template contains a product table and that the Opportunity has products.
  • Check that the relevant product attributes are enabled and that the product mapping flow is configured correctly.
  • If your installation requires the product mapping logic to be enabled, check IsProductMappingEnabled under Setup → Custom Settings → Oneflow Application Settings → Manage. ⁠⁠

Products appear in the wrong table

  • Check the product’s Product Family, the decision outcomes, and the assigned product group number.
  • Check the order of the tables and the flow’s default outcome.

Changes do not appear in the other system

  • Check that the correct synchronization direction is enabled for the attribute.
  • Check whether you need to use Update or Fetch Oneflow Updates.
  • If you use custom objects or fields, the flows that update Salesforce may also need to be customized. ⁠⁠⁠⁠⁠

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request