Overview
This node manages products associated with deals in the RD Station CRM system. It allows users to add, update, remove, or list products linked to a specific deal. This is useful for automating sales workflows where product details within deals need to be synchronized or manipulated programmatically.
Common scenarios include:
- Adding multiple products to a new or existing deal.
- Updating quantities, unit prices, discounts, or totals of products already linked to a deal.
- Removing products from a deal when they are no longer relevant.
- Retrieving all products currently associated with a deal for reporting or further processing.
For example, a sales automation workflow could use this node to add a set of products to a deal after a customer selects items on an e-commerce platform, or update product pricing dynamically based on negotiated discounts.
Properties
| Name | Meaning |
|---|---|
| ID do Negócio | The unique identifier of the deal to which products will be added, updated, removed, or listed. |
| Produtos | A collection of products to add or update in the deal. Each product includes: |
| - ID do Produto: Product catalog ID to link. | |
| - Quantidade: Quantity of the product in the deal. | |
| - Valor Unitário: Unit price of the product in the context of the deal. | |
| - Desconto (%): Percentage discount applied to the product (0-100). | |
| - Total: Total value of the item (calculated automatically if not provided). | |
| IDs dos Produtos | (Only for removal operation) List of product IDs to remove from the deal. |
Output
The node outputs JSON data representing the response from the RD Station CRM API for each input item processed. The structure depends on the operation:
- Add / Update: Returns the updated list or confirmation of products added/updated in the deal.
- Remove: Returns confirmation of products removed.
- List (getAll): Returns an array of all products currently linked to the specified deal, including their details.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the RD Station CRM API.
- The node uses the base URL
https://crm.rdstation.com/api/v1for all requests. - Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
- Missing Deal ID: If the "ID do Negócio" property is empty or invalid, the node throws an error indicating that a valid deal ID is required.
- Empty Product List: For add or update operations, providing no products results in an error prompting to supply at least one product.
- Empty Product IDs for Removal: For the remove operation, failing to provide product IDs causes an error requiring at least one product ID.
- API Errors: Any errors returned by the RD Station CRM API (e.g., authentication failure, invalid product IDs) will be surfaced as node errors unless "Continue On Fail" is enabled.
- To resolve these issues, ensure all required fields are correctly filled and credentials are valid.
Links and References
- RD Station CRM API Documentation
- n8n Documentation on HTTP Request Node (for understanding request options)