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

CreateCompany

Frends task for creating a company in HubSpot.

Task version: 1.0.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

CompanyData : String

Company properties such as name, domain, phone, industry.

Default: - Example: { "name": "Acme Corp", "domain": "acme.com", "phone": "123456789", "industry": "TECHNOLOGY" }

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

Associate the company with a HubSpot contact by providing the contact ID.

Default: - Example: 12345678

AssociateWithDealId : String

Associate the company with a HubSpot deal by providing the deal ID.

Default: - Example: 98765432

AssociateWithTicketId : String

Associate the company with a HubSpot ticket by providing the ticket ID.

Default: - Example: 11223344

ThrowErrorOnFailure : Boolean

Whether to throw an error on failure.

Default: True Example: true

ErrorMessageOnFailure : String

Overrides the error message on failure.

Default: - Example: Custom error message

Task Result

Name
Description

Success : Boolean

Indicates if the task completed successfully. Example: true

Id : String

The ID of the created company returned by HubSpot. Example: 123

Error : Error

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

Task Changelog

Changelog for Task Frends.HubSpot.CreateCompany.

[1.0.0] - 2026-03-31

Added

  • Initial implementation

Last updated

Was this helpful?