# Front — Pipedream Connect

> Customer communication platform

- API slug: `frontapp` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Marketing
- Website: https://frontapp.com/
- This page (HTML): https://pipedream.com/apps/frontapp
- Tools: 27 actions · 4 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: frontapp`

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

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

const { tools } = await mcp.listTools()

// e.g. run Add Comment:
const result = await mcp.callTool({
  name: "frontapp-add-comment",
  arguments: {
    conversationId: "Conversation ID",
    body: "Body",
  },
})
```

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

## API proxy

For a Front 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://api2.frontapp.com/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkyLmZyb250YXBwLmNvbS9tZQ?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: "frontapp-add-comment",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    frontapp: { authProvisionId: "apn_xxxxxxx" },
    conversationId: "Conversation ID",
    body: "Body",
  },
})
```

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

## Actions (27)

### `frontapp-add-comment` — Add Comment (Write)

Add a comment to a conversation. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/add-comment.md

### `frontapp-archive-conversation` — Archive Conversation (Write)

Archives a conversation. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/archive-conversation.md

### `frontapp-assign-conversation` — Assign Conversation (Write)

Assign or unassign a conversation. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/assign-conversation.md

### `frontapp-create-draft` — Create Draft (Write)

Create a draft message which is the first message of a new conversation. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/create-draft.md

### `frontapp-create-draft-reply` — Create Draft Reply (Write)

Create a new draft as a reply to the last message in the conversation. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/create-draft-reply.md

### `frontapp-create-inbox` — Create Inbox (Write)

Create an inbox in the default team (workspace). See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/create-inbox.md

### `frontapp-create-message` — Create Message (Write)

Send a new message from a channel. See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/create-message.md

### `frontapp-create-message-template` — Create Message Template (Write)

Create a new message template. See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/create-message-template.md

### `frontapp-delete-message-template` — Delete Message Template (Write)

Delete a message template. See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/delete-message-template.md

### `frontapp-get-comment` — Get Comment (Read-only)

Retrieve a comment from a conversation. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/get-comment.md

### `frontapp-get-conversation` — Get Conversation (Read-only)

Retrieve a conversation by its ID from Front. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/get-conversation.md

### `frontapp-get-message` — Get Message (Read-only)

Retrieve a message by its ID. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/get-message.md

### `frontapp-get-teammate` — Get Teammate (Read-only)

Retrieve a teammate by ID. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/get-teammate.md

### `frontapp-get-ticket-status` — Get Ticket Status (Read-only)

Get a ticket status by its ID. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/get-ticket-status.md

### `frontapp-import-message` — Import Message (Write)

Appends a new message into an inbox. See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/import-message.md

### `frontapp-list-comment-mentions` — List Comment Mentions (Read-only)

List the teammates mentioned in a comment. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/list-comment-mentions.md

### `frontapp-list-comments` — List Conversation Comments (Read-only)

List the comments in a conversation. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/list-comments.md

### `frontapp-list-conversations` — List Conversations (Read-only)

List conversations in the company. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/list-conversations.md

### `frontapp-list-message-templates` — List Message Templates (Read-only)

List the message templates. See the documentation.

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

### `frontapp-list-teammates` — List Teammate (Read-only)

List teammates in the company. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/list-teammates.md

### `frontapp-list-ticket-statuses` — List Ticket Statuses (Read-only)

List the ticket statuses available for your company. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/list-ticket-statuses.md

### `frontapp-receive-custom-messages` — Receive Custom Messages (Write)

Receive a custom message in Front. See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/receive-custom-messages.md

### `frontapp-reply-to-conversation` — Reply To Conversation (Write)

Reply to a conversation by sending a message and appending it to the conversation. See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/reply-to-conversation.md

### `frontapp-send-new-message` — Send New Message (Write)

Sends a new message from a channel. It will create a new conversation. See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/send-new-message.md

### `frontapp-tag-conversation` — Tag Conversation (Write)

Add tags to a conversation. See the documentation

Full schema: https://pipedream.com/apps/frontapp/actions/tag-conversation.md

### `frontapp-update-conversation` — Update Conversation (Write)

Updates a conversation. See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/update-conversation.md

### `frontapp-update-teammate` — Update Teammate (Write)

Update a teammate. See the documentation.

Full schema: https://pipedream.com/apps/frontapp/actions/update-teammate.md

## Triggers (4)

### `frontapp-new-conversation-created` — New Conversation Created (Polling)

Emit new event when a conversation is created. See the documentation

Full schema: https://pipedream.com/apps/frontapp/triggers/new-conversation-created.md

### `frontapp-new-conversation-state-change` — New Conversation State Change (Polling)

Emit new event when a conversation reaches a specific state. See the documentation

Full schema: https://pipedream.com/apps/frontapp/triggers/new-conversation-state-change.md

### `frontapp-new-conversation-tag` — New Conversation Tag (Polling)

Emit new event when a conversation is tagged with a specific tag or any tag. See the documentation

Full schema: https://pipedream.com/apps/frontapp/triggers/new-conversation-tag.md

### `frontapp-new-message-template-created` — New Message Template Created (Polling)

Emit new event when a message template is created. See the documentation

Full schema: https://pipedream.com/apps/frontapp/triggers/new-message-template-created.md

---

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