Bolten icon

Bolten

Interact with the Bolten CRM, WhatsApp and AI platform

Opportunity → Create

AI-generated

Summary

Create a new opportunity in a Kanban component, optionally defining its dynamic attributes.

Inputs

  • componentId (required) — UUID of the Kanban component where the opportunity will be created (obtain from Project → Get Components).
  • jsonMode — When true, attributes are supplied as a raw JSON string; when false, attributes are entered as key/value pairs.
  • attributesUi — Key/value attribute entries (each with a 'key' and 'value') when jsonMode is false.
  • attributesJson — Attributes object as raw JSON when jsonMode is true.

Output shape

a single opportunity record

The created opportunity's details are returned; the response may include the new opportunity ID and other fields.

Examples

Example 1: Create an opportunity using key/value attribute entries

Set Component ID, leave Use Raw JSON for Attributes disabled, add one or more Attributes (Key/Value) entries.

Example 2: Create an opportunity with raw JSON attributes

Enable Use Raw JSON for Attributes and provide a JSON string in Attributes (JSON).

Example 3: Create an opportunity and immediately view its schema

After creating, call Get Schema operation on the same resource to discover available attribute fields.

Links

Discussion