> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/integrations/catalog/nuclino.md).

# Nuclino

Search, read, create, and organize Nuclino workspace content.

### Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

| Connector | Authentication |
| --------- | -------------- |
| Nuclino   | API Key        |

#### Nuclino

Connect to Nuclino to search, read, create, and organize workspace content.

**Set up in Nuclino**

1. Prepare the Nuclino account or service that the workflow will access. Grant access to the required resources and operations.
2. **API Key:** Create a personal API key in Nuclino under Profile > API Keys.

**Set up in StackAI**

1. Open **Settings → Connections**, add a connection, and select **Nuclino**.
2. Enter the credentials and connection details in the fields below.
3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

**Connection fields**

| StackAI field | Required | What to enter                                                                                                                              |
| ------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| API Key       | Yes      | Create a personal API key in Nuclino under Profile > API Keys. [Provider instructions](https://help.nuclino.com/04598850-manage-api-keys). |

#### Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

### Use an action

1. Add the required **Nuclino** action to the workflow.
2. Select a connection when the action requests one.
3. Complete the required fields. Use the reference picker when a value comes from another workflow step.
4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

### Actions

#### Create Item

Create a new Nuclino document in a workspace or collection.

**Inputs**

| Field             | Type            | Required | Description                                                                                |
| ----------------- | --------------- | -------- | ------------------------------------------------------------------------------------------ |
| Workspace         | select (string) | Yes      | Workspace where the item will be created. Options load from the selected connection.       |
| Parent Collection | select (string) | No       | Optional collection that will contain the item. Options load from the selected connection. |
| Title             | string          | Yes      | Title of the new document.                                                                 |
| Content           | textarea        | No       | Document body in Markdown.                                                                 |
| Custom Fields     | textarea        | No       | Optional custom field values as a JSON object keyed by field name.                         |

**Outputs**

| Field | Type   | Description                         |
| ----- | ------ | ----------------------------------- |
| Item  | object | The newly created Nuclino document. |

#### Create Collection

Create a collection to organize Nuclino content.

**Inputs**

| Field             | Type            | Required | Description                                                                                          |
| ----------------- | --------------- | -------- | ---------------------------------------------------------------------------------------------------- |
| Workspace         | select (string) | Yes      | Workspace where the collection will be created. Options load from the selected connection.           |
| Parent Collection | select (string) | No       | Optional collection that will contain the new collection. Options load from the selected connection. |
| Title             | string          | Yes      | Name of the new collection.                                                                          |
| Description       | textarea        | No       | Optional collection description in Markdown.                                                         |

**Outputs**

| Field      | Type   | Description                           |
| ---------- | ------ | ------------------------------------- |
| Collection | object | The newly created Nuclino collection. |

#### Update Item

Update an existing Nuclino document or collection.

**Inputs**

| Field              | Type            | Required | Description                                                                                          |
| ------------------ | --------------- | -------- | ---------------------------------------------------------------------------------------------------- |
| Workspace          | select (string) | No       | Optional workspace used only to populate the item picker. Options load from the selected connection. |
| Item or Collection | select (string) | Yes      | Document or collection to update. Options load from the selected connection.                         |
| New Title          | string          | No       | Replacement title; leave unset to keep the current title.                                            |
| New Content        | textarea        | No       | Replacement Markdown body; leave unset to keep current content.                                      |
| Custom Fields      | textarea        | No       | Replacement custom field values as a JSON object keyed by field name.                                |

**Outputs**

| Field | Type   | Description                                 |
| ----- | ------ | ------------------------------------------- |
| Item  | object | The updated Nuclino document or collection. |

#### Get Item

Retrieve a Nuclino document or collection with its content.

**Inputs**

| Field              | Type            | Required | Description                                                                                          |
| ------------------ | --------------- | -------- | ---------------------------------------------------------------------------------------------------- |
| Workspace          | select (string) | No       | Optional workspace used only to populate the item picker. Options load from the selected connection. |
| Item or Collection | select (string) | Yes      | Document or collection to retrieve. Options load from the selected connection.                       |

**Outputs**

| Field              | Type   | Description                                                   |
| ------------------ | ------ | ------------------------------------------------------------- |
| Item or Collection | object | The Nuclino document or collection with its Markdown content. |

#### Search Items

Search Nuclino documents and collections by text.

**Inputs**

| Field           | Type            | Required | Description                                                                              |
| --------------- | --------------- | -------- | ---------------------------------------------------------------------------------------- |
| Search Query    | string          | Yes      | Text to find in Nuclino.                                                                 |
| Team            | select (string) | No       | Optional team; cannot combine with workspace. Options load from the selected connection. |
| Workspace       | select (string) | No       | Optional workspace; cannot combine with team. Options load from the selected connection. |
| Maximum Results | integer         | No       | Number of matches from 1 to 100. Minimum: 1. Maximum: 100. Default: 100.                 |

**Outputs**

| Field | Type          | Description                                    |
| ----- | ------------- | ---------------------------------------------- |
| Items | object\_array | Documents and collections matching the search. |

#### List Teams

List Nuclino teams available to the connected account.

**Inputs**

| Field               | Type    | Required | Description                                                      |
| ------------------- | ------- | -------- | ---------------------------------------------------------------- |
| Maximum Results     | integer | No       | Maximum teams to return. Minimum: 1. Maximum: 100. Default: 100. |
| Continuation Cursor | string  | No       | Cursor from a previous result.                                   |

**Outputs**

| Field       | Type          | Description                                       |
| ----------- | ------------- | ------------------------------------------------- |
| Teams       | object\_array | Nuclino teams available to the connected account. |
| Next Cursor | string        | Cursor for the next result page, if available.    |

#### List Workspaces

List accessible Nuclino workspaces and their custom fields.

**Inputs**

| Field               | Type            | Required | Description                                                                                   |
| ------------------- | --------------- | -------- | --------------------------------------------------------------------------------------------- |
| Team                | select (string) | No       | Optional team whose workspaces should be returned. Options load from the selected connection. |
| Maximum Results     | integer         | No       | Maximum workspaces to return. Minimum: 1. Maximum: 100. Default: 100.                         |
| Continuation Cursor | string          | No       | Cursor from a previous List Workspaces result.                                                |

**Outputs**

| Field       | Type          | Description                                            |
| ----------- | ------------- | ------------------------------------------------------ |
| Workspaces  | object\_array | Nuclino workspaces and their custom field definitions. |
| Next Cursor | string        | Cursor for the next result page, if available.         |

#### List Items and Collections

Browse Nuclino documents and collections.

**Inputs**

| Field               | Type            | Required | Description                                                                                              |
| ------------------- | --------------- | -------- | -------------------------------------------------------------------------------------------------------- |
| Team                | select (string) | No       | Optional team to browse; cannot be combined with a workspace. Options load from the selected connection. |
| Workspace           | select (string) | No       | Optional workspace to browse; cannot be combined with a team. Options load from the selected connection. |
| Maximum Results     | integer         | No       | Maximum items and collections to return. Minimum: 1. Maximum: 100. Default: 100.                         |
| Continuation Cursor | string          | No       | Cursor from a previous list result.                                                                      |

**Outputs**

| Field                 | Type          | Description                                    |
| --------------------- | ------------- | ---------------------------------------------- |
| Items and Collections | object\_array | Accessible Nuclino documents and collections.  |
| Next Cursor           | string        | Cursor for the next result page, if available. |

#### Edit Item Content

Replace a line range without overwriting the rest of a Nuclino document.

**Inputs**

| Field                 | Type            | Required | Description                                                                                                |
| --------------------- | --------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| Workspace             | select (string) | No       | Optional workspace used only to populate the item picker. Options load from the selected connection.       |
| Item or Collection    | select (string) | Yes      | Document or collection whose content should change. Options load from the selected connection.             |
| Content Version       | integer         | Yes      | Current version returned by Get Item.                                                                      |
| Edit Mode             | select (string) | Yes      | Replace the selected lines or explicitly delete them. Available values: Replace, Delete. Default: replace. |
| First Line            | integer         | Yes      | First 1-based line to replace. Minimum: 1.                                                                 |
| Last Line             | integer         | Yes      | Last 1-based line to replace. Minimum: 1.                                                                  |
| Replacement Text      | textarea        | No       | Markdown text required when Edit Mode is Replace.                                                          |
| Confirm Line Deletion | boolean         | No       | Confirm permanent removal of the selected lines when Edit Mode is Delete. Default: false.                  |

**Outputs**

| Field              | Type   | Description                                 |
| ------------------ | ------ | ------------------------------------------- |
| Item or Collection | object | The updated Nuclino document or collection. |

#### Move Item to Trash

Move a Nuclino document or collection to workspace trash.

**Inputs**

| Field                 | Type            | Required | Description                                                                                          |
| --------------------- | --------------- | -------- | ---------------------------------------------------------------------------------------------------- |
| Workspace             | select (string) | No       | Optional workspace used only to populate the item picker. Options load from the selected connection. |
| Item or Collection    | select (string) | Yes      | Document or collection to move to trash. Options load from the selected connection.                  |
| Confirm Move to Trash | boolean         | Yes      | Confirm that the selected content should be moved to trash. Default: false.                          |

**Outputs**

| Field                 | Type    | Description                                                        |
| --------------------- | ------- | ------------------------------------------------------------------ |
| Moved to Trash        | boolean | Whether Nuclino moved the item or collection to trash.             |
| Item or Collection ID | string  | The ID Nuclino returned for the item or collection moved to trash. |

### Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.


---

# 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.stackai.com/integrations/catalog/nuclino.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.
