CONNECT APP
Build with Belco
Customer Service Software for Webshops
Commerce
- API key
MCP
Give your agent Belco tools
Every Belco 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 Belco 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": "belco",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Add Note to Conversation:
const result = await mcp.callTool({
name: "belco-add-note-to-conversation",
arguments: {
conversationId: "Conversation ID",
body: "Body",
},
})# 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": "belco",
}
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 Add Note to Conversation:
result = await session.call_tool("belco-add-note-to-conversation", {
"conversationId": "Conversation ID",
"body": "Body",
})SDK
Run Belco actions from your backend
Connect a user's Belco account once, then run Add Note to Conversation 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: "belco-add-note-to-conversation",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
belco: { authProvisionId: "apn_xxxxxxx" },
conversationId: "Conversation ID",
body: "Body",
},
})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="belco-add-note-to-conversation",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"belco": {"authProvisionId": "apn_xxxxxxx"},
"conversationId": "Conversation ID",
"body": "Body",
},
)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": "belco-add-note-to-conversation",
"configured_props": {
"belco": { "authProvisionId": "apn_xxxxxxx" },
"conversationId": "Conversation ID",
"body": "Body"
}
}'TOOLS
Belco actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Add Note to Conversation
actionAdd a note to a conversation specified by ID. See the documentationWritev0.0.5 -
Add Tags to Conversation
actionAdd tags to a conversation. See the documentationWritev0.0.3 -
Close Conversation
actionClose a conversation specified by ID. See the documentationWritev0.0.5 -
Create Conversation
actionCreate a conversation from Belco. See the documentationWritev0.0.5 -
Get Contact Details
actionGet the details of a contact in Belco. See the documentationRead-onlyv0.0.2 -
List All Conversations
actionGet a list of conversations from Belco. See the documentationRead-onlyv0.0.5 -
List Shop ID Options
actionRetrieves available options for the Shop ID field.Read-onlyv0.0.2 -
List Users
actionList all users in the Belco account. See the documentationRead-onlyv0.0.2 -
Reopen Conversation
actionReopen a conversation specified by ID. See the documentationWritev0.0.5 -
Reply to Conversation
actionReply to a conversation specified by ID. See the documentationWritev0.0.5 -
Retrieve Conversation
actionRetrieve a conversation specified by ID. See the documentationRead-onlyv0.0.5 -
Retrieve Conversation Items
actionRetrieve the list of items belonging to a conversation, such as messages, notes, assignments, tags, calls and status changes. Use this instead of Retrieve Conversation when you need the conversation's full message and event history rather than its top-level metadata. Returns a flat array in a single response with no pagination; each item carries atypefield identifying which kind of event it is. See the documentationRead-onlyv0.0.1 -
Send Message
actionSend a message to a conversation specified by ID. See the documentationWritev0.0.5
-
Conversation Assigned (Instant)
triggerEmit new event for each new conversation assigned eventInstantv0.0.2 -
Conversation Closed (Instant)
triggerEmit new event for each new conversation closed eventInstantv0.0.2 -
Conversation Reopened (Instant)
triggerEmit new event for each new conversation reopened eventInstantv0.0.2 -
Conversation Replied (Instant)
triggerEmit new event for each new conversation replied eventInstantv0.0.2 -
New Conversation
triggerEmit new conversation event when a new conversation is created. See the documentationv0.0.4 -
New Conversation Created (Instant)
triggerEmit new event for each new conversation created eventInstantv0.0.2 -
New Webhook Event (Instant)
triggerEmit new event for each new webhook eventInstantv0.0.2 -
Note Added (Instant)
triggerEmit new event for each new note added eventInstantv0.0.2
- App slug
- belco
- Authentication
- API key
- Categories
- Commerce
- Actions
- 13
- Triggers
- 8
- API proxy
- Not available