> 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/nutshell.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Nutshell

Nutshell is a sales CRM. Manage leads, contacts, accounts, activities, notes, products and tasks.

![Nutshell logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-9514d6c2ce0f7ae64bc2420a03651448fcfa3f22%2Fnutshell.png?alt=media)

|                    |                                                                          |
| ------------------ | ------------------------------------------------------------------------ |
| **Category**       | [CRM and sales](https://docs.fastn.ai/connectors/catalog/crm-sales.md)   |
| **Website**        | [nutshell.com](https://nutshell.com)                                     |
| **Authentication** | Username and password                                                    |
| **Slug**           | `nutshell`                                                               |
| **On fastn.ai**    | [Embed Nutshell in your product](https://fastn.ai/integrations/nutshell) |

## Setup

Your customers enter their username and password for Nutshell when they connect. Nothing else needs setting up.

## Connect in Fastn

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

1. Go to **Build → Integrations → Connectors** and search for **Nutshell**.
2. Select **Connect** on the Nutshell 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 Nutshell'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>Create Account</td><td><code>newAccount</code></td><td>Create a new account (company). Minimal body is {name}.</td></tr><tr><td>Create Activity</td><td><code>newActivity</code></td><td>Log/create a new activity. activityTypeId is required. logNote must be an object {note}. Link leads and participants (contacts) by id.</td></tr><tr><td>Create Contact</td><td><code>newContact</code></td><td>Create a new contact (person). name can be a plain string (auto-split into given/family) or an object {givenName, familyName}. email accepts {"--primary":"a@b.com"}. phone accepts {"--primary":"+1..."}. Note: job title is set per contact-account relationship, not here.</td></tr><tr><td>Create Email</td><td><code>newEmail</code></td><td>Log a raw RFC822 email into Nutshell. emailString is the full raw message. createContacts controls auto-creating contacts from addresses.</td></tr><tr><td>Create Lead</td><td><code>newLead</code></td><td>Create a new lead. Provide the lead object. Link contacts/accounts by id. Minimal viable lead links at least one account or contact.</td></tr><tr><td>Create Note</td><td><code>newNote</code></td><td>Attach a new note to an entity (lead/contact/account). entity is a ref {id, entityType}; note is the text.</td></tr><tr><td>Create Product</td><td><code>newProduct</code></td><td>Create a new product or service in the Nutshell catalogue. name and type are required; set a price per market in prices.</td></tr><tr><td>Create Source</td><td><code>newSource</code></td><td>Create a new lead source by name. Returns the created source.</td></tr><tr><td>Create Tag</td><td><code>newTag</code></td><td>Create a new tag. Provide the tag object with a name and the entityType it applies to (Leads/Contacts/Accounts).</td></tr><tr><td>Create Task</td><td><code>newTask</code></td><td>Create a new task. title is required. Optionally link to an entity (lead/contact/account) and set dueTime/assignee.</td></tr></tbody></table>

<details>

<summary>View 74 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 Team</td><td><code>newTeam</code></td><td>Create a new team. name is required. Optionally include user refs.</td></tr><tr><td>Create User</td><td><code>newUser</code></td><td>Invite/create a new Nutshell user. Provide emails (required). Optionally set isAdministrator/isEnabled. The display name derives from the email and is edited via editUser. Note: may consume a seat and send an invitation email.</td></tr><tr><td>Delete Account</td><td><code>deleteAccount</code></td><td>Delete an account by id. Requires current rev. Returns true.</td></tr><tr><td>Delete Activity</td><td><code>deleteActivity</code></td><td>Delete an activity by id. Requires current rev. Returns true.</td></tr><tr><td>Delete Contact</td><td><code>deleteContact</code></td><td>Delete a contact by id. Requires current rev. Returns true.</td></tr><tr><td>Delete Lead</td><td><code>deleteLead</code></td><td>Delete a lead by id. Requires the current rev. Returns true on success.</td></tr><tr><td>Delete Note</td><td><code>deleteNote</code></td><td>Delete a note by id. Requires current rev. Returns true.</td></tr><tr><td>Delete Product</td><td><code>deleteProduct</code></td><td>Delete a product by id. Requires current rev. Returns true.</td></tr><tr><td>Delete Task</td><td><code>deleteTask</code></td><td>Delete a task by id. Requires current rev. Returns true.</td></tr><tr><td>Delete Team</td><td><code>deleteTeam</code></td><td>Delete a team by id. Requires current rev. Returns true.</td></tr><tr><td>Delete User</td><td><code>deleteUser</code></td><td>Delete/deactivate a user by id. Requires current rev. Returns true.</td></tr><tr><td>Edit Account</td><td><code>editAccount</code></td><td>Update an account. Requires current rev. account holds only fields to change.</td></tr><tr><td>Edit Activity</td><td><code>editActivity</code></td><td>Update an activity. Requires current rev. activity holds fields to change.</td></tr><tr><td>Edit Contact</td><td><code>editContact</code></td><td>Update a contact. Requires current rev. contact holds only fields to change.</td></tr><tr><td>Edit Lead</td><td><code>editLead</code></td><td>Update an existing lead. Requires the current rev (from getLead). The lead object contains only the fields to change.</td></tr><tr><td>Edit Note</td><td><code>editNote</code></td><td>Update a note's text. Requires current rev. note holds the new text.</td></tr><tr><td>Edit Product</td><td><code>editProduct</code></td><td>Update a product or service in the Nutshell catalogue. Requires the current rev; only the product fields you send are changed. Set prices per market in prices.</td></tr><tr><td>Edit Step</td><td><code>editStep</code></td><td>Update a lead process step. Requires current rev. step holds fields to change (e.g. mark complete).</td></tr><tr><td>Edit Task</td><td><code>editTask</code></td><td>Update a task. Requires current rev. task holds fields to change (e.g. completedTime to complete it).</td></tr><tr><td>Edit Team</td><td><code>editTeam</code></td><td>Update a team. Requires current rev.</td></tr><tr><td>Edit User</td><td><code>editUser</code></td><td>Update a user. Requires current rev. user holds fields to change.</td></tr><tr><td>Find Account Types</td><td><code>findAccountTypes</code></td><td>List all account types (used to set accountTypeId on accounts).</td></tr><tr><td>Find Accounts</td><td><code>findAccounts</code></td><td>Search/list accounts (companies) with optional filter query and pagination.</td></tr><tr><td>Find Activities</td><td><code>findActivities</code></td><td>Search/list activities (logged/scheduled interactions). params.query is required (pass {} for all).</td></tr><tr><td>Find Activity Types</td><td><code>findActivityTypes</code></td><td>List all activity types (Phone Call, Meeting, etc.) used to set activityTypeId.</td></tr><tr><td>Find Audiences</td><td><code>findAudiences</code></td><td>List audiences (contact segments).</td></tr><tr><td>Find Backups</td><td><code>findBackups</code></td><td>List available data backups/exports (Enterprise). Takes no parameters.</td></tr><tr><td>Find Competitors</td><td><code>findCompetitors</code></td><td>List competitors.</td></tr><tr><td>Find Contacts</td><td><code>findContacts</code></td><td>Search/list contacts (people) with optional filter query and pagination. Returns contact stubs.</td></tr><tr><td>Find Custom Fields</td><td><code>findCustomFields</code></td><td>List custom field definitions, optionally scoped to an entity type via params.entityType (Leads/Contacts/Accounts). Pass {} for all.</td></tr><tr><td>Find Delays</td><td><code>findDelays</code></td><td>List configured lead delays.</td></tr><tr><td>Find Industries</td><td><code>findIndustries</code></td><td>List industries (used to set industryId on accounts).</td></tr><tr><td>Find Lead Outcomes</td><td><code>findLeadOutcomes</code></td><td>List lead outcomes (win/loss reasons). Maps to JSON-RPC method findLead_Outcomes.</td></tr><tr><td>Find Leads</td><td><code>findLeads</code></td><td>Search/list leads with an optional filter query and pagination. Returns an array of lead stubs. params.query is required by the API (pass {} for no filter).</td></tr><tr><td>Find Markets</td><td><code>findMarkets</code></td><td>List markets (used to set market on leads).</td></tr><tr><td>Find Milestones</td><td><code>findMilestones</code></td><td>List pipeline milestones (stages). Use to get milestoneId for leads.</td></tr><tr><td>Find Notes</td><td><code>findNotes</code></td><td>Search/list notes with optional filter query and pagination.</td></tr><tr><td>Find Origins</td><td><code>findOrigins</code></td><td>List activity/interaction origins.</td></tr><tr><td>Find Processes</td><td><code>findProcesses</code></td><td>List lead processes matching a query. params.query is required (pass {} for all).</td></tr><tr><td>Find Products</td><td><code>findProducts</code></td><td>List products in the catalog with ordering/pagination.</td></tr><tr><td>Find Settings</td><td><code>findSettings</code></td><td>List instance settings.</td></tr><tr><td>Find Sources</td><td><code>findSources</code></td><td>List lead sources with ordering/pagination.</td></tr><tr><td>Find Stagesets</td><td><code>findStagesets</code></td><td>List pipelines (stagesets). Use to get stagesetId for leads.</td></tr><tr><td>Find Tags</td><td><code>findTags</code></td><td>List all tags grouped by entity type (Leads, Contacts, Accounts). Takes no parameters.</td></tr><tr><td>Find Tasks</td><td><code>findTasks</code></td><td>Search/list tasks. params.query is required (pass {} for all).</td></tr><tr><td>Find Teams</td><td><code>findTeams</code></td><td>List teams with ordering/pagination.</td></tr><tr><td>Find Territories</td><td><code>findTerritories</code></td><td>List sales territories.</td></tr><tr><td>Find Timeline</td><td><code>findTimeline</code></td><td>Retrieve the timeline (chronological activity/note/email feed) for a specific entity. params.query scopes to one record via its entityType and id, e.g. {"entityType":"Accounts","id":6}.</td></tr><tr><td>Find Users</td><td><code>findUsers</code></td><td>List users in the Nutshell instance with optional filter and pagination.</td></tr><tr><td>Get Account</td><td><code>getAccount</code></td><td>Retrieve a single account (company) by numeric id.</td></tr><tr><td>Get Activity</td><td><code>getActivity</code></td><td>Retrieve a single activity by numeric id.</td></tr><tr><td>Get Analytics Report</td><td><code>getAnalyticsReport</code></td><td>Retrieve an analytics report. reportType is one of Effort, NewLeads, Pipeline, SalesCycle, SalesProcess, Success, WinRate. period accepts 'm' (current month), 'y' (current year), '-d30' (last 30 days), 'yyyy-mm', 'yyyy-Q#', or a 'timestamp-timestamp' range.</td></tr><tr><td>Get Contact</td><td><code>getContact</code></td><td>Retrieve a single contact (person) by numeric id.</td></tr><tr><td>Get Current User</td><td><code>getCurrentUser</code></td><td>Retrieve the currently authenticated user (the API key owner). Takes no parameters.</td></tr><tr><td>Get Email</td><td><code>getEmail</code></td><td>Retrieve a single logged email by numeric id.</td></tr><tr><td>Get Instance Data</td><td><code>instanceData</code></td><td>Get metadata about the Nutshell instance (features, limits, config). Takes no parameters.</td></tr><tr><td>Get Lead</td><td><code>getLead</code></td><td>Retrieve a single lead by its numeric id. Optionally pass a rev.</td></tr><tr><td>Get Note</td><td><code>getNote</code></td><td>Retrieve a single note by numeric id.</td></tr><tr><td>Get Product</td><td><code>getProduct</code></td><td>Retrieve a single product by numeric id.</td></tr><tr><td>Get Task</td><td><code>getTask</code></td><td>Retrieve a single task by numeric id.</td></tr><tr><td>Get Team</td><td><code>getTeam</code></td><td>Retrieve a single team by numeric id.</td></tr><tr><td>Get Update Times</td><td><code>getUpdateTimes</code></td><td>Get the last-modified timestamps for entity types (for polling/sync). Takes no parameters.</td></tr><tr><td>Get User</td><td><code>getUser</code></td><td>Retrieve a specific user by numeric id.</td></tr><tr><td>Search Accounts</td><td><code>searchAccounts</code></td><td>Full-text search of accounts by name.</td></tr><tr><td>Search Activity Participants</td><td><code>searchActivityParticipants</code></td><td>Search entities (contacts/users/accounts) that can participate in an activity.</td></tr><tr><td>Search By Email</td><td><code>searchByEmail</code></td><td>Look up contacts/leads/accounts associated with an email address.</td></tr><tr><td>Search Competitors</td><td><code>searchCompetitors</code></td><td>Full-text search of competitors by name.</td></tr><tr><td>Search Contacts</td><td><code>searchContacts</code></td><td>Full-text search of contacts by name/email.</td></tr><tr><td>Search Contacts And Users</td><td><code>searchContactsAndUsers</code></td><td>Full-text search across contacts and users.</td></tr><tr><td>Search Leads</td><td><code>searchLeads</code></td><td>Full-text search of leads by name/number. Returns lightweight matches.</td></tr><tr><td>Search Products</td><td><code>searchProducts</code></td><td>Full-text search of products by name/sku.</td></tr><tr><td>Search Sources</td><td><code>searchSources</code></td><td>Full-text search of lead sources by name.</td></tr><tr><td>Search Universal</td><td><code>searchUniversal</code></td><td>Universal full-text search across leads, contacts, and accounts.</td></tr><tr><td>Search Users And Teams</td><td><code>searchUsersAndTeams</code></td><td>Full-text search across users and teams.</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/nutshell.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.
