with ProProfs Knowledge Base and Gift Up!?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proprofs_knowledge_base: {
type: "app",
app: "proprofs_knowledge_base",
}
},
async run({steps, $}) {
const data = {
"action": `gettoc`,
"api_key": `${this.proprofs_knowledge_base.$auth.api_key}`,
"node_id": `0`,
"type": `all`,
}
return await axios($, {
method: "post",
url: `https://www.helpdocsonline.com/proprofsapi/v1/`,
data,
})
},
})
The Gift Up! API provides a powerful platform for managing gift cards and vouchers. Through Pipedream, you can automate gift card creation, distribution, and tracking, making it a breeze to handle bulk operations, integrate with e-commerce platforms, or even trigger personalized marketing campaigns. The API’s capabilities also include redeeming gift cards, updating their balance, and retrieving detailed information for customer support.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gift_up: {
type: "app",
app: "gift_up",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.giftup.app/ping`,
headers: {
Authorization: `Bearer ${this.gift_up.$auth.api_key}`,
},
})
},
})