Skip to content

HubSpot Deal

Description

The HubSpot Deal entity represents sales opportunities and transactions in progress. It contains information such as deal name, amount, stage, close date, and pipeline. Deals are typically linked to contacts and companies, allowing tracking of revenue, forecasting, and pipeline health.

The HubSpot Deal activity allows you to manage sales deals in your HubSpot CRM. You can fetch a specific deal or all deals, create or update deals with mapped fields, or delete them by ID. It supports both single and bulk (Create Many) operations.

Use this activity to:

  • Get – Retrieve a deal by ID
  • Get All – Retrieve a list of deals
  • Create – Create a new deal
  • Create Many – Create multiple deals using mapped fields from previous data
  • Update – Update a deal using its ID
  • Delete – Delete a deal using its ID

Use Case: Deal information maintained in spreadsheets or databases can be read using Read Excel and inserted into HubSpot using the HubSpot Deal activity. After creation, workflow steps like Send Email Attachment can notify stakeholders of high-value deals. You can further apply Aggregate Data By TimePeriod to visualize deal movement and conversion trends.

Input

  • Data – Required for Create Many, and .

Output

Output TypeFormatDescription
DataJSONReturned deal record(s) from HubSpot

Configuration Fields

Field NameDescription
ConnectionSelect a HubSpot connection to authenticate API requests.
OperationOne of:
  • Get
  • Get All
  • Create
  • Create Many
  • Update
  • Delete
IdRequired for Get, Update, and Delete operations. Represents the HubSpot deal ID.
Deal nameName of the deal. Required for Create and Update.
PipelineDeal pipeline. Required for Create and Update.
Deal stageStage of the deal (based on pipeline). Required for Create and Update.
amountAmount associated with the deal (numeric). Optional.
Close DateExpected close date of the deal. Optional.
Hubspot ownerDeal owner in HubSpot. Optional.
DescriptionDescription of the deal. Optional.
Deal typeDeal type: newbusiness or existingbusiness. Optional.
priorityPriority of the deal: low, medium, high. Optional.
Additional fieldsAdditional custom fields. Optional.
Fields MappingField mapping for Create Many. Maps tabular input to HubSpot deal fields. Optional.
Additional Fields MappingCustom field mappings for Create Many from input table. Optional.

Sample Input

OperationRequired FieldsExample Input
GetId
Id1234567890
Get AllNone(No input required)
CreateDeal fields
Deal NameNew Enterprise Deal
Pipelinedefault
Deal Stagequalifiedtobuy
UpdateId, fields
Id1234567890
Amount5000
DeleteId
Id1234567890
Create ManyField Mapping
Deal Name[Title]
Pipeline[Pipe]
Stage[Stage]

Input fields for Create Many operation are mapped from the output of a previous tabular workflow step.

Sample Configuration

FieldValue
connection.idhubspot-conn-001
operationCreateMany
fieldsMapping
  • dealname → Title
  • pipeline → Pipe
  • dealstage → Stage
  • amount → Value

Sample Output

IdDeal NameAmountStageCreated Time
123456New Enterprise10000qualifiedtobuy2024-06-01T12:00:00Z
789012Renewal Deal3000appointmentsent2024-06-02T14:20:00Z