# Cloud Convert — Pipedream Connect

> File converter service

- API slug: `cloud_convert` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Marketing
- Website: https://cloudconvert.com
- Managed OAuth scopes: `user.read` · `user.write` · `task.read` · `task.write` · `webhook.read` · `webhook.write`
- This page (HTML): https://pipedream.com/apps/cloud-convert
- Tools: 6 actions · 3 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: cloud_convert`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "cloud_convert",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Convert File:
const result = await mcp.callTool({
  name: "cloud_convert-convert-file",
  arguments: {
    input: "Task ID",
    outputFormat: "Output Format",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Cloud Convert endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.cloudconvert.com/v2/users/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuY2xvdWRjb252ZXJ0LmNvbS92Mi91c2Vycy9tZQ?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "cloud_convert-convert-file",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    cloud_convert: { authProvisionId: "apn_xxxxxxx" },
    input: "Task ID",
    outputFormat: "Output Format",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (6)

### `cloud_convert-convert-file` — Convert File (Read-only)

Converts an input file to a specified output format using CloudConvert. See the documentation

Full schema: https://pipedream.com/apps/cloud-convert/actions/convert-file.md

### `cloud_convert-create-archive` — Create Archive (Write)

Creates an archive in a specified format. See the documentation

Full schema: https://pipedream.com/apps/cloud-convert/actions/create-archive.md

### `cloud_convert-create-import-url-task` — Create Import URL Task (Write)

Creates a task to import a file from a URL. See the documentation

Full schema: https://pipedream.com/apps/cloud-convert/actions/create-import-url-task.md

### `cloud_convert-create-job` — Create Job (Write)

Creates a new job for one or more tasks. See the documentation

Full schema: https://pipedream.com/apps/cloud-convert/actions/create-job.md

### `cloud_convert-create-merge-files-to-pdf-job` — Create Merge Files To PDF Job (Write)

Combines multiple input files into a single PDF file and create an export URL with a job. See the documentation

Full schema: https://pipedream.com/apps/cloud-convert/actions/create-merge-files-to-pdf-job.md

### `cloud_convert-get-task` — Get Task (Read-only)

Retrieves a task by ID. See the documentation

Full schema: https://pipedream.com/apps/cloud-convert/actions/get-task.md

## Triggers (3)

### `cloud_convert-job-failed-instant` — Job Failed (Instant) (Instant)

Emit new event when a CloudConvert job has failed. See the documentation

Full schema: https://pipedream.com/apps/cloud-convert/triggers/job-failed-instant.md

### `cloud_convert-job-finished-instant` — Job Finished (Instant) (Instant)

Emit new event when a CloudConvert job has been completed. See the documentation

Full schema: https://pipedream.com/apps/cloud-convert/triggers/job-finished-instant.md

### `cloud_convert-new-job-instant` — New Job (Instant) (Instant)

Emit new event when a new job has been created. See the documentation

Full schema: https://pipedream.com/apps/cloud-convert/triggers/new-job-instant.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
