Coda automation

From Zidong-IA/BIBLIOTECA · View interactive version

Coda automation is an AI agent skill from the GitHub repository Zidong-IA/BIBLIOTECA. Automate Coda tasks via Rube MCP (Composio): manage docs, pages, tables, rows, formulas, permissions, and publishing. Always search tools first for current schemas.

How to use this skill

Skill file

Coda Automation via Rube MCP

Automate Coda document and data operations through Composio's Coda toolkit via Rube MCP.

Prerequisites

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit coda
  3. If connection is not ACTIVE, follow the returned auth link to complete Coda authentication
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Search and Browse Documents

When to use: User wants to find, list, or inspect Coda documents

Tool sequence:

  1. CODA_SEARCH_DOCS or CODA_LIST_AVAILABLE_DOCS - Find documents [Required]
  2. CODA_RESOLVE_BROWSER_LINK - Resolve a Coda URL to doc/page/table IDs [Alternative]
  3. CODA_LIST_PAGES - List pages within a document [Optional]
  4. CODA_GET_A_PAGE - Get specific page details [Optional]

Key parameters:

Pitfalls:

2. Work with Tables and Data

When to use: User wants to read, write, or query table data

Tool sequence:

  1. CODA_LIST_TABLES - List tables in a document [Prerequisite]
  2. CODA_LIST_COLUMNS - Get column definitions for a table [Prerequisite]
  3. CODA_LIST_TABLE_ROWS - List all rows with optional filters [Required]
  4. CODA_SEARCH_ROW - Search for specific rows by query [Alternative]
  5. CODA_GET_A_ROW - Get a specific row by ID [Optional]
  6. CODA_UPSERT_ROWS - Insert or update rows in a table [Optional]
  7. CODA_GET_A_COLUMN - Get details of a specific column [Optional]

Key parameters:

Pitfalls:

3. Manage Formulas

When to use: User wants to list or evaluate formulas in a document

Tool sequence:

  1. CODA_LIST_FORMULAS - List all named formulas in a doc [Required]
  2. CODA_GET_A_FORMULA - Get a specific formula's current value [Optional]

Key parameters:

Pitfalls:

4. Export Document Content

When to use: User wants to export a document or page to HTML or Markdown

Tool sequence:

  1. CODA_BEGIN_CONTENT_EXPORT - Start an export job [Required]
  2. CODA_CONTENT_EXPORT_STATUS - Poll export status until complete [Required]

Key parameters:

Pitfalls:

5. Manage Permissions and Sharing

When to use: User wants to view or manage document access

Tool sequence:

  1. CODA_GET_SHARING_METADATA - View current sharing settings [Required]
  2. CODA_GET_ACL_SETTINGS - Get access control list settings [Optional]
  3. CODA_ADD_PERMISSION - Grant access to a user or email [Optional]

Key parameters:

Pitfalls:

6. Publish and Customize Documents

When to use: User wants to publish a document or manage custom domains

Tool sequence:

  1. CODA_PUBLISH_DOC - Publish a document publicly [Required]
  2. CODA_UNPUBLISH_DOC - Unpublish a document [Optional]
  3. CODA_ADD_CUSTOM_DOMAIN - Add a custom domain for published doc [Optional]
  4. CODA_GET_DOC_CATEGORIES - Get doc categories for discovery [Optional]

Key parameters:

Pitfalls:

Common Patterns

ID Resolution

Doc URL -> Doc ID:

1. Call CODA_RESOLVE_BROWSER_LINK with the Coda URL
2. Extract docId from the response

Table name -> Table ID:

1. Call CODA_LIST_TABLES with docId
2. Find table by name, extract id

Column name -> Column ID:

1. Call CODA_LIST_COLUMNS with docId and tableIdOrName
2. Find column by name, extract id

Pagination

Row Upsert Pattern

1. Call CODA_LIST_COLUMNS to get column IDs
2. Build row objects with column ID keys and values
3. Set keyColumns to unique identifier column(s)
4. Call CODA_UPSERT_ROWS with rows and keyColumns

Known Pitfalls

ID Formats:

Data Types:

Rate Limits:

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| Search docs | CODA_SEARCH_DOCS | query |

| List docs | CODA_LIST_AVAILABLE_DOCS | isOwner |

| Resolve URL | CODA_RESOLVE_BROWSER_LINK | url |

| List pages | CODA_LIST_PAGES | docId |

| Get page | CODA_GET_A_PAGE | docId, pageIdOrName |

| List tables | CODA_LIST_TABLES | docId |

| List columns | CODA_LIST_COLUMNS | docId, tableIdOrName |

| List rows | CODA_LIST_TABLE_ROWS | docId, tableIdOrName |

| Search rows | CODA_SEARCH_ROW | docId, tableIdOrName, query |

| Get row | CODA_GET_A_ROW | docId, tableIdOrName, rowIdOrName |

| Upsert rows | CODA_UPSERT_ROWS | docId, tableIdOrName, rows, keyColumns |

| Get column | CODA_GET_A_COLUMN | docId, tableIdOrName, columnIdOrName |

| Push button | CODA_PUSH_A_BUTTON | docId, tableIdOrName, rowIdOrName, columnIdOrName |

| List formulas | CODA_LIST_FORMULAS | docId |

| Get formula | CODA_GET_A_FORMULA | docId, formulaIdOrName |

| Begin export | CODA_BEGIN_CONTENT_EXPORT | docId, outputFormat |

| Export status | CODA_CONTENT_EXPORT_STATUS | docId, requestId |

| Get sharing | CODA_GET_SHARING_METADATA | docId |

| Add permission | CODA_ADD_PERMISSION | docId, access, principal |

| Publish doc | CODA_PUBLISH_DOC | docId, slug |

| Unpublish doc | CODA_UNPUBLISH_DOC | docId |

| List packs | CODA_LIST_PACKS | (none) |

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.