# Enrol in HubSpot

> Enrols the lead's contact in a contact-based HubSpot workflow.

| | |
|---|---|
| Type | `enrol` |
| Group | HubSpot |

## Exits

| Exit | Name |
|---|---|
| `next` | Next |

## Settings

| Key | Label | Takes | Default | Notes |
|---|---|---|---|---|
| `workflowId` | Workflow | A string: a HubSpot workflow's id, from list_hubspot with what = workflows. |  | A contact-based workflow in HubSpot. The lead's contact is enrolled in it, and made first when HubSpot has none. HubSpot must have given the workflows permission: see Settings. |

## In a flow document

```json
{
  "id": "enrol1",
  "type": "enrol",
  "settings": {}
}
```
