> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.hubspot.crm.NewDeal

- Component: `appmixer.hubspot.crm.NewDeal`
- Kind: Trigger
- Version: 3.0.2
- Visibility: Public
- Connector: [appmixer.hubspot 4.10.0](https://connectors.appmixer.com/connector/appmixer.hubspot/4.10.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.hubspot/4.10.0/component/appmixer.hubspot.crm.NewDeal>

Triggers when a new deal is created.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Pipeline (`pipeline`) | text | Optional. Only trigger for new deals in this pipeline. Leave empty to trigger for all pipelines. |
| Properties (`properties`) | text | A comma separated list of the properties to be returned in the response. If not specified, all properties will be returned. |

## Output ports

### Port `deal`

Variables are loaded dynamically from `/component/appmixer/hubspot/crm/GetDealsProperties?outPort=out`.

## Full metadata (component.json)

```json
{
  "name": "appmixer.hubspot.crm.NewDeal",
  "icon": "(data URI omitted)",
  "description": "Triggers when a new deal is created.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "3.0.2",
  "webhook": true,
  "auth": {
    "service": "appmixer:hubspot"
  },
  "properties": {
    "schema": {
      "properties": {
        "pipeline": {
          "type": "string"
        },
        "properties": {
          "type": "string"
        }
      },
      "required": []
    },
    "inspector": {
      "inputs": {
        "pipeline": {
          "type": "text",
          "label": "Pipeline",
          "tooltip": "Optional. Only trigger for new deals in this pipeline. Leave empty to trigger for all pipelines.",
          "source": {
            "url": "/component/appmixer/hubspot/crm/ListPipelines?outPort=out",
            "data": {
              "messages": {
                "in/objectType": "deals"
              },
              "transform": "./ListPipelines#toSelectArray"
            }
          },
          "index": 1
        },
        "properties": {
          "type": "text",
          "label": "Properties",
          "tooltip": "A comma separated list of the properties to be returned in the response. If not specified, all properties will be returned.",
          "source": {
            "url": "/component/appmixer/hubspot/crm/GetDealsProperties?outPort=out",
            "data": {
              "transform": "./GetDealsProperties#dealToLabelNameArray"
            }
          },
          "index": 2
        }
      }
    }
  },
  "outPorts": [
    {
      "name": "deal",
      "source": {
        "url": "/component/appmixer/hubspot/crm/GetDealsProperties?outPort=out",
        "data": {
          "transform": "./GetDealsProperties#dealToSelectArray"
        }
      }
    }
  ],
  "dependencies": {
    "service": "1.0.1"
  }
}
```
