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

CreateContact

Creates a contact in HubSpot.

Task version: 1.1.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

ContactData : String

Key-value pairs representing contact properties as a JSON string.

Default: - Example: { "email": "john@example.com", "firstname": "John" }

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

ValidateEmail : Boolean

Optional. Validate email format before sending. Default is false.

Default: False Example: true

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 contact.

Task Result

Name
Description

Success : Boolean

Indicates whether contact creation was successful. Example: true

ContactId : String

Unique Id of the created contact. Example: 123456789

Error : Error

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

Error.Message : String

Summary of the error. Example: Unable to create contact.

Error.AdditionalInfo : Exception

Additional information about the error. Example: object { Exception Exception }

Task Changelog

Changelog for Task Frends.HubSpot.CreateContact.

[1.1.0] - 2026-08-06

Changed

  • Updated package copyright to comply with Frends licensing standards.

[1.0.0] - 2025-07-25

Changed

  • Initial implementation

Last updated

Was this helpful?