# Zapier — FoundationX Integrations
> zapier.com/apps/foundationx/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
FoundationX seamlessly integrates multimedia, manages file uploads, and organizes data to boost collaboration and productivity.

- App slug: foundationx
- Operations published here: 21 (4 events, 11 functions, 6 queries)

## Authentication
Zapier connects to FoundationX via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection foundationx
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/foundationx/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect FoundationX through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · addSource`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "foundationx", owner: "me" });

const { data } = await zapier.runAction({
  app: "foundationx",
  actionType: "write",
  action: "addSource",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action foundationx write addSource \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing FoundationX's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "foundationx" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions foundationx --page-size 50 --max-items 200 --json
```

### Events (4)

Events fire when something happens in FoundationX. Use them to start a run.

#### Fetch Conversations
Fetches a list of conversations.

- Type: read · Key: `find_conversationsList`
- Requires: nothing
- SDK: `runAction({ app: "foundationx", actionType: "read", action: "find_conversationsList" })`
- CLI: `npx zapier-sdk run-action foundationx read find_conversationsList`

#### Fetch Sources
Fetches a list of sources.

- Type: read · Key: `find_sourcesList`
- Requires: nothing
- SDK: `runAction({ app: "foundationx", actionType: "read", action: "find_sourcesList" })`
- CLI: `npx zapier-sdk run-action foundationx read find_sourcesList`

#### Fetch Workflows
Fetches a list of workflows.

- Type: read · Key: `find_workflowsList`
- Requires: nothing
- SDK: `runAction({ app: "foundationx", actionType: "read", action: "find_workflowsList" })`
- CLI: `npx zapier-sdk run-action foundationx read find_workflowsList`

#### Fetch Workflow Runs
Fetches a list of workflow runs.

- Type: read · Key: `find_workflow_runsList`
- Requires: nothing
- SDK: `runAction({ app: "foundationx", actionType: "read", action: "find_workflow_runsList" })`
- CLI: `npx zapier-sdk run-action foundationx read find_workflow_runsList`

### Functions (11)

Functions change something in FoundationX.

#### Save Source to Organisation
Save sources to Organisation.

- Type: write · Key: `addSource`
- Requires: name, type
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "addSource" })`
- CLI: `npx zapier-sdk run-action foundationx write addSource`

#### Create Conversation
Creates a new conversation.

- Type: write · Key: `create_conversation`
- Requires: name
- Optional: projectId
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "create_conversation" })`
- CLI: `npx zapier-sdk run-action foundationx write create_conversation`

#### Create Message No Stream
Creates a new message within a conversation.

- Type: write · Key: `create_message_no_stream`
- Requires: conversation_id, message
- Optional: projectId
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "create_message_no_stream" })`
- CLI: `npx zapier-sdk run-action foundationx write create_message_no_stream`

#### Create Workflow Preview
Creates a preview for a workflow execution.

- Type: write · Key: `create_workflow_preview`
- Requires: projectId, workflow_id, sources
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "create_workflow_preview" })`
- CLI: `npx zapier-sdk run-action foundationx write create_workflow_preview`

#### Delete Conversation
Soft deletes a conversation by its ID.

- Type: write · Key: `delete_conversation`
- Requires: conversation_id
- Optional: projectId
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "delete_conversation" })`
- CLI: `npx zapier-sdk run-action foundationx write delete_conversation`

#### Get Conversation by ID
Fetches a specific conversation by its ID.

- Type: write · Key: `get_conversation`
- Requires: conversation_id
- Optional: projectId
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "get_conversation" })`
- CLI: `npx zapier-sdk run-action foundationx write get_conversation`

#### Get Message by ID
Fetches a specific message by its ID within a conversation.

- Type: write · Key: `get_message`
- Requires: conversation_id, message_id
- Optional: projectId
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "get_message" })`
- CLI: `npx zapier-sdk run-action foundationx write get_message`

#### Get Text From Source
Retrieve text from source.

- Type: write · Key: `get_text_from_source`
- Requires: source_id
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "get_text_from_source" })`
- CLI: `npx zapier-sdk run-action foundationx write get_text_from_source`

#### Link Source to Project
Link source to project.

- Type: write · Key: `link_source_to_project`
- Requires: sourceIds
- Optional: projectId
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "link_source_to_project" })`
- CLI: `npx zapier-sdk run-action foundationx write link_source_to_project`

#### Run Workflow
Executes a workflow with specified parameters.

- Type: write · Key: `run_workflow`
- Requires: projectId, workflow_id, workflowRunId, resetResults
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "run_workflow" })`
- CLI: `npx zapier-sdk run-action foundationx write run_workflow`

#### Save File to Organisation
Uploads a file to an organisation's resource pool. Supports metadata and callback options.

- Type: write · Key: `uploadFile`
- Requires: filename, file, metadata
- Optional: callback
- SDK: `runAction({ app: "foundationx", actionType: "write", action: "uploadFile" })`
- CLI: `npx zapier-sdk run-action foundationx write uploadFile`

### Queries (6)

Queries read from FoundationX and return data. They change nothing.

#### Get Results
Retrieves the results of a specific workflow run.

- Type: search · Key: `get_results`
- Requires: workflow_id, workflowRunId, exportBy
- Optional: projectId
- SDK: `runAction({ app: "foundationx", actionType: "search", action: "get_results" })`
- CLI: `npx zapier-sdk run-action foundationx search get_results`

#### Get All Conversations
Fetches all conversations within the specified date range.

- Type: search · Key: `list_conversations`
- Requires: nothing
- Optional: projectId, limit, offset, start, end
- SDK: `runAction({ app: "foundationx", actionType: "search", action: "list_conversations" })`
- CLI: `npx zapier-sdk run-action foundationx search list_conversations`

#### List Organisation Projects
This endpoint allows users to fetch all projects from the organisation.

- Type: search · Key: `list_org_projects`
- Requires: nothing
- Optional: limit, offset
- SDK: `runAction({ app: "foundationx", actionType: "search", action: "list_org_projects" })`
- CLI: `npx zapier-sdk run-action foundationx search list_org_projects`

#### List All Sources
This endpoint allows users to fetch all sources.

- Type: search · Key: `list_sources`
- Requires: nothing
- Optional: limit, offset
- SDK: `runAction({ app: "foundationx", actionType: "search", action: "list_sources" })`
- CLI: `npx zapier-sdk run-action foundationx search list_sources`

#### List All Workflows
Retrieves a list of NER workflows.

- Type: search · Key: `list_workflows`
- Requires: nothing
- Optional: limit, offset, projectId, type, model
- SDK: `runAction({ app: "foundationx", actionType: "search", action: "list_workflows" })`
- CLI: `npx zapier-sdk run-action foundationx search list_workflows`

#### List Workflow Runs
Retrieves a paginated list of execution runs for a specific workflow.

- Type: search · Key: `list_workflow_runs`
- Requires: workflow_id
- Optional: limit, offset, projectId
- SDK: `runAction({ app: "foundationx", actionType: "search", action: "list_workflow_runs" })`
- CLI: `npx zapier-sdk run-action foundationx search list_workflow_runs`

## Popular integrations
- [FoundationX + Google Sheets](zapier.com/apps/foundationx/integrations/google-sheets.md)
- [FoundationX + Bookly](zapier.com/apps/foundationx/integrations/bookly.md)

## Links
- Full app page: zapier.com/apps/foundationx/integrations
- MCP: zapier.com/mcp/foundationx
- SDK: npmjs.com/package/@zapier/zapier-sdk