CONNECT APP
Build with Judge.me
Commerce
- OAuth
MCP
Give your agent Judge.me tools
Every Judge.me 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 Judge.me 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": "judge_me",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Private Reply:
const result = await mcp.callTool({
name: "judge_me-private-reply",
arguments: {
reviewId: 10,
replyEmailSubject: "Email Subject",
},
})# 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": "judge_me",
}
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 Private Reply:
result = await session.call_tool("judge_me-private-reply", {
"reviewId": 10,
"replyEmailSubject": "Email Subject",
})API PROXY
Call the Judge.me API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Judge.me 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://judge.me/api/v1/reviews",
})
// Any allowed Judge.me 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://judge.me/api/v1/reviews
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9qdWRnZS5tZS9hcGkvdjEvcmV2aWV3cw?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run Judge.me actions from your backend
Connect a user's Judge.me account once, then run Private Reply 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: "judge_me-private-reply",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
judge_me: { authProvisionId: "apn_xxxxxxx" },
reviewId: 10,
replyEmailSubject: "Email Subject",
},
})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="judge_me-private-reply",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"judge_me": {"authProvisionId": "apn_xxxxxxx"},
"reviewId": 10,
"replyEmailSubject": "Email Subject",
},
)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": "judge_me-private-reply",
"configured_props": {
"judge_me": { "authProvisionId": "apn_xxxxxxx" },
"reviewId": 10,
"replyEmailSubject": "Email Subject"
}
}'TOOLS
Judge.me actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Private Reply
actionCreate a private reply for a review, on behalf of the shop. Private replies are not shown on the widgets, but can be emailed to the reviewers. See the documentationWritev0.0.3 -
Reply
actionCreate a public reply for a review on behalf of the shop. Public replies are shown publicly on the widgets. See the documentationWritev0.0.3
EVENTS
Judge.me triggers
Event sources your backend can deploy for users and receive through a webhook.
- App slug
- judge_me
- Authentication
- OAuth
- Categories
- Commerce
- Actions
- 2
- Triggers
- 1
- API proxy
- Available
OAuth scopes
These are the scopes Pipedream's managed Judge.me OAuth client requests when one of your users connects an account. Supply your own OAuth client to request a different set.
- read_reviews
- read_products
- write_replies
- write_private_replies