Add product to deal
Puts a product line on a Pipedrive deal with its price and quantity.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Pipedrive connection the step signs in with. |
| Deal idRequired | text |
| Product idRequired | The List records node, set to Products, gives you the id. |
| Quantity | number |
| Discount | number |
| Discount is | "percentage" or "amount" |
| Tax | Read the way the company's tax setting says — a percentage or an amount. |
| Variation id | Leave at 0 for the product itself rather than one of its variations. |
| Comment | text |
| Price per unit | Leave empty to use the product's own price in the deal's currency; 0 adds the line free. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `pipedrive`) |
dealId | textits `{{ }}` must give a string |
productId | number |
quantity | number, by default 1 |
discount | number |
discountType | "percentage" or "amount", by default "percentage" |
tax | number |
productVariationId | number, by default 0 |
comments | text |
itemPrice | number |
Output
| Field | Type |
|---|---|
productAttachmentIdProduct line id | string |
productAttachmentProduct line | object |
Sample output, and the expression for each field
- productAttachment
- id1
- productAttachmentId"1"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"comments": "",
"connection": "<connection id>",
"dealId": "<deal id>",
"discountType": "percentage",
"productId": 1,
"productVariationId": 0,
"quantity": 1
},
"label": "Add product to deal",
"type": "pipedrive.addProductToDeal",
"version": 3
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 2
| Setting | What it is |
|---|---|
| ConnectionRequired | The Pipedrive connection the step signs in with. |
| Deal idRequired | text |
| Product idRequired | The List records node, set to Products, gives you the id. |
| Quantity | number |
| Discount | number |
| Discount is | "percentage" or "amount" |
| Tax | Read the way the company's tax setting says — a percentage or an amount. |
| Variation id | Leave at 0 for the product itself rather than one of its variations. |
| Comment | text |
| Price per unit | Leave empty to use the product's own price in the deal's currency; 0 adds the line free. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `pipedrive`) |
dealId | textits `{{ }}` must give a string |
productId | number |
quantity | number, by default 1 |
discount | number, by default 0 |
discountType | "percentage" or "amount", by default "percentage" |
tax | number, by default 0 |
productVariationId | number, by default 0 |
comments | text |
itemPrice | number |
Version 1
| Setting | What it is |
|---|---|
| ConnectionRequired | The Pipedrive connection the step signs in with. |
| Deal idRequired | text |
| Product idRequired | The List records node, set to Products, gives you the id. |
| Quantity | number |
| Discount | number |
| Discount is | "percentage" or "amount" |
| Tax | Read the way the company's tax setting says — a percentage or an amount. |
| Variation id | Leave at 0 for the product itself rather than one of its variations. |
| Comment | text |
| Price per unit | Leave at 0 to use the product's own price in the deal's currency. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `pipedrive`) |
dealId | textits `{{ }}` must give a string |
productId | number |
quantity | number, by default 1 |
discount | number, by default 0 |
discountType | "percentage" or "amount", by default "percentage" |
tax | number, by default 0 |
productVariationId | number, by default 0 |
comments | text |
itemPrice | number, by default 0 |