CONNECT APP
Build with Cloud Convert
Marketing
- OAuth
MCP
Give your agent Cloud Convert tools
Every Cloud Convert action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Cloud Convert account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{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",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{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",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Convert File:
result = await session.call_tool("cloud_convert-convert-file", {
"input": "Task ID",
"outputFormat": "Output Format",
})API PROXY
Call the Cloud Convert API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Cloud Convert API with the connected user's credentials attached. You store no tokens and write no refresh logic.
const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://api.cloudconvert.com/v2/users/me",
})
// Any allowed Cloud Convert endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.# 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"SDK
Run Cloud Convert actions from your backend
Connect a user's Cloud Convert account once, then run Convert File on their behalf from your own code — TypeScript, Python, or plain HTTP.
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",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="cloud_convert-convert-file",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"cloud_convert": {"authProvisionId": "apn_xxxxxxx"},
"input": "Task ID",
"outputFormat": "Output Format",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "cloud_convert-convert-file",
"configured_props": {
"cloud_convert": { "authProvisionId": "apn_xxxxxxx" },
"input": "Task ID",
"outputFormat": "Output Format"
}
}'TOOLS
Cloud Convert actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Convert File
actionConverts an input file to a specified output format using CloudConvert. See the documentationRead-onlyv0.0.2 -
Create Archive
actionCreates an archive in a specified format. See the documentationWritev0.0.2 -
Create Import URL Task
actionCreates a task to import a file from a URL. See the documentationWritev0.0.2 -
Create Job
actionCreates a new job for one or more tasks. See the documentationWritev0.0.1 -
Create Merge Files To PDF Job
actionCombines multiple input files into a single PDF file and create an export URL with a job. See the documentationWritev0.0.2 -
Get Task
actionRetrieves a task by ID. See the documentationRead-onlyv0.0.2
EVENTS
Cloud Convert triggers
Event sources your backend can deploy for users and receive through a webhook.
-
Job Failed (Instant)
triggerEmit new event when a CloudConvert job has failed. See the documentationInstantv0.0.1 -
Job Finished (Instant)
triggerEmit new event when a CloudConvert job has been completed. See the documentationInstantv0.0.1 -
New Job (Instant)
triggerEmit new event when a new job has been created. See the documentationInstantv0.0.1
MULTI-APP
Use Cloud Convert with other popular apps
Most products don't stop at one integration. Pair Cloud Convert with the other apps your users rely on, and ship use cases that span both.
- App slug
- cloud_convert
- Authentication
- OAuth
- Categories
- Marketing
- Actions
- 6
- Triggers
- 3
- API proxy
- Available
OAuth scopes
These are the scopes Pipedream's managed Cloud Convert OAuth client requests when one of your users connects an account. Supply your own OAuth client to request a different set.
- user.read
- user.write
- task.read
- task.write
- webhook.read
- webhook.write