# Sunshine Conversations — Pipedream Connect

> Unified messaging platform

- API slug: `sunshine_conversations` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Communication
- Website: https://app.smooch.io
- This page (HTML): https://pipedream.com/apps/sunshine-conversations
- Tools: 9 actions · 7 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: sunshine_conversations`

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

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

const { tools } = await mcp.listTools()

// e.g. run Get Conversation:
const result = await mcp.callTool({
  name: "sunshine_conversations-get-conversation",
  arguments: {
    userId: "User ID",
    conversationId: "Conversation 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: "sunshine_conversations-get-conversation",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    sunshine_conversations: { authProvisionId: "apn_xxxxxxx" },
    userId: "User ID",
    conversationId: "Conversation ID",
  },
})
```

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

## Actions (9)

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

Get a conversation. See the documentation

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

### `sunshine_conversations-join-conversation` — Join Conversation (Write)

Join a conversation. See the documentation

Full schema: https://pipedream.com/apps/sunshine-conversations/actions/join-conversation.md

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

List all conversations that a user is part of. See the documentation

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

### `sunshine_conversations-list-integrations` — List Integrations (Read-only)

List integrations for the authenticated user. See the documentation

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

### `sunshine_conversations-list-messages` — List Messages (Read-only)

List messages. See the documentation

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

### `sunshine_conversations-list-participants` — List Participants (Read-only)

List participants of a conversation. See the documentation

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

### `sunshine_conversations-post-activity` — Post Activity (Write)

Post a conversation activity (e.g. typing indicators or read receipts). See the documentation

Full schema: https://pipedream.com/apps/sunshine-conversations/actions/post-activity.md

### `sunshine_conversations-post-text-message` — Post Text Message (Write)

Post a text message, optionally with action buttons. See the documentation

Full schema: https://pipedream.com/apps/sunshine-conversations/actions/post-text-message.md

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

Update a conversation. See the documentation

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

## Triggers (7)

### `sunshine_conversations-conversation-deleted` — Conversation Deleted (Instant) (Instant)

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

Full schema: https://pipedream.com/apps/sunshine-conversations/triggers/conversation-deleted.md

### `sunshine_conversations-conversation-joined` — Conversation Joined (Instant) (Instant)

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

Full schema: https://pipedream.com/apps/sunshine-conversations/triggers/conversation-joined.md

### `sunshine_conversations-conversation-left` — Conversation Left (Instant) (Instant)

Emit new event when a participant leaves a conversation. See the documentation

Full schema: https://pipedream.com/apps/sunshine-conversations/triggers/conversation-left.md

### `sunshine_conversations-message-delivery-failed` — Message Delivery Failed (Instant) (Instant)

Emit new event when a message delivery fails. See the documentation

Full schema: https://pipedream.com/apps/sunshine-conversations/triggers/message-delivery-failed.md

### `sunshine_conversations-new-message-delivered-to-channel` — New Message Delivered to Channel (Instant) (Instant)

Emit new event when a new message is delivered to a channel. See the documentation

Full schema: https://pipedream.com/apps/sunshine-conversations/triggers/new-message-delivered-to-channel.md

### `sunshine_conversations-new-message-delivered-to-user` — New Message Delivered to User (Instant) (Instant)

Emit new event when a new message is delivered to a user. See the documentation

Full schema: https://pipedream.com/apps/sunshine-conversations/triggers/new-message-delivered-to-user.md

### `sunshine_conversations-new-message-sent` — New Message Sent (Instant) (Instant)

Emit new event when a new message is sent in a conversation. See the documentation

Full schema: https://pipedream.com/apps/sunshine-conversations/triggers/new-message-sent.md

---

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