CreateCompany
Frends task for creating a company in HubSpot.
Task version: 1.1.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
Source code: https://github.com/FrendsPlatform/Frends.HubSpot/tree/main/Frends.HubSpot.CreateCompany
Task Parameters
CompanyData : String
Company properties such as name, domain, phone, industry.
Default: -
Example: { "name": "Acme Corp", "domain": "acme.com", "phone": "123456789", "industry": "TECHNOLOGY" }
🗝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
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
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 }
Error.Message : String
Summary of the error.
Example: Unable to create company.
Error.AdditionalInfo : Exception
Additional information about the error.
Example: object { Exception AdditionalInfo }
Task Changelog
Changelog for Task Frends.HubSpot.CreateCompany.
[1.1.0] - 2026-07-20
Changed
Updated copyright information to comply with Frends platform standards.
[1.0.0] - 2026-03-31
Added
Initial implementation
Last updated
Was this helpful?

