PipeRun API icon

PipeRun API

Interact with the PipeRun CRM API.

Actions220

Deals → Duplicar Oportunidade

AI-generated

Summary

Duplicates a PipeRun deal into a specified pipeline and stage, assigning it to a new owner. Sends the selected options for copying related history and records, with additional controls for retaining users and adding custom request fields or query parameters.

Inputs

  • Deal Id (required) — ID of the original deal to duplicate.
  • New Pipeline Id (required) — ID of the destination pipeline.
  • New Stage Id (required) — ID of the destination stage.
  • New Owner Id (required) — ID of the new deal owner.
  • Duplicate History (required) — Whether to copy the original deal's history; defaults to false.
  • Duplicate Note (required) — Whether to copy notes; defaults to true.
  • Duplicate Activity (required) — Whether to copy activities; defaults to false.
  • Duplicate Email (required) — Whether to copy email records; defaults to false.
  • Duplicate File (required) — Whether to copy files; defaults to false.
  • Duplicate Custom Field (required) — Whether to copy custom field values; defaults to false.
  • Duplicate Call (required) — Whether to copy call history; defaults to false.
  • Keep Call User (required) — Whether calls retain their original users; defaults to false. When false, the new deal owner is assigned to the calls.
  • Additional Parameters — Optional controls for copying involved users, companies, tags, origin, proposals, people, and data lists; retaining activity and note users or proposal counters and involved users; custom root body fields or JSON; and custom query parameters as key/value pairs or JSON. The listed copy and retention options default to true. Custom JSON must be valid.

Output shape

A single API response item containing the duplicated deal.

The source pack does not define or transform the response body; the returned item reflects the PipeRun API response. Requests use the node's required PipeRun API credentials.

Examples

Example 1: Duplicate a deal into a new pipeline and stage, assign a new owner, and copy its notes

Enter the original Deal Id and destination pipeline, stage, and owner IDs. Leave Duplicate Note enabled and other copy toggles at their desired values.

Example 2: Add an API-specific field while duplicating

Use Additional Parameters > Custom Body Fields or Custom Body (JSON) to merge fields into the root request body; optional custom query parameters can also be supplied.

Links

Discussion