Skip to main content
close.createOpportunity creates a Close opportunity.
automations/close-create-opportunity.automation.ts

Inputs

Set leadId to add the opportunity to an existing lead. If you omit it, Close creates an Untitled lead. pipelineId selects a pipeline and statusId selects one of its statuses. You can also set attachments, contact, owner, notes, custom fields, dates, value, value period, and 0–100 confidence. Optional second argument { account } selects a named Close binding.

Output

Returns the created CloseOpportunity.