Overview
This node manages products associated with deals in RD Station CRM. It allows users to add, update, remove, or list products linked to a specific deal. This is useful for sales and CRM automation workflows where managing the product details within deals is necessary, such as updating quantities, prices, or discounts of products involved in a negotiation.
Practical examples:
- Automatically adding multiple products to a new deal created in RD Station CRM.
- Updating product quantities or prices in an ongoing deal based on external inventory or pricing changes.
- Removing discontinued or irrelevant products from a deal before closing it.
- Listing all products currently associated with a deal for reporting or further processing.
Properties
| Name | Meaning |
|---|---|
| ID do Negócio | The unique identifier of the deal to which the products are or will be linked (required). |
For the "remove" operation:
| Name | Meaning |
|---|---|
| IDs dos Produtos | List of product IDs to be removed from the deal (at least one required). |
For the "add" and "update" operations:
| Name | Meaning |
|---|---|
| Produtos | List of products to add or update in the deal. Each product includes: |
| - ID do Produto: Product catalog ID (required) | |
| - Quantidade: Quantity of the product in the deal (required) | |
| - Valor Unitário: Unit price of the product in the context of the deal (required) | |
| - Desconto (%): Percentage discount applied to the product (0-100) | |
| - Total: Total value of the item; if not provided, it is calculated automatically |
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:
- Listar (getAll): Returns an array of products currently linked to the specified deal.
- Adicionar (add), Atualizar (update), Remover (remove): Returns confirmation and details of the batch operation performed on the deal's products.
No binary data output is produced by this node.
Dependencies
- Requires an authenticated connection to RD Station CRM via an API key credential configured in n8n.
- Uses the RD Station CRM API endpoint at
https://crm.rdstation.com/api/v1. - The node requires proper permissions to manage deal products in the RD Station CRM account.
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 must be provided.
- Empty Product List: For add or update operations, if no products are supplied, the node will throw an error requiring at least one product.
- Empty Product IDs: For the remove operation, if no product IDs are provided, an error is thrown requesting at least one product ID.
- API Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions.
- Network or API Errors: These may occur due to connectivity issues or API limits; enabling "Continue On Fail" can help process other items even if some fail.