Create

yaml
type: "io.kestra.plugin.hubspot.tickets.Create"

Creates ticket in Hubspot

Examples

yaml
id: "create"
type: "io.kestra.plugin.hubspot.tickets.Create"
- id: hubspot
  type: io.kestra.plugin.hubspot.tickets.Create
  apiKey: my_api_key
  subject: Workflow failed
  content: "{{ execution.id }} has failed on {{ taskrun.startDate }}"
  stage: 3
  priority: HIGH

Properties

apiKey

  • Type: string
  • Dynamic: ✔️
  • Required:

Hubspot API key

content

  • Type: string
  • Dynamic: ✔️
  • Required:

Ticket body

oauthToken

  • Type: string
  • Dynamic: ✔️
  • Required:

Hubspot OAuth token

pipeline

  • Type: integer
  • Dynamic:
  • Required:

Ticket pipeline

priority

  • Type: string
  • Dynamic:
  • Required:
  • Possible Values:
    • LOW
    • MEDIUM
    • HIGH

Ticket priority

(Optional) Available values: LOW: Low priority MEDIUM: Medium priority HIGH: High priority

stage

  • Type: integer
  • Dynamic:
  • Required:
  • Default: 1

Ticket pipeline stage

subject

  • Type: string
  • Dynamic: ✔️
  • Required:

Ticket subject

Outputs

id

  • Type: integer
  • Dynamic:
  • Required:

Ticket id

Definitions

Was this page helpful?