NinjaPipe icon

NinjaPipe

Production-ready NinjaPipe node with one action interface, safer validation, Databin webhook support, and update-friendly UX

Deal → Update Deal

AI-generated

Summary

Update a deal by ID using guided or raw JSON payload.

Inputs

  • showAdvanced — Show path override and raw JSON fields for special cases
  • resourcePathOverride — Custom endpoint path prefix, e.g. '/contacts'
  • id (required) — Unique identifier of the deal to update
  • useGuidedFields — Enable guided field editing
  • dealName — Deal name
  • dealTitle — Deal title
  • dealStatus — Status option (Open, In Progress, Won, Lost)
  • dealValue — Deal value amount
  • dealCurrency — Currency code (EUR, USD, etc.)
  • dealOwner — Owner identifier or name
  • dealPipelineId — Pipeline identifier
  • dealCompanyId — Company identifier
  • dealContactId — Contact identifier
  • dealNotes — Additional notes for the deal
  • additionalFields — Key‑value pairs for extra fields
  • customFields — Custom field definitions and values
  • advancedBodyJson — Extra JSON merged into the request body
  • rawBodyJson — Full JSON body when guided fields are disabled

Output shape

a single deal record (object)

Returns the updated deal object; fields omitted if not provided; errors propagate as node operation errors

Examples

Example 1: Update a deal using guided fields

resource=deal, operation=update, id=123, useGuidedFields=true, dealStatus=Open, dealValue=5000, dealCurrency=EUR

Example 2: Update a deal with custom fields and raw body

resource=deal, operation=update, id=456, useGuidedFields=false, rawBodyJson='{"custom_fields":{"favorite_color":"blue"}}'

Example 3: Update with path override

resource=deal, operation=update, id=789, resourcePathOverride='/custom/deals', dealTitle=New Title

Links

Discussion