with HelpSpot and CaptureKit?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helpspot: {
type: "app",
app: "helpspot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.helpspot.$auth.subdomain}.helpspot.com/api/index.php`,
headers: {
Authorization: `Bearer ${this.helpspot.$auth.api_token}`,
},
params: {
method: `private.addressbook.getContacts`,
output: `json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
capturekit: {
type: "app",
app: "capturekit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.capturekit.dev/capture`,
headers: {
"x-access-key": `${this.capturekit.$auth.access_key}`,
},
params: {
url: `https://pipedream.com`,
},
})
},
})