with Transcript Downloader and Gainsight PX?
Create a new account with the given data. See the documentation
Deletes a user with he specified identifyId. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
transcript_downloader: {
type: "app",
app: "transcript_downloader",
}
},
async run({steps, $}) {
const data = {
"url": `{youtube_channel_profile_url}`,
}
return await axios($, {
method: "post",
url: `https://dashboard.transcriptdownloader.com/api/channel/profile`,
headers: {
Authorization: `Bearer ${this.transcript_downloader.$auth.api_token}`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gainsight_px: {
type: "app",
app: "gainsight_px",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.gainsight_px.$auth.base_endpoint}/accounts`,
headers: {
"X-APTRINSIC-API-KEY": `${this.gainsight_px.$auth.api_key}`,
},
})
},
})