# Check Person Enrollment in Cadence

{% hint style="info" %}
Authentication with a [Salesloft](/kb/integrations/salesloft.md) or [Outreach](/kb/integrations/outreach.md) 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="/files/UFjPqIT9tL6D1tgpPtpC" 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       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gradient.works/kb/automation-builder-kit-abk/actions/next-steps/prospectenrollmentincadenceaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
