with Belco and Reward Sciences?
Emit new conversation event when a new conversation is created. See the documentation
Add a note to a conversation specified by ID. See the documentation
Get a list of conversations from Belco. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
belco: {
type: "app",
app: "belco",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.belco.io/v1/users`,
headers: {
Authorization: `Bearer ${this.belco.$auth.api_token}`,
"accept": `application/json`,
},
})
},
})
The Reward Sciences API enables the integration of loyalty and rewards functionalities into your services. With it, you can create and manage rewards programs, automate point distribution, track user activities, and redeem rewards. On Pipedream, you can tap into these capabilities to build automated workflows that interact with other apps, trigger actions based on events, and manipulate data to enhance customer engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
reward_sciences: {
type: "app",
app: "reward_sciences",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rewardsciences.com/reward_categories`,
headers: {
Authorization: `Bearer ${this.reward_sciences.$auth.api_token}`,
"Accept": `application/vnd.rewardsciences.v1+json`,
"Content-Type": `application/json`,
},
})
},
})