DemandFlow Support Centre

DEAL: Deal

ReferenceEntity Reference16/04/2026Updated 16/04/2026
A CRM deal representing a sales opportunity linked to a pipeline, account, and products.

DEAL: Deal

A CRM deal representing a sales opportunity linked to a pipeline, account, and products.

Default definition. This article describes the default DEAL definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches DEAL.

Entity properties

PropertyValue
Entity codeDEAL
Display nameDeal
PluralDeals
Level230

Use cases

DEAL is the core sales opportunity entity. It sits under PIPE in the comboKey hierarchy (SUB|PIPE|ENT). The status field maps to a pipeline stage column ID. The pipeline field is an objectLookup to PIPE. Key financial fields: amount, probability, weightedAmount (computed). closeDate tracks expected close. Links to ACCOUNT via objectLookup and comboKey2 for reverse queries. DEALPRODUCT junction links to PROD. The Summary panel provides a dashboard view with stage progress, health gauge, metrics, recent activities, and products summary.

Fields

Deal Details

FieldTypeRequiredNotes
nametextYesDeal Name.
descriptiontext (multi-line)Description.
amountnumberAmount.
probabilitynumberProbability %.
closeDatedateExpected Close Date.
dealTypeenumValid ids: newBusiness (New Business), renewal (Renewal), upsell (Upsell), crossSell (Cross-sell).
priorityenumValid ids: 1 (Critical), 2 (High), 3 (Medium), 4 (Low).
dealSourceenumValid ids: inbound (Inbound), outbound (Outbound), referral (Referral), event (Event), website (Website), partner (Partner), other (Other).

Pipeline & Outcome

FieldTypeRequiredNotes
pipelinereference → PIPEPipeline.
stagetextStage is set via the pipeline kanban board or Won/Lost toolbar actions Read only.
dealOutcomeenumValid ids: open (Open), won (Won), lost (Lost), abandoned (Abandoned).
lostReasontext (multi-line)Lost/Abandoned Reason.
wonDatedateWon Date.
lostDatedateLost Date.

Relationships

FieldTypeRequiredNotes
accountreference → ACCOUNTAccount.
primaryContactreference → PPLPrimary Contact.
competitortextCompetitor.

Team

FieldTypeRequiredNotes
dealOwnerreference → userDeal Owner.
assignedarray of references → userAssigned Team.
championreference → PPLChampion Contact.
decisionMakerreference → PPLDecision Maker.

Key Dates

FieldTypeRequiredNotes
lastContactDatedateLast Contacted.
nextFollowUpdateNext Follow-up.
duedatedateDue Date.

Attachments

FieldTypeRequiredNotes
filesfileAllowed types: any.

Activity timeline panel attached.

Additional panels: dashboard.

Relationships

  • Lookup: pipeline (reference → PIPE).
  • Lookup: account (reference → ACCOUNT).
  • Lookup: primaryContact (reference → PPL).
  • Lookup: champion (reference → PPL).
  • Lookup: decisionMaker (reference → PPL).
  • Related list: DEALPRODUCT, comboKey format SUB|DEAL.
  • Related list: ACTIVITY, comboKey format SUB|DEAL.
  • Related list: SCON, comboKey format SUB|DEAL.

Creating a Deal via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "DEAL",
  "level":    230,
  "comboKey": "SUB:<your-sub-id>|PIPE:<pipe-id>|ENT:",
  "name": "Example name",
  "description": "Example value",
  "amount": 0,
  "probability": 0
}

Listing Deals records

GET /v1/entities/DEAL/SUB:<your-sub-id>
GET /v1/entities/DEAL/SUB:<your-sub-id>|PIPE:<parent-id>

See also

dealdealsrepresentingsalesopportunitylinkedpipelineaccountproducts

Was this article helpful?

← Back to Knowledge Base