Create ​Create

yaml
type: "io.kestra.plugin.hubspot.deals.create"
yaml
id: hubspot_deals_create
namespace: company.team

tasks:
  - id: create_deal
    type: io.kestra.plugin.hubspot.deals.Create
    apiKey: "{{ secret('HUBSPOT_API_KEY') }}"
    name: "Enterprise Software Deal"
    pipeline: "default"
    stage: "presentationscheduled"
    amount: 50000
    closeDate: "2024-12-31"
    dealType: "newbusiness"
    additionalProperties:
      description: Important Enterprise Deal
Properties
SubType integer
SubType integer
Format uri
Format duration
Default PT5M
Format duration
Default false
SubType integer
Default UTF-8
Default true
SubType string
Possible Values
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODY
Default DIRECT
Possible Values
DIRECTHTTPSOCKS