Sync third-party item comments via REST

Recipe ToolsDeveloper ToolAPI Integration

What it does

When someone calls the Fetch TP Item Comments endpoint, this automation retrieves comments from a third-party system. It accumulates the comments into a list and returns the full response to the caller.

Who it's for

Data and analytics teams who need to sync third-party item comments into their systems.

Apps used

How teams use this

Sync comments into a data warehouse

Call this endpoint on a schedule to pull third-party item comments and load them into your data warehouse. The automation handles the REST fetch and list building so your team only needs to map the response.

Embed comments in a customer portal

Use this endpoint in your customer-facing portal to display third-party item comments in real time. Callers get the full CommentList back without needing to know the third-party system's API.

Filter comments by date range

Add a date filter condition to the REST request so only comments from a specific period are fetched and accumulated. This reduces the payload and speeds up the response for large comment volumes.

How it works

  1. Receive the fetch request. Someone calls the Fetch TP Item Comments endpoint in real time to retrieve comments for items from a third-party system.
  2. Fetch comments via REST. Make a REST request to the third-party system to pull comments for each item, assuming no more than 50 comments per item.
  3. Loop through each item. Repeat the accumulation step for every item returned from the REST fetch to build the complete comment list.
  4. Build the comment list. Add each item's comments to the CommentList so all fetched data is collected in one structured response.
  5. Return the full response. Send back the complete CommentList with all third-party item comments to the caller.