Replies
Build a queue of opinions waiting for a reply, and post replies from your own support tools.
A reply shows customers, and everyone reading after them, that someone is listening. Your reply appears publicly under the opinion with an Owner badge. You can reply in Orvelt Business (how); this page is for replying from your own support or CRM tool.
Find opinions waiting for a reply
Build the queue
import { opinions } from '@orvelt/business';
const result = await opinions.list({
projectId: 'PROJECT_ID',
replyStatus: 'unreplied',
sort: 'newest',
limit: 50,
});
if (result.error) throw new Error(result.error.message);
for (const opinion of result.data.opinions) {
await openTicket(opinion); // Your support tool.
}Add query to route opinions by keyword, such as a product name, or sort: 'most-upvoted' to answer the ones other customers agree with first. To open a ticket the moment an opinion arrives, use the opinion.created webhook.
Post the reply
Use the reply endpoint
Posting replies is not part of the SDK or API keys. Call the reply endpoint with a Business session that has Outcomes update access, passing the opinion id and content of 1 to 5,000 characters. If the same team member replies again, Orvelt edits their reply instead of adding another.
Write a reply worth reading
- Answer what this customer described, in your own words. Template replies read as automated.
- Thank them for specifics, and say what you will change, if anything.
- Move private details, such as order numbers, to a private channel.