Sales call analytics to drive revenue.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
specific: {
type: "app",
app: "specific",
}
},
async run({steps, $}) {
const data = {"query": "query { companies { id name } }"}
return await axios($, {
method: "post",
url: `https://public-api.specific.app/graphql`,
headers: {
"Authorization": `${this.specific.$auth.api_key}`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})