> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/crm-sales/capsulecrm.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Capsule CRM

Capsule CRM is a CRM for small businesses. Manage people, organizations, opportunities, projects, tasks, notes and pipelines.

![Capsule CRM logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-556a2f218099e8caeb08d620cc63b95a712ec1a7%2Fcapsulecrm.png?alt=media)

|                    |                                                                                |
| ------------------ | ------------------------------------------------------------------------------ |
| **Category**       | [CRM and sales](https://docs.fastn.ai/connectors/catalog/crm-sales.md)         |
| **Website**        | [capsulecrm.com](https://capsulecrm.com)                                       |
| **Authentication** | Access token                                                                   |
| **Slug**           | `capsulecrm`                                                                   |
| **On fastn.ai**    | [Embed Capsule CRM in your product](https://fastn.ai/integrations/capsule-crm) |

## Setup

Your customers enter their access token for Capsule CRM when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Capsule CRM from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Capsule CRM**.
2. Select **Connect** on the Capsule CRM card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Capsule CRM's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Archive Pipeline</td><td><code>archivePipeline</code></td><td>Archive (soft-delete) a pipeline by id.</td></tr><tr><td>Create Activity Type</td><td><code>createActivityType</code></td><td>Create a note/entry activity type. Body wrapped under 'activityType'.</td></tr><tr><td>Create Case</td><td><code>createCase</code></td><td>Create a case (project/kase). Requires party, status, and name. Body wrapped under 'kase'.</td></tr><tr><td>Create Category</td><td><code>createCategory</code></td><td>Create a task category. Body wrapped under 'category'.</td></tr><tr><td>Create Entry</td><td><code>createEntry</code></td><td>Create a note entry attached to a party, opportunity or case. Requires type='note', content, and exactly one of party/opportunity/kase. Body wrapped under 'entry'.</td></tr><tr><td>Create Field Definition</td><td><code>createFieldDefinition</code></td><td>Create a custom field definition for an entity type. Body wrapped under 'definition'. type is one of text, date, boolean, number, list, url, currency.</td></tr><tr><td>Create Milestone</td><td><code>createMilestone</code></td><td>Create an opportunity milestone within a pipeline. Body wrapped under 'milestone'.</td></tr><tr><td>Create Opportunity</td><td><code>createOpportunity</code></td><td>Create a sales opportunity. Requires a linked party and a milestone. Body wrapped under 'opportunity'.</td></tr><tr><td>Create Party</td><td><code>createParty</code></td><td>Create a person or organisation. For type=person supply firstName/lastName; for type=organisation supply name. Body is wrapped under 'party'.</td></tr><tr><td>Create Pipeline</td><td><code>createPipeline</code></td><td>Create a sales pipeline with its milestones. Body wrapped under 'pipeline'.</td></tr></tbody></table>

<details>

<summary>View 72 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Create REST Hook</td><td><code>createRestHook</code></td><td>Subscribe a REST hook (webhook). When the event fires, Capsule POSTs a payload to targetUrl. Body wrapped under 'restHook'. Max 20 hooks per account.</td></tr><tr><td>Create Tag</td><td><code>createTag</code></td><td>Create a tag definition for an entity type. Body wrapped under 'tag'.</td></tr><tr><td>Create Task</td><td><code>createTask</code></td><td>Create a task, optionally linked to a party, opportunity or case. Requires description. Body wrapped under 'task'.</td></tr><tr><td>Delete Activity Type</td><td><code>deleteActivityType</code></td><td>Delete an activity type by id.</td></tr><tr><td>Delete Case</td><td><code>deleteCase</code></td><td>Delete a case (kase) by id.</td></tr><tr><td>Delete Category</td><td><code>deleteCategory</code></td><td>Delete a task category by id.</td></tr><tr><td>Delete Entry</td><td><code>deleteEntry</code></td><td>Delete a note entry by id.</td></tr><tr><td>Delete Field Definition</td><td><code>deleteFieldDefinition</code></td><td>Delete a custom field definition by id for an entity type.</td></tr><tr><td>Delete Milestone</td><td><code>deleteMilestone</code></td><td>Delete a milestone by id.</td></tr><tr><td>Delete Opportunity</td><td><code>deleteOpportunity</code></td><td>Delete an opportunity by id.</td></tr><tr><td>Delete Party</td><td><code>deleteParty</code></td><td>Delete a party by id.</td></tr><tr><td>Delete REST Hook</td><td><code>deleteRestHook</code></td><td>Unsubscribe (delete) a REST hook by id.</td></tr><tr><td>Delete Tag</td><td><code>deleteTag</code></td><td>Delete a tag definition by id for an entity type.</td></tr><tr><td>Delete Task</td><td><code>deleteTask</code></td><td>Delete a task by id.</td></tr><tr><td>Duplicate Pipeline</td><td><code>duplicatePipeline</code></td><td>Duplicate an existing pipeline (including its milestones) by id.</td></tr><tr><td>Get Activity Type</td><td><code>getActivityType</code></td><td>Retrieve a single activity type by id.</td></tr><tr><td>Get Board</td><td><code>getBoard</code></td><td>Retrieve a single board by id.</td></tr><tr><td>Get Case</td><td><code>getCase</code></td><td>Retrieve a single case (kase) by id.</td></tr><tr><td>Get Category</td><td><code>getCategory</code></td><td>Retrieve a single task category by id.</td></tr><tr><td>Get Current User</td><td><code>getCurrentUser</code></td><td>Retrieve the user associated with the current API token. Useful for connection validation.</td></tr><tr><td>Get Entry</td><td><code>getEntry</code></td><td>Retrieve a single entry (note) by id.</td></tr><tr><td>Get Field Definition</td><td><code>getFieldDefinition</code></td><td>Retrieve a single custom field definition by id for an entity type.</td></tr><tr><td>Get Milestone</td><td><code>getMilestone</code></td><td>Retrieve a single milestone by id.</td></tr><tr><td>Get Opportunity</td><td><code>getOpportunity</code></td><td>Retrieve a single opportunity by id.</td></tr><tr><td>Get Party</td><td><code>getParty</code></td><td>Retrieve a single party (person or organisation) by id.</td></tr><tr><td>Get Pipeline</td><td><code>getPipeline</code></td><td>Retrieve a single sales pipeline by id. Use List Milestones to get its milestones.</td></tr><tr><td>Get REST Hook</td><td><code>getRestHook</code></td><td>Retrieve a single REST hook subscription by id.</td></tr><tr><td>Get Tag</td><td><code>getTag</code></td><td>Retrieve a single tag definition by id for an entity type.</td></tr><tr><td>Get Task</td><td><code>getTask</code></td><td>Retrieve a single task by id.</td></tr><tr><td>Get Team</td><td><code>getTeam</code></td><td>Retrieve a single team by id.</td></tr><tr><td>Get Track</td><td><code>getTrack</code></td><td>Retrieve a single track definition by id.</td></tr><tr><td>Get User</td><td><code>getUser</code></td><td>Retrieve a single user by id.</td></tr><tr><td>List Activity Type Icons</td><td><code>listActivityTypeIcons</code></td><td>List available icons for activity types.</td></tr><tr><td>List Activity Types</td><td><code>listActivityTypes</code></td><td>List all note/entry activity types on the account.</td></tr><tr><td>List Boards</td><td><code>listBoards</code></td><td>List all boards (case/project boards) on the account.</td></tr><tr><td>List Cases</td><td><code>listCases</code></td><td>List all cases (projects/kases) on the account.</td></tr><tr><td>List Cases By Party</td><td><code>listCasesByParty</code></td><td>List all cases associated with the given party.</td></tr><tr><td>List Categories</td><td><code>listCategories</code></td><td>List all task categories on the account.</td></tr><tr><td>List Deleted Cases</td><td><code>listDeletedCases</code></td><td>List cases deleted after a given time ('since', ISO8601). Capsule does not page this endpoint; all matching ids are returned.</td></tr><tr><td>List Deleted Opportunities</td><td><code>listDeletedOpportunities</code></td><td>List opportunities deleted after a given time ('since', ISO8601). Capsule does not page this endpoint; all matching ids are returned.</td></tr><tr><td>List Deleted Parties</td><td><code>listDeletedParties</code></td><td>List parties deleted after a given time ('since', ISO8601). Capsule does not page this endpoint; all matching ids are returned.</td></tr><tr><td>List Entries</td><td><code>listEntries</code></td><td>List all entries (notes, emails and history) across the account, most recent first. Supports paging and embedding related records.</td></tr><tr><td>List Entries For Entity</td><td><code>listEntriesForParty</code></td><td>List entries (notes/history) for a specific entity. entity is one of parties, opportunities, kases.</td></tr><tr><td>List Field Definitions</td><td><code>listFieldDefinitions</code></td><td>List custom field definitions for an entity type. entity is one of parties, opportunities, kases.</td></tr><tr><td>List Milestones</td><td><code>listMilestones</code></td><td>List all opportunity milestones on the account.</td></tr><tr><td>List Opportunities</td><td><code>listOpportunities</code></td><td>List all sales opportunities on the account.</td></tr><tr><td>List Opportunities By Party</td><td><code>listOpportunitiesByParty</code></td><td>List all opportunities associated with the given party.</td></tr><tr><td>List Parties</td><td><code>listParties</code></td><td>List all parties (people and organisations) on the Capsule account. Supports pagination and embed.</td></tr><tr><td>List Party Employees</td><td><code>listPartyEmployees</code></td><td>List people who are employees of the given organisation party.</td></tr><tr><td>List Pipelines</td><td><code>listPipelines</code></td><td>List all sales pipelines on the account. Set includeDeleted to also return archived pipelines.</td></tr><tr><td>List REST Hooks</td><td><code>listRestHooks</code></td><td>List all REST hook (webhook) subscriptions on the account.</td></tr><tr><td>List Tags</td><td><code>listTags</code></td><td>List tag definitions for an entity type. entity is one of parties, opportunities, kases.</td></tr><tr><td>List Tasks</td><td><code>listTasks</code></td><td>List tasks on the account. Filter by status (OPEN, COMPLETED, PENDING).</td></tr><tr><td>List Teams</td><td><code>listTeams</code></td><td>List all teams on the Capsule account.</td></tr><tr><td>List Tracks For Entity</td><td><code>listTracks</code></td><td>List tracks applied to a specific entity. entity is one of parties, opportunities, kases.</td></tr><tr><td>List Users</td><td><code>listUsers</code></td><td>List all users on the Capsule account.</td></tr><tr><td>Restore Pipeline</td><td><code>restorePipeline</code></td><td>Restore a previously archived pipeline by id.</td></tr><tr><td>Run Party Filter</td><td><code>runPartyFilter</code></td><td>Run a structured filter query against parties Use conditions such as {field:'type', operator:'is', value:'organisation'|'person'} to return only organisations or only people. Returns the same shape as List Parties: { parties: [...] }.</td></tr><tr><td>Search Cases</td><td><code>searchCases</code></td><td>Search cases (kases) by free-text query.</td></tr><tr><td>Search Opportunities</td><td><code>searchOpportunities</code></td><td>Search opportunities by free-text query.</td></tr><tr><td>Search Parties</td><td><code>searchParties</code></td><td>Search parties by free-text query (name, email, phone, etc.).</td></tr><tr><td>Update Activity Type</td><td><code>updateActivityType</code></td><td>Update an activity type by id. Body wrapped under 'activityType'.</td></tr><tr><td>Update Case</td><td><code>updateCase</code></td><td>Update a case (kase) by id. Only supplied fields change. Body wrapped under 'kase'.</td></tr><tr><td>Update Category</td><td><code>updateCategory</code></td><td>Update a task category by id. Body wrapped under 'category'.</td></tr><tr><td>Update Entry</td><td><code>updateEntry</code></td><td>Update a note entry by id. Body wrapped under 'entry'.</td></tr><tr><td>Update Field Definition</td><td><code>updateFieldDefinition</code></td><td>Update a custom field definition by id for an entity type. Body wrapped under 'definition'.</td></tr><tr><td>Update Milestone</td><td><code>updateMilestone</code></td><td>Update a milestone by id. Body wrapped under 'milestone'.</td></tr><tr><td>Update Opportunity</td><td><code>updateOpportunity</code></td><td>Update an opportunity by id. Only supplied fields change. Body wrapped under 'opportunity'.</td></tr><tr><td>Update Party</td><td><code>updateParty</code></td><td>Update a party by id. Only supplied fields change. Nested arrays support {id,_delete:true} to remove items. Body wrapped under 'party'.</td></tr><tr><td>Update Pipeline</td><td><code>updatePipeline</code></td><td>Update a pipeline by id. Body wrapped under 'pipeline'.</td></tr><tr><td>Update Tag</td><td><code>updateTag</code></td><td>Update a tag definition by id for an entity type. Body wrapped under 'tag'.</td></tr><tr><td>Update Task</td><td><code>updateTask</code></td><td>Update a task by id. Set status to COMPLETED to mark it done. Body wrapped under 'task'.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/crm-sales/capsulecrm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
