← Circle + Trustpilot (Customer) integrations

Fetch Product Reviews with Trustpilot (Customer) API on New Comment Posted from Circle API

Pipedream makes it easy to connect APIs for Trustpilot (Customer), Circle and 2,800+ other apps remarkably fast.

Trigger workflow on
New Comment Posted from the Circle API
Next, do this
Fetch Product Reviews with the Trustpilot (Customer) API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Circle trigger and Trustpilot (Customer) action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Comment Posted trigger
    1. Connect your Circle account
    2. Configure timer
    3. Select a Community ID
    4. Optional- Select a Space ID
    5. Optional- Select a Post ID
  3. Configure the Fetch Product Reviews action
    1. Connect your Trustpilot (Customer) account
    2. Select a Business Unit ID
    3. Optional- Configure Page
    4. Optional- Configure Per Page
    5. Optional- Configure SKU
    6. Optional- Configure Language
    7. Optional- Select a State
    8. Optional- Configure Locale
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event each time a new comment is posted in the selected community space.
Version:0.0.1
Key:circle-new-comment-posted

Circle Overview

The Circle API enables developers to tap into the heart of their Circle community platform, allowing them to read and write various types of community data programmatically. With this API, you can automate community management tasks, extract insights, manage members, and create a more dynamic and integrated community experience. By leveraging the Circle API within Pipedream's ecosystem, you can stitch together powerful workflows that react to events in Circle, push data to other services, and streamline community operations.

Trigger Code

import common from "../common/base.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  key: "circle-new-comment-posted",
  name: "New Comment Posted",
  description: "Emit new event each time a new comment is posted in the selected community space.",
  version: "0.0.1",
  type: "source",
  dedupe: "unique",
  props: {
    ...common.props,
    postId: {
      propDefinition: [
        common.props.circle,
        "postId",
        ({
          communityId, spaceId,
        }) => ({
          communityId,
          spaceId,
        }),
      ],
      optional: true,
    },
  },
  methods: {
    ...common.methods,
    async getResponse({
      maxResults, lastId,
    }) {
      const response = await this.circle.listComments({
        params: {
          community_id: this.communityId,
          space_id: this.spaceId,
          post_id: this.postId,
        },
      });

      if (maxResults && response.length > maxResults) response.length = maxResults;

      if (response.length) {
        this._setLastId(response[0].id);
      }

      return response.filter((item) => item.id > lastId);
    },
    getSummary({ id }) {
      return `New comment with ID: ${id}`;
    },
  },
  hooks: {
    async deploy() {
      await this.startEvent(25);
    },
  },
  async run() {
    await this.startEvent();
  },
  sampleEmit,
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
CirclecircleappThis component uses the Circle app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
Community IDcommunityIdstringSelect a value from the drop down menu.
Space IDspaceIdstringSelect a value from the drop down menu.
Post IDpostIdstringSelect a value from the drop down menu.

Trigger Authentication

Circle uses API keys for authentication. When you connect your Circle account, Pipedream securely stores the keys so you can easily authenticate to Circle APIs in both code and no-code steps.

To retrieve your API keys,

  • Navigate to your Circle account and sign in
  • Go to “Settings” > “Account” > “API”

About Circle

The all-in-one community platform for creators and brands.

Action

Description:Retrieves a list of product reviews for a specific business unit. See documentation [here](https://developers.trustpilot.com/product-reviews-api/#get-private-product-reviews)
Version:1.0.0
Key:trustpilot-fetch-product-reviews

Trustpilot (Customer) Overview

The Trustpilot (Customer) API lets you tap into the rich pool of customer review data on Trustpilot. You can use it to automate the process of collecting and managing reviews, responding to feedback, and analyzing customer sentiment. With Pipedream's integration, you can trigger workflows based on new reviews, aggregate review data for analysis, and sync Trustpilot data with other services like CRMs, support tickets, and marketing tools.

Action Code

import trustpilot from "../../trustpilot.app.mjs";

export default {
  key: "trustpilot-fetch-product-reviews",
  name: "Fetch Product Reviews",
  description: "Retrieves a list of product reviews for a specific business unit. See documentation [here](https://developers.trustpilot.com/product-reviews-api/#get-private-product-reviews)",
  version: "1.0.0",
  type: "action",
  props: {
    trustpilot,
    businessUnitId: {
      propDefinition: [
        trustpilot,
        "businessUnitId",
      ],
    },
    page: {
      propDefinition: [
        trustpilot,
        "page",
      ],
    },
    perPage: {
      propDefinition: [
        trustpilot,
        "perPage",
      ],
    },
    sku: {
      propDefinition: [
        trustpilot,
        "sku",
      ],
    },
    language: {
      propDefinition: [
        trustpilot,
        "language",
      ],
    },
    state: {
      propDefinition: [
        trustpilot,
        "state",
      ],
    },
    locale: {
      propDefinition: [
        trustpilot,
        "locale",
      ],
    },
  },
  async run({ $ }) {
    const {
      businessUnitId,
      page,
      perPage,
      sku,
      language,
      state,
      locale,
    } = this;

    try {
      // Use the shared method from the app
      const result = await this.trustpilot.fetchProductReviews($, {
        businessUnitId,
        page,
        perPage,
        sku,
        language,
        state,
        locale,
      });

      $.export("$summary", `Successfully fetched ${result.reviews.length} product review(s) for business unit ${businessUnitId}`);

      return result;
    } catch (error) {
      throw new Error(`Failed to fetch product reviews: ${error.message}`);
    }
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Trustpilot (Customer)trustpilotappThis component uses the Trustpilot (Customer) app.
Business Unit IDbusinessUnitIdstringSelect a value from the drop down menu.
Pagepageinteger

The page to retrieve

Per PageperPageinteger

The number of items to retrieve per page

SKUskustring

Filter by SKU

Languagelanguagestring

Filter reviews by language (ISO 639-1 code)

StatestatestringSelect a value from the drop down menu:publishedunpublished
Localelocalestring

The language in which the attributes, if any, are returned

Action Authentication

Trustpilot (Customer) uses OAuth authentication. When you connect your Trustpilot (Customer) account, Pipedream will open a popup window where you can sign into Trustpilot (Customer) and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Trustpilot (Customer) API.

Pipedream requests the following authorization scopes when you connect your account:

About Trustpilot (Customer)

Read reviews. Write reviews. Find companies you can trust.

More Ways to Connect Trustpilot (Customer) + Circle

Fetch Product Review by ID with Trustpilot (Customer) API on New Comment Posted from Circle API
Circle + Trustpilot (Customer)
 
Try it
Fetch Product Review by ID with Trustpilot (Customer) API on New Post Published from Circle API
Circle + Trustpilot (Customer)
 
Try it
Fetch Product Reviews with Trustpilot (Customer) API on New Post Published from Circle API
Circle + Trustpilot (Customer)
 
Try it
Fetch Service Reviews with Trustpilot (Customer) API on New Comment Posted from Circle API
Circle + Trustpilot (Customer)
 
Try it
Fetch Service Reviews with Trustpilot (Customer) API on New Post Published from Circle API
Circle + Trustpilot (Customer)
 
Try it
New Comment Posted from the Circle API

Emit new event each time a new comment is posted in the selected community space.

 
Try it
New Post Published from the Circle API

Emit new event each time a new post gets published in the community.

 
Try it
New Conversations from the Trustpilot (Customer) API

Emit 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.

 
Try it
New Product Review Replies from the Trustpilot (Customer) API

Emit 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.

 
Try it
New Product Reviews from the Trustpilot (Customer) API

Emit 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.

 
Try it
Create Comment with the Circle API

Creates a comment on a post in Circle. See the documentation

 
Try it
Create Post with the Circle API

Create a new post in a selected space within your Circle community. See the documentation

 
Try it
Fetch Product Review by ID with the Trustpilot (Customer) API

Retrieves 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 documentation

 
Try it
Fetch Product Reviews with the Trustpilot (Customer) API

Retrieves a list of product reviews for a specific business unit. See documentation here

 
Try it
Fetch Service Review by ID with the Trustpilot (Customer) API

Get 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 documentation

 
Try it

Explore Other Apps

1
-
24
of
2,800+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.