View as Markdown
Trustpilot (Customer) icon

Trustpilot (Customer) ACTION

Reply to Product Review

Reply 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 documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Trustpilot (Customer) account once, then configure and run Reply to Product Review from your backend or agent.

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-reply-to-product-review",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    trustpilot: { authProvisionId: "apn_xxxxxxx" },
    reviewId: "Review ID",
    content: "Reply Content",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Reply to Product Review inputs
Property Type Description
reviewId Review ID string
The unique identifier for a review
Required
content Reply Content string
The content of your reply to the review
Required
integrationId Integration ID string
Optional integration ID to track the source of the reply
Optional
businessUserId Business User ID string
The ID of the business user posting the reply (required for creating comments)
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
trustpilot-reply-to-product-review
Version
0.1.2
App
Trustpilot (Customer)
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes