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 sales and marketing automation workflows where managing product details within deals is necessary.
Common scenarios:
- Adding multiple products to a new or existing deal to reflect what a customer is purchasing.
- Updating quantities, prices, or discounts of products already linked to a deal.
- Removing products that are no longer part of a deal.
- Retrieving all products currently associated with a deal for reporting or further processing.
Practical example:
A sales automation workflow could use this node to automatically add products to a deal when a customer places an order on an e-commerce platform, ensuring the CRM deal accurately reflects the sale.
Properties
| Name | Meaning |
|---|---|
| ID do Negócio | The unique identifier of the deal to which products are linked or from which they will be removed. |
| IDs dos Produtos | List of product IDs to be removed from the specified deal. Each entry requires the product's ID. |
Note: For the "Remover" operation, only the above properties are relevant.
Output
The node outputs JSON data representing the response from the RD Station CRM API after performing the requested operation. The structure varies depending on the operation:
- Remove operation: Returns confirmation or status about the removal of the specified products from the deal.
- Error handling: If an error occurs, the output JSON contains an
errorfield with the error message.
No binary data is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the RD Station CRM API.
- The node makes HTTP requests to the RD Station CRM endpoint at
https://crm.rdstation.com/api/v1. - Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
- Missing Deal ID: The node throws an error if the deal ID is not provided or invalid. Ensure the "ID do Negócio" property is filled correctly.
- No Product IDs Provided: For the remove operation, if no product IDs are given, the node will error out. Make sure to specify at least one product ID to remove.
- API Authentication Errors: If the API key credential is missing or invalid, requests will fail. Verify the credential setup in n8n.
- Network Issues: Connectivity problems to the RD Station CRM API endpoint can cause failures. Check network access and proxy settings if applicable.
Links and References
- RD Station CRM API Documentation (general reference for API endpoints)
- n8n Documentation - Creating Custom Nodes