with change.photos and Voiceflow?
Transforms an image with various effects and optimizations. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
change_photos: {
type: "app",
app: "change_photos",
}
},
async run({steps, $}) {
const data = {
"url": `https://pipedream.com/s.v0/app_13GhYE/logo/orig`,
"grayscale": true,
}
return await axios($, {
method: "post",
url: `https://www.change.photos/api/change`,
headers: {
Authorization: `Bearer ${this.change_photos.$auth.api_key}`,
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})
The Voiceflow API provides programmatic access to Voiceflow's conversational AI platform, enabling users to create, update, and deploy voice and chat applications. Through Pipedream, developers can automate workflows involving Voiceflow projects, such as syncing conversation designs with external tools, triggering customer support messages based on user interactions, or compiling analytics from user sessions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
voice: {
type: "app",
app: "voice",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.voiceflow.com/v3alpha/knowledge-base/faqs`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.voice.$auth.api_key}`,
},
})
},
})