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

# Coda

Coda is a collaborative doc platform. Create docs and pages, manage table rows, and control sharing permissions.

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

|                    |                                                                                  |
| ------------------ | -------------------------------------------------------------------------------- |
| **Category**       | [Docs and knowledge](https://docs.fastn.ai/connectors/catalog/docs-knowledge.md) |
| **Website**        | [coda.io](https://coda.io)                                                       |
| **Authentication** | Access token                                                                     |
| **Slug**           | `coda`                                                                           |
| **On fastn.ai**    | [Embed Coda in your product](https://fastn.ai/integrations/coda)                 |

## Setup

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

## Connect in Fastn

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

1. Go to **Build → Integrations → Connectors** and search for **Coda**.
2. Select **Connect** on the Coda 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 Coda'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>Add Permission (ACL)</td><td><code>addPermission</code></td><td>Adds a permission to the doc for a principal. The 'principal' object identifies who to share with: for an email principal use {"type": "email", "email": "user@domain.com"}; group/domain/workspace/anyone are also supported.</td></tr><tr><td>Begin Page Content Export</td><td><code>beginPageContentExport</code></td><td>Initiates an export of content for the given page as HTML or Markdown. Returns a requestId to poll for status.</td></tr><tr><td>Create Doc</td><td><code>createDoc</code></td><td>Creates a new Coda doc, optionally copying an existing source doc.</td></tr><tr><td>Create Page</td><td><code>createPage</code></td><td>Creates a new page in the specified doc.</td></tr><tr><td>Delete Doc</td><td><code>deleteDoc</code></td><td>Deletes the specified doc.</td></tr><tr><td>Delete Page</td><td><code>deletePage</code></td><td>Deletes the specified page.</td></tr><tr><td>Delete Permission (ACL)</td><td><code>deletePermission</code></td><td>Deletes a permission (revokes access) from the doc.</td></tr><tr><td>Delete Row</td><td><code>deleteRow</code></td><td>Deletes the specified row from the table.</td></tr><tr><td>Delete Rows</td><td><code>deleteRows</code></td><td>Deletes multiple rows by ID from the specified table.</td></tr><tr><td>Get ACL Settings</td><td><code>getAclSettings</code></td><td>Returns the ACL settings (e.g. comment/copy/share permission policies) of the specified doc.</td></tr></tbody></table>

<details>

<summary>View 36 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>Get Column</td><td><code>getColumn</code></td><td>Returns details about a column in a table.</td></tr><tr><td>Get Control</td><td><code>getControl</code></td><td>Returns info on a control in the doc, including its current value.</td></tr><tr><td>Get Doc</td><td><code>getDoc</code></td><td>Returns metadata for the specified doc.</td></tr><tr><td>Get Folder</td><td><code>getFolder</code></td><td>Returns details about a folder.</td></tr><tr><td>Get Formula</td><td><code>getFormula</code></td><td>Returns info on a named formula in the doc, including its computed value.</td></tr><tr><td>Get Mutation Status</td><td><code>getMutationStatus</code></td><td>Returns the status (completed or not) of an asynchronous mutation request, identified by the requestId returned from write operations.</td></tr><tr><td>Get Page</td><td><code>getPage</code></td><td>Returns details about a page in the specified doc.</td></tr><tr><td>Get Page Content Export Status</td><td><code>getPageContentExportStatus</code></td><td>Checks the status of a page content export and returns the download link when complete.</td></tr><tr><td>Get Permissions (ACL)</td><td><code>getPermissions</code></td><td>Returns a list of permissions (ACL) for the specified doc.</td></tr><tr><td>Get Row</td><td><code>getRow</code></td><td>Returns details about a row in a table.</td></tr><tr><td>Get Sharing Metadata (ACL)</td><td><code>getSharingMetadata</code></td><td>Returns metadata about the sharing permissions available for the doc (e.g. which access levels can be granted).</td></tr><tr><td>Get Table</td><td><code>getTable</code></td><td>Returns details about a specific table or view.</td></tr><tr><td>List Columns</td><td><code>listColumns</code></td><td>Returns a list of columns in the specified table.</td></tr><tr><td>List Controls</td><td><code>listControls</code></td><td>Returns a list of controls (buttons, sliders, etc.) in the specified doc.</td></tr><tr><td>List Doc Analytics</td><td><code>listDocAnalytics</code></td><td>Returns analytics data (views, users, etc.) for docs owned/managed by the user over a time range.</td></tr><tr><td>List Doc Analytics Summary</td><td><code>listDocAnalyticsSummary</code></td><td>Returns summarized analytics data for the user's docs.</td></tr><tr><td>List Docs</td><td><code>listDocs</code></td><td>Returns a list of Coda docs accessible by the user, with optional filtering by owner, published state, starred, gallery, workspace, or folder.</td></tr><tr><td>List Folders</td><td><code>listFolders</code></td><td>Returns a list of folders accessible by the user (workspace navigation).</td></tr><tr><td>List Formulas</td><td><code>listFormulas</code></td><td>Returns a list of named formulas in the specified doc.</td></tr><tr><td>List Page Analytics</td><td><code>listPageAnalytics</code></td><td>Returns analytics data for the pages within a specific doc over a time range.</td></tr><tr><td>List Page Content (Export)</td><td><code>listPageContent</code></td><td>Returns the content export request statuses / canvas content listing for a page.</td></tr><tr><td>List Pages</td><td><code>listPages</code></td><td>Returns a list of pages in the specified doc.</td></tr><tr><td>List Rows</td><td><code>listRows</code></td><td>Returns a list of rows in the specified table, with optional query filtering and value formatting.</td></tr><tr><td>List Tables</td><td><code>listTables</code></td><td>Returns a list of tables and views in the specified doc.</td></tr><tr><td>Publish Doc</td><td><code>publishDoc</code></td><td>Updates publication settings of, or publishes, the specified doc. The account must have a maker profile before it can publish.</td></tr><tr><td>Push Button</td><td><code>pushButton</code></td><td>Pushes a button on a row in a table, triggering the button's configured action.</td></tr><tr><td>Resolve Browser Link</td><td><code>resolveBrowserLink</code></td><td>Given a browser link to a Coda object, returns metadata about it (e.g. resolves to a doc/page/table).</td></tr><tr><td>Search Principals (ACL)</td><td><code>searchPrincipals</code></td><td>Searches for users and groups (principals) that can be added to a doc's ACL.</td></tr><tr><td>Trigger Webhook Automation</td><td><code>triggerWebhookAutomation</code></td><td>Triggers a webhook-invoked automation rule in a doc, passing an arbitrary JSON payload that the automation can reference. Use this to programmatically kick off Coda automations.</td></tr><tr><td>Unpublish Doc</td><td><code>unpublishDoc</code></td><td>Unpublishes the specified doc.</td></tr><tr><td>Update ACL Settings</td><td><code>updateAclSettings</code></td><td>Updates the ACL settings of the specified doc.</td></tr><tr><td>Update Doc</td><td><code>updateDoc</code></td><td>Updates metadata (title, icon) for the specified doc.</td></tr><tr><td>Update Page</td><td><code>updatePage</code></td><td>Updates properties of the specified page (name, subtitle, icon, image, hidden state).</td></tr><tr><td>Update Row</td><td><code>updateRow</code></td><td>Updates the specified row in the table. The 'row' object contains a 'cells' array of {column, value} objects.</td></tr><tr><td>Upsert Rows</td><td><code>upsertRows</code></td><td>Inserts rows and/or upserts rows into a table. Each row is an object with a 'cells' array of {column, value} objects. Pass keyColumns to upsert (update rows that match on those columns) instead of always inserting.</td></tr><tr><td>Who Am I</td><td><code>whoami</code></td><td>Returns the user associated with the API token, including name, login id, workspace, and scoped status.</td></tr></tbody></table>

</details>

## Events

Start a workflow when one of these happens, with an [app event trigger](https://docs.fastn.ai/build/integrations/triggers.md).

<table><thead><tr><th width="240">Event</th><th width="260">Id</th><th>When it fires</th></tr></thead><tbody><tr><td>Automation Webhook (Custom Payload)</td><td><code>automation.webhook</code></td><td>Generic webhook-invoked automation delivering an arbitrary JSON payload. Use this for any Coda automation whose action is 'Send a webhook' targeting the Fastn URL, or as the catch-all for custom payloads pushed via the Trigger Webhook Automation action.</td></tr><tr><td>Button Pushed</td><td><code>button.pushed</code></td><td>A button in the doc was pushed, triggering an automation that posts to the Fastn webhook URL.</td></tr><tr><td>Page Changed</td><td><code>page.changed</code></td><td>A page's content changed. Configured via a Coda page-change automation that posts to the Fastn webhook URL.</td></tr><tr><td>Row Changed</td><td><code>row.changed</code></td><td>An existing row's values changed. Configured via a 'When a row changes' Coda automation that posts to the Fastn webhook URL.</td></tr><tr><td>Row Created</td><td><code>row.created</code></td><td>A new row was added to a table. Configured in Coda via a 'When a row is added' automation that sends a webhook to the Fastn URL.</td></tr><tr><td>Scheduled Time</td><td><code>time.scheduled</code></td><td>A time-based Coda automation fired on schedule and posted to the Fastn webhook URL.</td></tr></tbody></table>


---

# 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/docs-knowledge/coda.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.
