Trust streamlines testimonials, saving time and money. Easily create video testimonials and integrate reviews on your website in minutes, no developer or hosting needed.
Emit new event when a new testimonial is created. See the documentation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trust: {
type: "app",
app: "trust",
}
},
async run({ steps, $ }) {
return await axios($, {
url: `https://api.usetrust.app/v1/websites`,
headers: {
"accept": `application/json`,
},
auth: {
username: `x`,
password: `${this.trust.$auth.api_key}`,
},
});
},
});
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})