[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [ChatGPT and Codex documentation index](https://spiral.ai/integrations/n8n/chatgpt-and-codex-documentation-index)

# How to Use ChatGPT and Codex documentation index in n8n

Returns pages from the documentation index, organized by topic. Use it to build a reading list or discover guides when you know the subject but have no specific search phrase.

|  |  |
| --- | --- |
| Model | ChatGPT and Codex documentation index |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with ChatGPT and Codex documentation index in n8n

- Each month, use ChatGPT and Codex documentation index to review the available guides about plugins and report additions to the reading list.
- Every Monday at 9am: use ChatGPT and Codex documentation index to look this up and give me the result as a table.
- Pull the latest numbers from ChatGPT and Codex documentation index and tell me what changed since last week.
- Check ChatGPT and Codex documentation index and summarize what you find in three bullet points.
- Pull the newest data from ChatGPT and Codex documentation index and give me the result as a table.

## How to set up ChatGPT and Codex documentation index in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run ChatGPT and Codex documentation index in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds ChatGPT and Codex documentation index, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ChatGPT and Codex documentation index**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "learn-chatgpt-com/developer-documentation/list_pages",
    "input": {
      "q": "<q>"
    }
  }'
```

Then paste one of the prompts above: n8n finds ChatGPT and Codex documentation index on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## ChatGPT and Codex documentation index tools and prices

- [ChatGPT and Codex docs · List pages](https://spiral.ai/tools/alexandria/learn-chatgpt-com/developer-documentation/list_pages) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| q |  | — | Words that must all appear in title, description, slug or group (case-insensitive). |
| group |  | — | Exact group name, case-insensitive (see groups in any result). |
| limit | 1 to 500 | 50 | limit |
| offset | 0 to 10000 | 0 | offset |

## What can you do with ChatGPT and Codex documentation index in n8n?

Keep a ChatGPT and Codex reference briefing current through scheduled documentation reviews. An always-on agent can report new release entries, changes to selected guides, or newly discovered reading material.

### Review an onboarding guide

Map the relevant ChatGPT Learn topics, find guidance for the guide's claims, read the source passages, and check dated updates for changes that require a rewrite.

### Prepare a Codex migration assessment

Find the documentation for the workflow being migrated, assemble the related reading list, inspect exact instructions, and use changelog entries to explain relevant changes over time.

### Maintain a support knowledge base

Compare support answers with official passages, discover missing documentation topics, and review release notes for fixes that make an old workaround unnecessary.

### Build a topic-specific update briefing

Use hooks or plugins as the briefing topic. Combine dated announcements with a map of relevant guides and source passages that explain how the documented behavior works.

### Create a documentation reading list

Browse the documentation index for AGENTS.md, hooks, and plugins, then read the selected pages to write short descriptions of what each guide helps a developer accomplish.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## ChatGPT and Codex documentation index in other agents

- [Amp](https://spiral.ai/integrations/amp/chatgpt-and-codex-documentation-index)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/chatgpt-and-codex-documentation-index)
- [Claude](https://spiral.ai/integrations/claude-desktop/chatgpt-and-codex-documentation-index)
- [Claude Code](https://spiral.ai/integrations/claude-code/chatgpt-and-codex-documentation-index)
- [Cline](https://spiral.ai/integrations/cline/chatgpt-and-codex-documentation-index)
- [Codex](https://spiral.ai/integrations/codex/chatgpt-and-codex-documentation-index)
- [Cursor](https://spiral.ai/integrations/cursor/chatgpt-and-codex-documentation-index)
- [Devin](https://spiral.ai/integrations/devin/chatgpt-and-codex-documentation-index)
- [dots](https://spiral.ai/integrations/dots/chatgpt-and-codex-documentation-index)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/chatgpt-and-codex-documentation-index)
- [Gemini](https://spiral.ai/integrations/gemini/chatgpt-and-codex-documentation-index)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/chatgpt-and-codex-documentation-index)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/chatgpt-and-codex-documentation-index)
- [goose](https://spiral.ai/integrations/goose/chatgpt-and-codex-documentation-index)
- [Grok](https://spiral.ai/integrations/grok/chatgpt-and-codex-documentation-index)
- [Grok Build](https://spiral.ai/integrations/grok-build/chatgpt-and-codex-documentation-index)
- [Hermes](https://spiral.ai/integrations/hermes/chatgpt-and-codex-documentation-index)
- [Instinct](https://spiral.ai/integrations/instinct/chatgpt-and-codex-documentation-index)
- [Manus](https://spiral.ai/integrations/manus/chatgpt-and-codex-documentation-index)
- [Muse](https://spiral.ai/integrations/muse/chatgpt-and-codex-documentation-index)
- [Muse Code](https://spiral.ai/integrations/muse-code/chatgpt-and-codex-documentation-index)
- [Notion](https://spiral.ai/integrations/notion/chatgpt-and-codex-documentation-index)
- [OpenClaw](https://spiral.ai/integrations/openclaw/chatgpt-and-codex-documentation-index)
- [opencode](https://spiral.ai/integrations/opencode/chatgpt-and-codex-documentation-index)
- [Perplexity](https://spiral.ai/integrations/perplexity/chatgpt-and-codex-documentation-index)
- [Raycast](https://spiral.ai/integrations/raycast/chatgpt-and-codex-documentation-index)
- [VS Code](https://spiral.ai/integrations/vscode/chatgpt-and-codex-documentation-index)
- [Windsurf](https://spiral.ai/integrations/windsurf/chatgpt-and-codex-documentation-index)
- [Zapier](https://spiral.ai/integrations/zapier/chatgpt-and-codex-documentation-index)

## More n8n guides

- [ChatGPT and Codex changelog](https://spiral.ai/integrations/n8n/chatgpt-and-codex-changelog)
- [ChatGPT and Codex documentation page](https://spiral.ai/integrations/n8n/chatgpt-and-codex-documentation-page)
- [CVE.org vulnerability record](https://spiral.ai/integrations/n8n/cve-org-vulnerability-record)
- [ChatGPT and Codex documentation search](https://spiral.ai/integrations/n8n/chatgpt-and-codex-documentation-search)
- [CVE.org recent CVE changes](https://spiral.ai/integrations/n8n/cve-org-recent-cve-changes)
- [Claude (claude.com) Search docs](https://spiral.ai/integrations/n8n/claude-claude-com-search-docs)

## Questions about ChatGPT and Codex documentation index in n8n

**Can n8n use ChatGPT and Codex documentation index?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run ChatGPT and Codex documentation index like any built-in tool.

**How much does ChatGPT and Codex documentation index cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use ChatGPT and Codex documentation index in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs ChatGPT and Codex documentation index on its own Alexandria account.

**How long does it take to set up ChatGPT and Codex documentation index in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while ChatGPT and Codex documentation index runs?**

ChatGPT and Codex documentation index runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**What documentation does this source cover?**

It covers the ChatGPT and Codex guides and references published on ChatGPT Learn. The documentation index identifies a combined export for those two products.

**Does the documentation search cover the wider web?**

The search uses OpenAI's own documentation search restricted to the ChatGPT Learn site. It is suitable for finding official guidance rather than community discussions or third-party tutorials.

**Can the documentation be read as Markdown?**

Yes. ChatGPT Learn publishes Markdown versions by appending .md to documentation page URLs, and provides llms.txt as its complete documentation index.

**How often does the source publish feature summaries?**

The documentation index describes What's new as a weekly digest. That describes the feature summary, rather than a guaranteed refresh schedule for every guide.

**Where does OpenAI document smaller fixes and API changes?**

What's new points to the ChatGPT and Codex changelog for versioned updates, bug fixes, and minor improvements. It links a separate API changelog, so ChatGPT and Codex update entries should not be treated as a complete API change history.

