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

- Component: `appmixer.hubspot.crm.GetDeal`
- Kind: Action
- Version: 1.0.1
- 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.GetDeal>

Get a deal by ID.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Deal ID (`dealId`) | text | Deal ID |

## Output ports

### Port `deal`

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

### Port `notFound`

| Field | Type | Description |
| --- | --- | --- |
| Deal ID (`dealId`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.hubspot.crm.GetDeal",
  "author": "Zulkafil Tabish <zulkafil@client.io>",
  "icon": "(data URI omitted)",
  "description": "Get a deal by ID.",
  "private": false,
  "auth": {
    "service": "appmixer:hubspot"
  },
  "quota": {
    "manager": "appmixer:hubspot",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "dealId": {
            "type": "string"
          }
        },
        "required": [
          "dealId"
        ]
      },
      "inspector": {
        "inputs": {
          "dealId": {
            "type": "text",
            "label": "Deal ID",
            "tooltip": "Deal ID",
            "index": 1
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "deal",
      "source": {
        "url": "/component/appmixer/hubspot/crm/GetDealsProperties?outPort=out",
        "data": {
          "transform": "./GetDealsProperties#dealToSelectArray",
          "messages": {
            "in/dealId": "dummy"
          }
        }
      }
    },
    {
      "name": "notFound",
      "options": [
        {
          "label": "Deal ID",
          "value": "dealId",
          "schema": {
            "type": "string",
            "example": "931201"
          }
        }
      ]
    }
  ],
  "version": "1.0.1",
  "dependencies": {
    "service": "1.0.1"
  }
}
```
