# Check Person Enrollment in Cadence

{% hint style="info" %}
Authentication with a [Salesloft](https://docs.gradient.works/kb/integrations/salesloft) or [Outreach](https://docs.gradient.works/kb/integrations/outreach) is required to use this action.
{% endhint %}

Use this action to check whether or not a Person is already enrolled in a Sales Engagement Cadence.

The `status` output will display one of three values:

* Enrolled - the Person is enrolled in the Sales Engagement Cadence
* Not Enrolled - the Person is not enrolled in the Sales Engagement Cadence
* Error - an error occurred and we were not able to determine the Person status

If an error occurs, we will display the error in the `error` output

## Configuration

{% tabs %}
{% tab title="Flow Element" %}

<figure><img src="https://2378295204-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYXbv7c6RsZzQ00WCDTM%2Fuploads%2Fgit-blob-7b64b289acb01e1ecdbf28a63bebbbf5fc9a5f49%2FProspectEnrollmentInCadenceAction.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Apex Properties" %}
Please note that you will not directly interact with these input fields as you do with some Flow Actions. Instead the Gradient Works custom editor takes care of the heavy lifting.

| Name           | Required | Type    | Description                                   |
| -------------- | -------- | ------- | --------------------------------------------- |
| cadenceId      | No       | String  | Sales Engagement Cadence Id or Name           |
| prospectEmail  | No       | String  | Lead or Contact Email to check enrollment for |
| prospectRecord | No       | SObject | Lead or Contact to check enrollment for       |
| {% endtab %}   |          |         |                                               |
| {% endtabs %}  |          |         |                                               |

## Outputs

| Name   | Type   | Description                               |
| ------ | ------ | ----------------------------------------- |
| error  | String | Any errors that occur will be listed here |
| status | String | The enrollment status of the Person       |
