---
title: ChatGPT Integration
description: Connect OpenAI ChatGPT and Custom GPTs to Siglata workspaces, files, and spreadsheets.
sidebar:
  label: ChatGPT
  order: 4
---

ChatGPT can inspect and update Siglata spreadsheets and organization files through OpenAPI Actions and the Model Context Protocol.

## Setting Up ChatGPT Custom Actions

1. Open your Custom GPT editor at [chatgpt.com/gpts/editor](https://chatgpt.com/gpts/editor).
2. Under **Actions**, click **Create new action**.
3. Import the official Siglata OpenAPI specification:
   `https://www.siglata.com/schema/spreadsheet/1`
4. Set **Authentication** to `API Key` (Bearer) and provide your Siglata organization token.

## How File Uploads Transit

When a user drops an Excel file, CSV, or document into ChatGPT:

1. The connected client sends the bytes to Siglata's authenticated `POST /mcp/files/stage`
   endpoint with the supported media type and file name.
2. Siglata stores and verifies the bytes as a server-owned File in the caller's Organization.
3. ChatGPT passes the returned `file_id` and optional `revision_id` in the attachment reference for
   the next operation.

> **Warning**
>
> Attachment references accept server-owned file IDs only. Siglata refuses `download_url`, arbitrary
> URLs, and host-provided file metadata.

## Interactive Commands

You can ask ChatGPT:

- _"List all spreadsheets in my Siglata organization."_
- _"Analyze the churn rate from the active customers sheet and update cell D15."_
- _"Validate whether the uploaded financial model matches our organization schema."_
