> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firsttouch.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For API operations, fetch https://gateway.firsttouch.ai/api/public/openapi.json for the complete input/output schemas, internal references, and x-mcp-annotations. Endpoint Markdown intentionally omits generated schema fragments. Select /api/public/tools/<tool_name> using the exact underscore-separated name. Send requests to https://gateway.firsttouch.ai; the canonical document currently omits servers. Start at https://docs.firsttouch.com/api-reference/agent-start.md.

# Find MCP Enrollment

> Requires dynamic_actions:write.

<details>
<summary><strong>Detailed usage guidance</strong></summary>
<ul>
<li>Members receive only their own enrollments.</li>
<li>Call get_guide with topic=dynamic_actions for the complete one-contact workflow.</li>
<li>Find existing MCP Dynamic Actions enrollments for one contact, including completed or canceled history, so the MCP client can resolve whether the requested action continues the current conversational sequence or starts fresh outreach.</li>
<li>If no candidate is returned and the requested action has all required identity and target data, create the new action without asking the customer to confirm the same request again.</li>
<li>When candidates are returned, reuse the exact enrollmentId for a related step in an enrollment created or selected earlier in the conversation, even if its status is completed.</li>
<li>Use create_contact_sequence for clearly new, fresh, separate, or unrelated outreach.</li>
<li>Historical matches alone must not force a confirmation question.</li>
<li>Ask only when multiple enrollments plausibly overlap, an existing current sequence may conflict with apparently fresh outreach, or the intended sequence or branch is unclear.</li>
<li>Do not use status alone as the intent boundary: in-progress and completed enrollments can be extended, while pending, failed, and canceled enrollments cannot.</li>
<li>Search by enrollmentId, prospectId, email, LinkedIn URL, phone, HubSpot contact id, or name with optional companyDomain.</li>
<li>This searches MCP Dynamic Actions enrollments across dynamic action flow plans;<br />candidates include sourceDescription when known, flowPlanId, raw runtime status, hasFailedAction, flowPlanDisplayStatus, and a lightweight root with nodeId, type, payload.subject, payload.subjectType, next, onConnectionAccepted, and onConnectionTimeout.</li>
<li>Use sourceDescription and root as context for sequence and branch selection.</li>
<li>Use root to choose an email reply or new thread on the requested branch.</li>
<li>Use get_flow_enrollment after selecting an enrollment only when complete enrollment/action/task details are needed.</li>
</ul>
</details>



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.firsttouch.com/llms.txt).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.