CreateTicket
Frends task for creating a ticket in HubSpot.
Task version: 1.1.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
Task Parameters
TicketData : String
Ticket properties such as subject, content, hs_pipeline, hs_pipeline_stage, hs_ticket_priority.
Default: -
Example: { "subject": "Login issue", "content": "User cannot log in after password reset", "hs_pipeline": "0", "hs_pipeline_stage": "1", "hs_ticket_priority": "HIGH" }
🗝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 ticket with a HubSpot contact by providing the contact ID.
Default: -
Example: 12345678
AssociateWithDealId : String
Associate the ticket with a HubSpot deal by providing the deal ID.
Default: -
Example: 98765432
AssociateWithCompanyId : String
Associate the ticket with a HubSpot company by providing the company 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 ticket 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 new ticket.
Error.AdditionalInfo : Exception
Additional information about the error.
Example: object { Exception AdditionalInfo }
Task Changelog
Changelog for Task Frends.HubSpot.CreateTicket.
[1.1.0] - 2026-07-24
Changed
Updated copyright notice to comply with Frends standards.
[1.0.0] - 2026-03-19
Added
Initial implementation
Last updated
Was this helpful?

