Actions64
- Negociação Actions
- Contato Actions
- Empresa Actions
- Tarefa Actions
- Produto Actions
- Campanha Actions
- Fonte Actions
- Funil Actions
- Etapa do Funil Actions
- Motivo de Perda Actions
- Segmento Actions
- Campo Personalizado Actions
- Usuário Actions
- Equipe Actions
- Anotação Actions
- Produto na Negociação Actions
- Webhook Actions
Produto na Negociação → Criar
AI-generatedSummary
Adds a product to an existing RD Station CRM deal by POSTing to /deals/{dealId}/products, with optional quantity, price and discount values.
Inputs
- dealId (required) — ID of the deal that receives the product. It is used in the request URL.
- dealProductProductId (required) — Product to add, picked from a dropdown loaded from the account's products. It is sent as product_id. You can also set it with an expression.
- dealProductFields — Optional collection with Quantidade (amount, default 1), Preço (price), Desconto (discount) and Tipo de Desconto (discount_type: percentage or value). Any field you add is sent. Empty or null values are stripped before the request.
Output shape
One item per input item, containing the created deal-product record from the API's data field. If data is absent, the full response is returned instead.
If Continue On Fail is enabled, a failed item returns {error: message} instead of stopping the workflow. Otherwise the node throws a NodeApiError. Authentication uses the rdStationCrmOAuth2Api credential.
Examples
Example 1: Attach a product to a newly created deal at a negotiated price
dealId = {{$json.id}}, dealProductProductId = chosen product, dealProductFields: amount 2, price 450
Example 2: Add a product with a 10% discount
dealId set, product selected, fields: discount 10, discount_type Percentual