The easiest way to build AI voice agents.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
thoughtly: {
type: "app",
app: "thoughtly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.thought.ly/user`,
headers: {
"accept": `application/json`,
" x-api-token": `${this.thoughtly.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})