with CATS and Trustpilot (Customer)?
Adds a specific candidate to a job pipeline in CATS. See the documentation
Create a new candidate in your CATS database. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cats: {
type: "app",
app: "cats",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.catsone.com/v3/users`,
headers: {
"Authorization": `Token ${this.cats.$auth.api_key}`,
},
})
},
})
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.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trustpilot: {
type: "app",
app: "trustpilot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://invitations-api.trustpilot.com/v1/private/business-units/${this.trustpilot.$auth.business_unit_id}/templates`,
headers: {
Authorization: `Bearer ${this.trustpilot.$auth.oauth_access_token}`,
},
})
},
})