For the complete documentation index, see llms.txt. This page is also available as Markdown.

CreateDeal

Creates a deal in HubSpot.

Task version: 1.1.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

DealData : String

Deal properties such as amount, dealname, dealstage, pipeline.

Default: - Example: { "amount": "5000", "dealname": "Enterprise Deal", "dealstage": "presentation scheduled", "pipeline": "default" }

Name
Description

🗝ApiKey : String

HubSpot Private App access token.

Default: - Example: xxx-xxx-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

BaseUrl : String

Base Url for the Api.

Default: - Example: https://api.hubapi.com.

Name
Description

AssociateWithContactId : String

Optional. Contact Id to associate the deal with.

Default: - Example: 1234567890

ThrowErrorOnFailure : Boolean

Whether to throw an error on failure. True by default.

Default: True Example: false

ErrorMessageOnFailure : String

Overrides the error message on failure.

Default: - Example: Failed to create the deal.

Task Result

Name
Description

Success : Boolean

Indicates whether deal creation was successful. Example: true

Id : String

Unique Id of the created deal. Example: 1234567890

Error : Error

Error that occurred during task execution. Example: object { string Message, object { Exception Exception } AdditionalInfo }

Task Changelog

Changelog for Task Frends.HubSpot.CreateDeal.

[1.1.0] - 2025-12-17

Fixed

  • Fixed a bug with the display format

[1.0.0] - 2025-08-08

Added

  • Initial implementation

Last updated

Was this helpful?