CONNECT APP
Build with Trustpilot (Customer)
Business Management
- OAuth
MCP
Give your agent Trustpilot (Customer) tools
Every Trustpilot (Customer) 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 Trustpilot (Customer) 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": "trustpilot",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Fetch Product Review by ID:
const result = await mcp.callTool({
name: "trustpilot-fetch-product-review-by-id",
arguments: {
reviewId: "Review ID",
},
})# 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": "trustpilot",
}
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 Fetch Product Review by ID:
result = await session.call_tool("trustpilot-fetch-product-review-by-id", {
"reviewId": "Review ID",
})API PROXY
Call the Trustpilot (Customer) API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Trustpilot (Customer) 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://api.trustpilot.com",
})
// Any allowed Trustpilot (Customer) 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://api.trustpilot.com
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkudHJ1c3RwaWxvdC5jb20?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run Trustpilot (Customer) actions from your backend
Connect a user's Trustpilot (Customer) account once, then run Fetch Product Review by ID 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: "trustpilot-fetch-product-review-by-id",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
trustpilot: { authProvisionId: "apn_xxxxxxx" },
reviewId: "Review ID",
},
})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="trustpilot-fetch-product-review-by-id",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"trustpilot": {"authProvisionId": "apn_xxxxxxx"},
"reviewId": "Review ID",
},
)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": "trustpilot-fetch-product-review-by-id",
"configured_props": {
"trustpilot": { "authProvisionId": "apn_xxxxxxx" },
"reviewId": "Review ID"
}
}'TOOLS
Trustpilot (Customer) actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Fetch Product Review by ID
actionRetrieves detailed information about a specific product review on Trustpilot. Use this action to get comprehensive data about a single product review, including customer feedback, star rating, review text, and metadata. Perfect for analyzing individual customer experiences, responding to specific feedback, or integrating review data into your customer service workflows. See the documentationRead-onlyv0.1.1 -
Fetch Product Reviews
actionRetrieves a list of product reviews for a specific business unit. See documentation hereRead-onlyv1.0.1 -
Fetch Service Review by ID
actionGet a private service review by ID, including customer email and order ID. Access comprehensive data about an individual service review for your business. See the documentationRead-onlyv0.1.1 -
Fetch Service Reviews
actionGet private reviews for a business unit. Response includes customer email and order ID. See the documentationRead-onlyv0.1.2 -
Get Conversation from Product Review
actionGet conversation and related comments from a product review. First fetches the review to get the conversationId, then retrieves the full conversation details. See the documentationRead-onlyv0.0.3 -
Reply to Product Review
actionReply to a product review by creating a conversation and posting a comment. This follows the proper flow: fetch review -> create conversation if needed -> post comment. See the documentationWritev0.1.2 -
Reply to Service Review
actionReply to a service review on Trustpilot.Writev0.1.1
EVENTS
Trustpilot (Customer) triggers
Event sources your backend can deploy for users and receive through a webhook.
-
New Conversations
triggerEmit new event when a new conversation is started on Trustpilot. This source periodically polls the Trustpilot API to detect new customer-business conversations. Each event contains conversation details including participants, subject, business unit, and creation timestamp. Useful for tracking customer inquiries, support requests, and maintaining real-time communication with customers.v0.0.3 -
New Product Review Replies
triggerEmit new event when a business replies to a product review on Trustpilot. This source periodically polls the Trustpilot API to detect new replies to product reviews. Each event includes the reply text, creation timestamp, and associated review details (product name, star rating, consumer info). Ideal for monitoring business responses to customer feedback, tracking customer service performance, and ensuring timely engagement with product reviews.v0.0.3 -
New Product Reviews
triggerEmit new event when a customer posts a new product review on Trustpilot. This source periodically polls the Trustpilot API to detect new product reviews. Each event contains the complete review data including star rating, review text, product information, consumer details, and timestamps. Perfect for monitoring product feedback, analyzing customer satisfaction trends, and triggering automated responses or alerts for specific products.v0.1.0 -
New Service Review Replies
triggerEmit new event when a business replies to a service review on Trustpilot. This source periodically polls the Trustpilot API to detect new replies to service reviews. Each event includes the reply text, creation timestamp, and associated review details (star rating, review title, consumer info). Essential for tracking business engagement with customer feedback, monitoring response times, and ensuring all service reviews receive appropriate attention.v0.0.3 -
New Service Reviews
triggerEmit new event when a customer posts a new service review on Trustpilot. This source periodically polls the Trustpilot API to detect new service reviews using the private reviews API for comprehensive coverage.v0.1.0 -
New Updated Conversations
triggerEmit new event when an existing conversation is updated with new messages on Trustpilot. This source periodically polls the Trustpilot API to detect conversations that have received new messages. Each event contains updated conversation details including participants, subject, message count, and latest update timestamp. Useful for tracking ongoing customer interactions, ensuring timely responses to follow-up messages, and maintaining conversation continuity.v0.0.3 -
New Updated Product Reviews
triggerEmit new event when an existing product review is updated or revised on Trustpilot. This source periodically polls the Trustpilot API to detect product reviews that have been modified. Each event contains the updated review data including any changes to star rating, review text, or other review attributes. Perfect for tracking review modifications, monitoring changes in customer sentiment, and ensuring product feedback accuracy over time.v0.0.3 -
New Updated Service Reviews
triggerEmit new event when an existing service review is updated or revised on Trustpilot. This source periodically polls the Trustpilot API to detect service reviews that have been modified. Each event contains the updated review data including any changes to star rating, review text, or other review attributes. Essential for tracking review modifications, monitoring evolving customer feedback, and identifying patterns in review updates.v0.0.3
MULTI-APP
Use Trustpilot (Customer) with other popular apps
Most products don't stop at one integration. Pair Trustpilot (Customer) with the other apps your users rely on, and ship use cases that span both.
REFERENCE
App details
Reference metadata for the Trustpilot (Customer) connector in the Pipedream registry.
- App slug
- trustpilot
- Authentication
- OAuth
- Categories
- Business Management
- Actions
- 7
- Triggers
- 8
- API proxy
- Available