Summary
Pipedrive deals can be transferred from iPaaS.com orders through outbound transfers or Manual Sync. A completed order that is not linked to a deal yet becomes a won deal in the pipeline named in the Order History Pipeline setting, with its lines as the deal's products, so your sales team can see what each customer bought in your store, ERP or point of sale. Later changes to an order that is linked to a deal, including a deal a rep won in Pipedrive, update that deal's status and, for an order-history deal, replace its products with the order's current lines.
ID Format
Manual Sync ID Format
Enter the iPaaS.com transaction's numeric id on the iPaaS.com Manual Sync page, as shown on the transaction record in iPaaS.com. Enter only the number. An order that is not linked to a deal yet is sent through Add Pipedrive Deal FROM iPaaS.com, and a linked order through Update Pipedrive Deal FROM iPaaS.com. The order's lines are transferred with it; the two line collections have no Manual Sync entry of their own.
External ID Format
After a successful transfer, iPaaS.com saves the Pipedrive deal id as the external ID on a dedicated external-ID record for the transaction. Later changes to the order find the deal through this link and go through Update Pipedrive Deal FROM iPaaS.com. The transaction's own fields do not hold the external ID, and the deal title is mapped separately: it is the collision match key, not the link. The deal id is the number at the end of the deal's page address in Pipedrive, which ends in /deal/ followed by the id. A deal a rep won in Pipedrive that reached iPaaS.com as an order through Add/Update Pipedrive Deal TO iPaaS.com is linked the same way, so its order's changes also go through Update Pipedrive Deal FROM iPaaS.com.
Each order line is saved on its own external-ID record as {deal id}|{deal product id}: the Pipedrive deal id followed by | and the id Pipedrive gives the product on the deal. Each product Pipedrive returns is linked to the iPaaS.com line in the same position when it has that line's Pipedrive product; otherwise the line is left unlinked rather than linked to the wrong line. Replacing an order-history deal's products on an update gives them new ids, and iPaaS.com saves the new links.
Deleted Record Support
Deletes are not carried from iPaaS.com to Pipedrive. Deleting a transaction in iPaaS.com does not delete or change the Pipedrive deal, and removing a line from a linked order does not remove a product from a sales deal. The integration does not support deleting Pipedrive deals or deal products from iPaaS.com, and no delete mappings are included in the default templates. On an order-history deal, an update replaces the deal's products with the order's current lines, so a line removed from the order is no longer on the deal after that update.
Custom Field Support
Pipedrive custom fields on deals and deal products are not written by these collections. Besides the default mappings, the Pipedrive deal offers further destination fields that the integration writes when you add mappings for them:
Currency: the deal's three-letter currency code, for example
EUR. A value that is not a three-letter code fails the transfer with an error.OwnerId: the deal's Pipedrive owner, as a Pipedrive user id (a number). A value that is not a number is not sent.
ExpectedCloseDate: the expected close date, written as the calendar day.
LostReason: the reason a deal was lost, sent only when the deal is lost.
Value: the deal value, written only to a deal that has no products; Pipedrive totals a deal with products itself.
The deal product's TaxRate, TaxMethod and Comments are mapped by default (see the deal product tables below); TaxMethod also accepts inclusive. On an update, only the values you map are written, so a field you map on Update Pipedrive Deal FROM iPaaS.com changes the deal on every update of the order. Validate any mapping you add in a staging subscription before relying on it in production.
Mapping Collection Status
Status: Enabled. All four collections are enabled in the default templates. The filter of Add Pipedrive Deal FROM iPaaS.com sends only orders with the completed status it names, so review that status before you turn on the scopes (see the Mapping Filter of that collection under Mappings).
Trigger Events: transaction created and transaction updated in iPaaS.com. No automatic transfers occur until you turn on the scopes under Outbound Data Flows on the subscription. Manual Sync is also available.
Scope | What triggers it |
| A transaction was created in iPaaS.com. |
| A transaction was changed in iPaaS.com. |
Turn on both scopes. An order often reaches its completed status in a later update, and an update of an order that is not linked to a deal yet is sent through Add Pipedrive Deal FROM iPaaS.com; a change to a linked order, such as a back-office cancel, usually arrives through transaction/updated. Whether a transfer creates a deal or updates one depends on whether the order is already linked by its external ID, not on which scope fired. The two line collections have no scopes of their own: they run with every transfer of their parent order.
Duplicate or Conflicting Mappings
These collections write iPaaS.com orders to Pipedrive as deals. The following mapping collections also operate on the same records:
Add/Update Pipedrive Deal TO iPaaS.com: sends Pipedrive deals to iPaaS.com as orders, which links a rep's won deal to its order. Its default filter leaves out deals in the Order History Pipeline, so the deals Add Pipedrive Deal FROM iPaaS.com writes are not sent back to iPaaS.com, where a change made in Pipedrive would overwrite the order. Keep that condition in its filter.
Pipedrive Deal Product TO iPaaS.com: sends deal products to iPaaS.com as order lines with their deal. Order-history deals are left out by the parent filter, so the products these collections write are not sent back.
Add/Update Pipedrive Organization FROM iPaaS.com, Add/Update Pipedrive Person FROM iPaaS.com and Add/Update Pipedrive Product FROM iPaaS.com: send the order's company, customer and line products to Pipedrive before the deal, when they are not there yet (see Integration Flow).
Before you turn on both directions, review the filters of these collections and decide which system is the source of truth for each kind of order and for each deal's status. A deal a rep won in Pipedrive reaches iPaaS.com as an order that is already linked to its deal, so its changes go through Update Pipedrive Deal FROM iPaaS.com and it is never written as order history. With both directions active, a status change can travel between Pipedrive and iPaaS.com: a rep marking a deal lost in Pipedrive changes the iPaaS.com order, and a back-office change of the order sets the deal's status again.
Collision Handling
Before it creates a deal for an order that is not linked yet, Add Pipedrive Deal FROM iPaaS.com looks in the Order History Pipeline for a deal with exactly the same title, compared without regard to case or surrounding spaces. Deals in other pipelines are never matched. When it finds one, it writes nothing and hands the match to iPaaS.com, which applies the Collision Handling Method set on this mapping collection's settings page:
Update and Link: updates the existing deal with the order's mapped values and lines and links the order to it. Set this method on Add Pipedrive Deal FROM iPaaS.com: the default templates do not set one.
Error: refuses the transfer with a duplicate error, and no deal is written to Pipedrive. Use it when your team wants to review each match; rename or remove the duplicate deal, then transfer the order again.
Remap and Link: links the existing deal, then runs the transfer again as an update.
Update and No Link: updates the existing deal without linking the order to it, so the next transfer of the order looks for a match again.
The match key is the title only; no other field is compared. When the Order History Pipeline has several deals with the title, the transfer fails with an error that lists them; delete or merge the extra deals in Pipedrive, then transfer the order again. A deal this integration created with the same title in the pipeline within about the last minute is updated instead of being treated as a match, so a quick second send does not create a second deal. The collision outcomes come from the platform's collision methods and the integration's own logic; validate the method you choose in a staging subscription before relying on it in production.
When the matching deal belongs to another order: the title search does not check whether the deal it finds is already linked to another order. If two different orders get the same title, for example after the title formula is changed to leave out the transaction number, the second order matches the first order's deal. With Update and Link, iPaaS.com first updates that deal with the second order's values and products, then refuses to link it, because the deal is already linked to the first order: the second order's transfer fails with an error that says the external ID must be unique, and every retry of that order overwrites the deal again. Until the first order is transferred again, its deal shows the second order's products and value. With Error, the second order is refused and nothing is written. The default title formula includes the transaction number, so this happens only when the formula is changed. To see the titles in Pipedrive, open Deals and choose the Order History Pipeline in the pipeline selector: each deal card shows its title, for example Order 10045 (an example only). If it has happened, correct the title formula, dismiss the second order's error in Dashboard / Integration Monitoring / Error Logs, transfer the first order again so its deal gets back its own products, then transfer the second order again so it gets its own deal. Validate these steps in a staging subscription before relying on them in production.
Update Pipedrive Deal FROM iPaaS.com updates only deals that are already linked, so it never looks for a matching deal and has no collision to handle. Set the Collision Handling Method on Add Pipedrive Deal FROM iPaaS.com.
Unmapped Field Overwrite Risk
An update writes only the mapped values that are not blank. Pipedrive deal fields you do not map, and mapped fields whose iPaaS.com value is blank, keep their Pipedrive values, so no keep formulas are needed in these collections. By default Update Pipedrive Deal FROM iPaaS.com maps only the status: the deal's title, owner, person, organization, currency, won time and value are kept. The products of an order-history deal are the exception: they are replaced as a whole with the order's current lines on every update, so products a user adds to or edits on an order-history deal in Pipedrive are replaced. A value removed in iPaaS.com is not cleared in Pipedrive; change or clear it in Pipedrive.
Supported Child Collections
Add Pipedrive Deal FROM iPaaS.com (parent): creates the order-history deal for an order that is not linked yet.
Pipedrive Deal Product FROM iPaaS.com (Add): the order's lines, written as the new deal's products right after the deal is created, in the same transfer. When adding the lines fails, the new deal is removed again, so a retry of the order starts clean.
Update Pipedrive Deal FROM iPaaS.com (parent): sends later changes of an order that is linked to a deal.
Pipedrive Deal Product FROM iPaaS.com (Update): the order's current lines, which replace the products of an order-history deal in the same transfer as its other changes. A deal in a sales pipeline keeps its products, and this collection writes nothing to it.
Each line is linked by the external ID deal id followed by | and the product's id on the deal. The line collections have no trigger or Manual Sync of their own and always run with their parent order; to resend the lines of an order, transfer the order again. A failure in the parent transfer stops the lines too.
System Caveats
Pipedrive Caveats
Title required: Pipedrive requires a title on a new deal (Pipedrive Deals API, "Add a new deal" lists title as its required field, read 2026-11-23).
Required line values: Pipedrive requires a product, a price and a quantity on every deal product (Pipedrive Deal Products API, "Add a product to a deal" requires
product_id,item_priceandquantity, read 2026-11-23).Deal value: Pipedrive totals a deal from its products (Pipedrive Deal Products API, a deal product "contributes to the total value of the deal", read 2026-11-23), so the integration does not write a value to a deal that has products. An order without lines gets no value from the default mappings.
Deal status: the integration sends only the status
open,wonorlost, and it sends a won time only for a won deal, so a lost deal gets no won time.Unique product codes: when several Pipedrive products have a line's code, the transfer fails with an error that lists them. Give each product a unique code in Pipedrive.
Deleted or merged deals: when the linked deal no longer exists in Pipedrive, the update fails with an error. Ask your MiSP or iPaaS.com Support to remove the old link in iPaaS.com, then send the transaction again.
Rate limiting: When Pipedrive limits the request rate, the transfer is rescheduled automatically to run after Pipedrive's limit resets (60 seconds when Pipedrive gives no reset time). No action is required.
Connected Pipedrive company: The integration writes deals to the Pipedrive company that was connected when Authenticate was clicked on the subscription, as the Pipedrive user who connected it. A deal that user cannot see or edit cannot be written; click Authenticate again, signed in as a Pipedrive user who can see and edit these deals (an admin is simplest).
iPaaS.com Caveats
Collision Handling Method: set Update and Link on Add Pipedrive Deal FROM iPaaS.com before turning on automatic transfers (see Collision Handling under Duplicate or Conflicting Mappings).
Completed status: replace the filter's
Completewith your completed status before turning on automatic transfers (see the Mapping Filter of Add Pipedrive Deal FROM iPaaS.com under Mappings).Linked orders only: an order reaches Update Pipedrive Deal FROM iPaaS.com only when its transaction is already linked to a Pipedrive deal.
Parent first: the lines are written only as part of the parent order's transfer.
Errors: Failed transfers appear in Dashboard / Integration Monitoring / Error Logs. An order skipped by the mapping filter logs nothing.
Integration-Specific Caveats
Order History Pipeline: orders are written as won deals at the first stage of the pipeline named in the Order History Pipeline setting, never into a sales pipeline, and a deal is never moved to another pipeline or stage. The setting accepts the pipeline's id, its name or the pipeline's page address copied from Pipedrive. An id is safest: a name stops matching when the pipeline is renamed. When the setting is empty, names no pipeline, or the pipeline has no stage, every new order fails with an error that says what to fix.
Order-history and sales deals on update: a deal counts as order history only when it is in the pipeline the Order History Pipeline setting names. Its mapped values are written and its products are replaced with the order's current lines when the order has lines. A deal in any other pipeline, usually one a rep won, gets only its mapped values; its products are kept, and so is its value when it has products. Keep the setting saved on the subscription and naming the same pipeline: when it no longer matches, order-history deals are treated as sales deals and keep their old products.
Currency: the default mappings do not set a currency, so each new deal takes the Price Currency setting, else the default currency of the Pipedrive user who connected the subscription. When your orders use more than one currency, add a mapping to Currency on Add Pipedrive Deal FROM iPaaS.com that returns the order's three-letter currency code (for example
EUR). A mapped value or a Price Currency setting that is not a three-letter code fails the transfer with an error.Status formula: the default formula makes an order whose status is Cancelled, Refunded or Returned a lost deal and every other order, including Partially Refunded, a won deal. Keep the formulas of the Add and the Update collection the same.
Related records sent first: the order's company, customer and line products are sent to Pipedrive through their own collections before the deal, so their filters and mappings apply. If a collection's filter skips the company or customer, the deal is written without that organization or person. A customer sent this way is written without first sending its own related companies, so the person is placed in an organization only when that company is already in Pipedrive, as the order's company is; validate this case in a staging subscription before relying on it in production.
Disabled and discontinued products: the default IsActive formula of Add/Update Pipedrive Product FROM iPaaS.com makes a product whose status is Disabled or Discontinued, or that has no status, a product that cannot be added to deals in Pipedrive. An order line for such a product may then fail to be written. Change that formula if such products are sold, and validate the case in a staging subscription before relying on it in production.
Unique titles: an order whose title repeats an earlier order's matches that order's deal, and with Update and Link overwrites it before the transfer fails (see Collision Handling under Duplicate or Conflicting Mappings). Keep the transaction number in the title, and change the title formula before the first order arrives, not on a live subscription.
Large deals: replacing products is supported for deals with up to 500 products.
Setup Requirements
The integration-wide setup (connecting Pipedrive with Authenticate, the subscription settings) is described in the Pipedrive Installation Instructions and Pipedrive Connections and Settings articles and is not repeated here. For these collections:
Pipedrive Configuration
Order history pipeline: create a pipeline in Pipedrive for imported orders (for example Order History, an example only) with at least one stage. Use it for order history only.
Product codes: give every Pipedrive product that order lines can name the code (SKU) your store or ERP uses for it, unique in Pipedrive, or let Add/Update Pipedrive Product FROM iPaaS.com create the products.
Connected user: the Pipedrive user who connected the subscription must be able to see and edit the deals, people, organizations and products to be written.
iPaaS.com Configuration
Order History Pipeline: enter the pipeline's id, its name or its page address in the subscription's Order History Pipeline setting. Optionally set Price Currency to the three-letter currency code of your orders, for example
EUR.Completed status: in the filter of Add Pipedrive Deal FROM iPaaS.com, replace
Completewith the status your source system gives a completed order.Collision Handling Method: set the Collision Handling Method of Add Pipedrive Deal FROM iPaaS.com to Update and Link on the collection's settings page.
Related collections: keep Add/Update Pipedrive Organization FROM iPaaS.com, Add/Update Pipedrive Person FROM iPaaS.com and Add/Update Pipedrive Product FROM iPaaS.com in the subscription, with their own collision method set. You do not need to transfer companies, customers or products before their orders.
Scopes: turn on
transaction/createdandtransaction/updatedunder Outbound Data Flows on the subscription.
[Screenshot needed: the subscription's Outbound Data Flows section with the transaction/created and transaction/updated scopes turned on]
Authentication & Security
The subscription connects to Pipedrive through Authenticate (the lock icon), signed in to Pipedrive; there is no API key to enter. See Pipedrive Connections and Settings for the connection details.
Integration Flow
When a transaction scope fires or a Manual Sync is started, iPaaS.com sends an order that is not linked to a deal through Add Pipedrive Deal FROM iPaaS.com and a linked order through Update Pipedrive Deal FROM iPaaS.com. Only orders that pass the collection's mapping filter are written; an order the filter skips is not sent and nothing is logged.
Before either collection writes the deal, the integration sends the records the order needs to Pipedrive, in this order, each only when it is not linked in Pipedrive yet:
The order's company, through Add/Update Pipedrive Organization FROM iPaaS.com, when the order has a company.
The order's customer, through Add/Update Pipedrive Person FROM iPaaS.com, when the order has a customer. The company goes first so the person can be placed in its organization.
Each line's product, through Add/Update Pipedrive Product FROM iPaaS.com, once per distinct SKU, when iPaaS.com has a product with that SKU.
If sending one fails, the order's transfer fails too, with an error that names the record; fix that error and the order follows. If a line's product does not reach Pipedrive, the order fails at the line check below and nothing is written.
A new order through Add Pipedrive Deal FROM iPaaS.com is then processed in this order:
Find the pipeline. The integration finds the pipeline named in the Order History Pipeline setting. When the setting is empty or names no Pipedrive pipeline, the transfer fails with an error and no deal is written.
Check the title. A transaction without a title fails with an error.
Check for a recent create. When the integration itself created a deal with this title in the pipeline within about the last minute, it updates that deal instead, so a quick second send does not create a second deal.
Match by title. Otherwise it looks in the Order History Pipeline for a deal with exactly this title. When it finds one, it writes nothing and hands the match to the collection's Collision Handling Method (see Collision Handling under Duplicate or Conflicting Mappings). When it finds several, the transfer fails with an error that lists them.
Find the person and organization. It finds the deal's Pipedrive person and organization through the links of the order's customer and company. When one has no Pipedrive link, the deal is written without it.
Check every line. Before the first write, each line needs a price, a quantity and a Pipedrive product for its SKU. When any line fails a check, the transfer fails with an error that lists the lines, and no deal is written.
Create the deal. It creates the deal in the first stage of the Order History Pipeline, with the mapped values. A new deal without a mapped status is won.
Add the lines. It adds the lines to the deal as its products. When adding the lines fails, the integration removes the new deal again, so a retry starts clean.
Save the links. The deal is returned to iPaaS.com, which saves the deal id as the order's external ID and the link of each line.
A change to a linked order through Update Pipedrive Deal FROM iPaaS.com is processed in this order:
Read the linked deal. The integration reads the deal from Pipedrive. When the deal no longer exists (deleted or merged), the transfer fails with an error.
Check the pipeline. It checks whether the deal is in the pipeline named in the Order History Pipeline setting.
Check every line (order-history deals). For an order-history deal whose order has lines, each line needs a price, a quantity and a Pipedrive product for its SKU before the first write. When any line fails a check, the transfer fails with an error that lists the lines, and the deal is not changed.
Replace the products (order-history deals). For such a deal, it removes the deal's current products, writes the mapped values, and adds the order's lines as the new products. When any of these writes fails, the integration puts the previous products back, so the deal keeps the products it had.
Write the mapped values (sales deals). For a deal in a sales pipeline, it writes only the mapped values and keeps the deal's products. When there is nothing to write, nothing is sent to Pipedrive.
Save the links. The deal is returned to iPaaS.com, which keeps the link to the order and saves the links to any new lines.
[Screenshot needed: a won order-history deal in Pipedrive created from an iPaaS.com order, showing its title, status, person, organization and products]
Mappings
Add Pipedrive Deal FROM iPaaS.com
iPaaS.com data type: Transaction
Mapping Filter:
// Completed orders (not returns, quotes or invoices) that belong to a customer or company. An order that started as a Pipedrive deal is already linked to it, so iPaaS.com sends its changes through Update Pipedrive Deal FROM iPaaS.com, never here. // REPLACE "Complete" with your source's completed status. return Type == "Order" && Status == "Complete" && (CustomerId != null || CompanyId != null);
Filter Description: only transactions of type Order (Type == "Order") whose status is Complete (Status == "Complete") and that have a customer, a company or both (CustomerId != null || CompanyId != null) are transferred. Returns, quotes, invoices, orders in any other status and orders without a customer or company are skipped, and nothing is logged for them. An order created with another status and completed later still arrives: when it is completed, iPaaS.com sends it through this filter. Keep the Type == "Order" condition and the customer-or-company condition.
Placeholder value — replace during implementation: Complete is an example of a completed status. Replace it with the status your source system gives an order when it is complete, for example Shipped (an example only). The iPaaS.com transaction statuses are Pending, Complete, Cancelled, Shipped, Backorder, Refunded, Partially Refunded, Partially Shipped, Awaiting Pickup, Awaiting Payment, On Hold, Processing, Returned and Draft. While the filter names a status your orders never have, no order is written and no error appears.
Description: creates a won deal in the Order History Pipeline for a completed iPaaS.com order that is not linked to a deal yet, with a title built from the transaction number, a won or lost status from the order status, the won time, and the order's customer and company as the deal's person and organization.
Field Mapping Table
Mapping Type | Source Field (iPaaS.com) | Destination Field (Pipedrive) | Description |
Dynamic Formula |
| Title | Required. The deal title: the word |
Dynamic Formula |
| Status | Recommended. An order whose iPaaS.com status is Cancelled, Refunded or Returned becomes a lost deal; every other status, including Partially Refunded, becomes a won deal. The comparison is exact. To make another status lost, add it to the list in the same form, for example |
Dynamic Formula |
| WonTime | Recommended. The date and time the deal was won: the transaction's created date and time, written as text because this field holds text. The integration reads a value without a time zone as UTC and sends it to Pipedrive in UTC. The won time is sent only when the deal is won; a lost deal gets no won time. A value the integration cannot read as a date and time is left out, and the deal is still created. |
Field | CustomerId | IPaaSCustomerId | Recommended. The order's iPaaS.com customer. Before the deal is written, the integration sends this customer to Pipedrive through Add/Update Pipedrive Person FROM iPaaS.com when it is not linked yet (after the company), then uses the customer's link to set the deal's Pipedrive person. When the customer has no Pipedrive link after that (for example, the person filter skipped it), the deal is created without a person. The customer is sent first whenever the order has one, even if this mapping is removed; removing the mapping only leaves the person off the deal. |
Field | CompanyId | IPaaSCompanyId | Recommended. The order's iPaaS.com company. Before the deal is written, the integration sends this company to Pipedrive through Add/Update Pipedrive Organization FROM iPaaS.com when it is not linked yet, then uses the company's link to set the deal's Pipedrive organization. When the company has no Pipedrive link after that (for example, the organization filter skipped it), the deal is created without an organization. The company is sent first whenever the order has one, even if this mapping is removed; removing the mapping only leaves the organization off the deal. |
Pipedrive Deal Product FROM iPaaS.com (Add)
iPaaS.com data type: Transaction Line
Description: writes the order's lines as the products of the new order-history deal, as part of every transfer through Add Pipedrive Deal FROM iPaaS.com, with the Pipedrive product that matches each line's SKU, its unit price, its quantity and its discount amount. This collection has no mapping filter: every line of the parent order is processed.
Field Mapping Table
Mapping Type | Source Field (iPaaS.com) | Destination Field (Pipedrive) | Description |
Field | Sku | Sku | Required. The line's SKU, used to find the Pipedrive product. The integration first looks for the iPaaS.com product with this SKU and uses the Pipedrive product it is linked to; otherwise it looks for a Pipedrive product whose code is exactly this SKU, compared without regard to case. When a line has no SKU, or no Pipedrive product matches it, the whole order fails with an error that lists the lines, and no deal is created. When several Pipedrive products have the code, the order fails with an error that lists them. |
Field | Description | Name | Optional. The line's description. It is not written to Pipedrive: the deal product points to the Pipedrive product found by the SKU. The integration uses it to name a line in error messages when the line has no SKU. |
Field | UnitPrice | ItemPrice | Required. The price of one unit, from the iPaaS.com line's unit price. A price of 0 is sent as 0 (a free line). The integration never makes up a price: when any line has no price, the whole order fails with an error that lists the lines, and no deal is created. Pipedrive requires a price on every deal product. |
Field | Qty | Quantity | Required. The quantity ordered. The integration never makes up a quantity: when any line has no quantity, the whole order fails with an error that lists the lines, and no deal is created. Pipedrive requires a quantity on every deal product. |
Field | DiscountAmount | Discount | Optional. The line's discount, as the amount the iPaaS.com line carries. It is written together with DiscountType, which tells Pipedrive the value is an amount. When the line has no discount amount, no discount is sent and Pipedrive applies none. |
Static |
| DiscountType | Optional. Tells Pipedrive that Discount is an amount, not a percentage. This is a designed constant: iPaaS.com line discounts are amounts. Pipedrive accepts |
Dynamic Formula |
| ProductId | Recommended. For a line whose SKU is an iPaaS.com product variant, the Pipedrive product of the variant's parent, so the deal shows the parent and the variant details stay in the line's comment. When it returns nothing, the product is found by the SKU as its Pipedrive code. The parent must already be in Pipedrive: send it through Add/Update Pipedrive Product FROM iPaaS.com first. Without this mapping, a line whose SKU is a variant fails the order. |
Field | Description | Comments | Recommended. The line's description, written as the deal product's comment; for a variant line it shows which variant was sold. |
Field | TaxPercent | TaxRate | Optional. The line's tax rate in percent. When the order's lines carry no tax rate (tax sent only for the whole order), the rate is 0 and no tax is shown. Pipedrive's deal value never includes tax. |
Dynamic Formula |
| TaxMethod | Optional. |
Update Pipedrive Deal FROM iPaaS.com
iPaaS.com data type: Transaction
Mapping Filter:
// Every update of a transaction already linked to a Pipedrive deal: order history changes, and a back-office cancel that marks a rep's won deal lost (needs the transaction/updated webhook). return true;
Filter Description: every change of an order that is already linked to a Pipedrive deal is transferred (return true;): changes of order-history deals, and a back-office cancel, refund or return that marks a rep's won deal lost. An order that is not linked is never sent through this collection. You can narrow the filter to your business rules, for example to send only changes that mark a deal lost.
Description: sends changes of iPaaS.com orders that are already linked to a Pipedrive deal. By default it writes only the deal's status, so a cancel, refund or return in your back office marks the deal lost. A deal is never moved to another pipeline or stage, and its title, owner, person and organization are kept unless you map them.
Field Mapping Table
Mapping Type | Source Field (iPaaS.com) | Destination Field (Pipedrive) | Description |
Dynamic Formula |
| Status | Recommended. The Pipedrive deal status, set on every update of a linked order. An order whose iPaaS.com status is Cancelled, Refunded or Returned marks its deal lost; every other status, including Partially Refunded, marks it won. This is how a cancel in your back office reaches the deal a rep won in Pipedrive. To make another status lost, add it to the list in the same form, and make the same change in Add Pipedrive Deal FROM iPaaS.com so both collections agree. The value sent must be |
Dynamic Formula |
| WonTime | Recommended. The date and time the deal was won: the order's created date and time (TransactionCreatedDateTime), written as text because this field holds text. It is sent with every update of a won deal because Pipedrive resets a deal's won time to the moment of the update whenever the deal is sent as won without one: without this mapping, every update of an order would replace the order's date with the date of the update. The integration reads a value without a time zone as UTC and sends it to Pipedrive in UTC; Pipedrive shows the same moment the order was created. The won time is sent only when the deal is won; a lost deal gets no won time. Keep this formula the same as the WonTime mapping of Add Pipedrive Deal FROM iPaaS.com. |
Pipedrive Deal Product FROM iPaaS.com (Update)
iPaaS.com data type: Transaction Line
Description: replaces the products of an order-history deal with the current lines of its iPaaS.com order, as part of every transfer through Update Pipedrive Deal FROM iPaaS.com. A deal in a sales pipeline keeps its products, and its lines are not checked. This collection has no mapping filter: every line of the parent order is processed when the deal is an order-history deal. Keep these mappings the same as in Pipedrive Deal Product FROM iPaaS.com (Add), so a deal's products look the same after an update as after the add.
Field Mapping Table
Mapping Type | Source Field (iPaaS.com) | Destination Field (Pipedrive) | Description |
Field | Sku | Sku | Required. The line's SKU, used to find the Pipedrive product, in the same way as in Pipedrive Deal Product FROM iPaaS.com (Add): the Pipedrive product linked to the iPaaS.com product with this SKU, otherwise a Pipedrive product whose code is exactly this SKU, compared without regard to case. When a line has no SKU, or no Pipedrive product matches it, the whole update fails with an error that lists the lines, and the deal is not changed. When several Pipedrive products have the code, the update fails with an error that lists them. |
Field | Description | Name | Optional. The line's description. It is not written to Pipedrive: the deal product points to the Pipedrive product found by the SKU. The integration uses it to name a line in error messages when the line has no SKU. |
Field | UnitPrice | ItemPrice | Required. The price of one unit, from the iPaaS.com line's unit price. A price of 0 is sent as 0 (a free line). When any line has no price, the whole update fails with an error that lists the lines, and the deal is not changed. Pipedrive requires a price on every deal product. |
Field | Qty | Quantity | Required. The quantity ordered. When any line has no quantity, the whole update fails with an error that lists the lines, and the deal is not changed. Pipedrive requires a quantity on every deal product. |
Field | DiscountAmount | Discount | Optional. The line's discount, as the amount the iPaaS.com line carries, written together with DiscountType. When the line has no discount amount, no discount is sent and Pipedrive applies none. |
Static |
| DiscountType | Optional. Tells Pipedrive that Discount is an amount, not a percentage. This is a designed constant: iPaaS.com line discounts are amounts. Pipedrive accepts |
Dynamic Formula |
| ProductId | Recommended. For a line whose SKU is an iPaaS.com product variant, the Pipedrive product of the variant's parent, so the deal shows the parent and the variant details stay in the line's comment. When it returns nothing, the product is found by the SKU as its Pipedrive code. The parent must already be in Pipedrive: send it through Add/Update Pipedrive Product FROM iPaaS.com first. Without this mapping, a line whose SKU is a variant fails the order. |
Field | Description | Comments | Recommended. The line's description, written as the deal product's comment; for a variant line it shows which variant was sold. |
Field | TaxPercent | TaxRate | Optional. The line's tax rate in percent. When the order's lines carry no tax rate (tax sent only for the whole order), the rate is 0 and no tax is shown. Pipedrive's deal value never includes tax. |
Dynamic Formula |
| TaxMethod | Optional. |
Dynamic Formula Documentation
The template formulas for Status (on both deal collections) and WonTime start with a comment line. The tables show their code on one line; the templates ship them as follows:
// Cancelled, refunded or returned orders become lost deals; every other status is a won order. return Status == "Cancelled" || Status == "Refunded" || Status == "Returned" ? "lost" : "won";
// A date-time can't be mapped straight into this text field: format it (the integration reads it as UTC). return Convert.ToString(TransactionCreatedDateTime, System.Globalization.CultureInfo.InvariantCulture);
Lookup Translation Tables: None. These collections use no lookup translation.
Error Handling
Errors from these collections appear in iPaaS.com under Dashboard / Integration Monitoring / Error Logs. For the full catalog of messages, causes and resolutions, see the Pipedrive Error Messages article. The errors you are most likely to see on an order transfer:
Order History Pipeline not set:
PIPD-VALD-1010, "The Order History Pipeline setting is empty. Create a pipeline in Pipedrive for imported orders (for example 'Order History') and enter its id (or its name) in the subscription's Order History Pipeline setting. Orders are never written into a sales pipeline." Enter the pipeline in the setting, then send the transaction again.Order History Pipeline not found:
PIPD-NFND-1007, "No Pipedrive pipeline matches '{setting}' (the Order History Pipeline setting). Enter the pipeline's id, or its current name."Order History Pipeline has no stage:
PIPD-BIZL-1008, "The Order History Pipeline (Pipedrive pipeline {pipeline id}) has no stage. Add a stage to it in Pipedrive (for example 'Order'), then send the transaction again."Deal without a title:
PIPD-VALD-1011, "A Pipedrive deal needs a title. Map the transaction number to Title (the default mapping does)."Several order-history deals with one title:
PIPD-BIZL-1006, "The Order History Pipeline has {count} deals titled '{title}' (deals {ids}). Delete or merge the extra ones in Pipedrive, then send the transaction again."Duplicate refused by the Collision Handling Method: when the Collision Handling Method of Add Pipedrive Deal FROM iPaaS.com is Error and the Order History Pipeline has a deal with the order's title, iPaaS.com refuses the transfer with a duplicate error and nothing is written to Pipedrive. Rename or remove the duplicate deal, or set the method to Update and Link, then send the transaction again.
Order line without a price or quantity:
PIPD-VALD-1016, "Transaction '{title}' has lines without a price or quantity: {lines}. Map Item Price and Quantity in the Pipedrive Deal Product FROM iPaaS.com (Add) and (Update) collections (or fill them on the order), then send the transaction again. Nothing was written."Order line product not in Pipedrive:
PIPD-NFND-1008, "Transaction '{title}' has lines whose product is not in Pipedrive: {SKUs}. Send those products FROM iPaaS.com first (the Add/Update Pipedrive Product FROM iPaaS.com collection, matched by code), then send the transaction again. Nothing was written." Check that each SKU is an iPaaS.com product that passes the product collection's filter, or give a Pipedrive product that code.Several products with one code:
PIPD-BIZL-1003, "Pipedrive has several products with code {code} (products {ids}). Give each a unique code in Pipedrive, then send the record again."Unknown deal status:
PIPD-VALD-1013, "Deal status '{status}' is not open, won or lost. Map the transaction status to one of those (the default formula maps cancelled, refunded and returned orders to lost and every other order to won)." Correct the Status mapping so it returnsopen,wonorlost.Not a currency code:
PIPD-VALD-1004, "'{value}' in {source} is not a three-letter currency code (for example USD or EUR). Correct it, then send the record again." Correct the Currency mapping or the Price Currency setting named in {source}.Deal update without an id:
PIPD-VALD-1012, "Cannot update a Pipedrive deal without its id (got '{id}'). Send the record again from iPaaS.com; if it keeps failing, ask your MiSP or iPaaS.com support to remove its Pipedrive link in iPaaS.com, then send it again so it is created or matched."Deal to update not found:
PIPD-NFND-1005, "Pipedrive has no deal {id} to update (it may have been deleted or merged). Ask your MiSP or iPaaS.com support to remove the old link in iPaaS.com, then send the transaction again."Related record failed FROM iPaaS.com:
PIPD-VALD-1015, "This record needs iPaaS.com {related record} {id} in Pipedrive first, and sending it failed: {reason}. Fix that error; this record will follow." The order's company, customer or a line's product failed to transfer through its own collection. Fix the error named in {reason}, then resend the order.Pipedrive rejected the data:
PIPD-EXTN-1008,PIPD-EXTN-1009andPIPD-EXTN-1005, "Pipedrive refused the request while {action}: {reason} (HTTP {status}, x-request-id {request id})." Fix the value Pipedrive names in {reason}, in the order, the mapping or the setting it comes from, then resend the order.Pipedrive rate limit:
PIPD-EXTN-1001, "Pipedrive limited the request rate while {action}. iPaaS.com will retry after {seconds} seconds." The transfer is rescheduled automatically; no change is needed for an occasional error. If it comes back every day, spread large sends over time.Pipedrive unreachable or server error:
PIPD-EXTN-1002("Could not reach Pipedrive at {Pipedrive address} while {action}: {reason}. The transfer will be retried.") andPIPD-EXTN-1003("Pipedrive answered {status} while {action} (x-request-id {request id}). The transfer will be retried."). Both are retried; check Pipedrive's status page if they persist.Pipedrive refused the connection:
PIPD-AUTH-1006, "Pipedrive refused the connection while {action}. Click Authenticate (the lock icon) on the subscription to connect Pipedrive again." Click Authenticate and sign in to Pipedrive again, then resend the order.Not allowed for the connected user:
PIPD-AUTZ-1001, "The connected Pipedrive user may not do this ({action}): {reason}. Click Authenticate again, signed in as a Pipedrive user who can see and edit these records (an admin is simplest)."iPaaS.com API call failed:
PIPD-INTL-1001, "A call to iPaaS.com's API failed while looking up or linking a record (HTTP {status}). Send the record again; if it keeps failing, contact iPaaS.com support with this error." This can occur while the order checks whether its company, customer or products are already linked. Resend the order; if it keeps failing, contact your MiSP or iPaaS.com Support.
Testing & Validation
Test Scenarios
Set the Order History Pipeline setting to a Pipedrive pipeline with at least one stage, set the Collision Handling Method of Add Pipedrive Deal FROM iPaaS.com to Update and Link, and replace
Completein its filter with your completed status. Create an order with a customer, a company and two lines in iPaaS.com and give it the completed status. Verify that a won deal titledOrderand the transaction number is created at the first stage of that pipeline, with the person, the organization and one product per line, and that the order and its lines are linked to it.Verify that the order's company, customer and line products were sent to Pipedrive first when they were not there yet, and that the deal points to them.
Transfer the order from the iPaaS.com Manual Sync page using its iPaaS.com transaction id and verify that the same deal is updated, not duplicated.
Change a line's quantity on the order and verify that the deal's products are replaced with the order's current lines. Cancel the order and verify that the deal becomes lost.
Win a deal in a sales pipeline in Pipedrive, let it reach iPaaS.com as an order, then cancel that order in iPaaS.com. Verify that the deal becomes lost, stays in its pipeline and keeps its products.
Give an order a line without a price, or with a SKU that no iPaaS.com or Pipedrive product has, and verify that the transfer fails with
PIPD-VALD-1016orPIPD-NFND-1008and that no deal is written.Create a deal in the Order History Pipeline with the title a new order will get, then transfer that order and verify that, with Update and Link, the existing deal is updated and linked instead of a second deal being created.
Clear the Order History Pipeline setting and verify that a new order fails with
PIPD-VALD-1010.Give an order a status the filter does not name, and an order without a customer or company, and verify that both are skipped and nothing is logged.
Validation Checklist
The Order History Pipeline setting names a Pipedrive pipeline, preferably by its id, and the pipeline has at least one stage.
The filter of Add Pipedrive Deal FROM iPaaS.com names your source system's completed status.
The Collision Handling Method of Add Pipedrive Deal FROM iPaaS.com is set to Update and Link, or deliberately to another method.
The Status formulas of Add Pipedrive Deal FROM iPaaS.com and Update Pipedrive Deal FROM iPaaS.com are the same and match the statuses your systems use.
The
transaction/createdandtransaction/updatedscopes are turned on under Outbound Data Flows.Every SKU that can appear on an order line is an iPaaS.com product that passes the filter of Add/Update Pipedrive Product FROM iPaaS.com, or a unique code of a Pipedrive product.
The filter of Add/Update Pipedrive Deal TO iPaaS.com still leaves out order-history deals, and one system is the source of truth for each deal's status.
The Pipedrive user who connected the subscription can see and edit the deals, people, organizations and products to be written.
Additional Notes
Out of Scope
Deleted transactions: deleting a transaction in iPaaS.com does not delete or change the Pipedrive deal.
Pipedrive custom fields: Pipedrive custom fields on deals and deal products are not written.
Sales pipelines: orders are never written into a sales pipeline, and a deal is never moved to another pipeline or stage.
Products of sales deals: the products of a deal outside the Order History Pipeline are never changed.
Shipping and invoice details: shipment tracking and invoice details are not written to the deal.
Pipedrive price variations: a variant line is written on its parent product with the variant described in the comment, not on a Pipedrive price variation.
Initial load: there is no bulk initialization of existing orders; transfer older orders with Manual Sync.
Known Limitations
At the time this documentation was written:
Reports: order-history deals are won deals, so Pipedrive reports of won deals that span every pipeline include them. Filter such reports by pipeline.
Deal values: an order-history deal's value is Pipedrive's total of its products before tax, so it differs from the iPaaS.com order total whenever the order has tax or shipping. Line tax is shown on each line; tax the order carries only as a whole is not carried.
Clearing values: a value removed in iPaaS.com is not cleared in Pipedrive; change or clear it in Pipedrive.
Large deals: replacing products is supported for deals with up to 500 products.
Related Documents
Related Mapping Documentation
