# Plainly — Pipedream Connect

> Automate video creation

- API slug: `plainly` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Marketing
- Website: https://www.plainlyvideos.com/
- This page (HTML): https://pipedream.com/apps/plainly
- 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: plainly`

```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": "plainly",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// e.g. run Create Render Job:
const result = await mcp.callTool({
  name: "plainly-create-render-job",
  arguments: {
    projectId: "Project ID",
    templateId: "Template ID",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.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: "plainly-create-render-job",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    plainly: { authProvisionId: "apn_xxxxxxx" },
    projectId: "Project ID",
    templateId: "Template ID",
  },
})
```

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

## Actions (6)

### `plainly-create-render-job` — Create Render Job (Write)

Creates a render job for a video template. See the documentation

Full schema: https://pipedream.com/apps/plainly/actions/create-render-job.md

### `plainly-get-render-status` — Get Render Status (Read-only)

Retrieves the current status of a render job in Plainly. See the documentation

Full schema: https://pipedream.com/apps/plainly/actions/get-render-status.md

### `plainly-list-brand-id-options` — List Brand ID Options (Read-only)

Retrieves available options for the Brand ID field.

Full schema: https://pipedream.com/apps/plainly/actions/list-brand-id-options.md

### `plainly-list-project-id-options` — List Project ID Options (Read-only)

Retrieves available options for the Project ID field.

Full schema: https://pipedream.com/apps/plainly/actions/list-project-id-options.md

### `plainly-list-render-id-options` — List Render ID Options (Read-only)

Retrieves available options for the Render ID field.

Full schema: https://pipedream.com/apps/plainly/actions/list-render-id-options.md

### `plainly-list-templates` — List Templates (Read-only)

Fetches a list of available video templates in a project in the user's Plainly account. See the documentation

Full schema: https://pipedream.com/apps/plainly/actions/list-templates.md

## Triggers (3)

### `plainly-new-render-completed` — New Render Completed (Polling)

Emit new event when a video render job finishes successfully.

Full schema: https://pipedream.com/apps/plainly/triggers/new-render-completed.md

### `plainly-new-render-failed` — New Render Failed (Polling)

Emit new event when a video render fails.

Full schema: https://pipedream.com/apps/plainly/triggers/new-render-failed.md

### `plainly-new-video-created` — New Video Created (Polling)

Emit new event when a video is created or uploaded in Plainly.

Full schema: https://pipedream.com/apps/plainly/triggers/new-video-created.md

---

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