with Helpwise and Membado?
Assign tags to or remove them from a user. See the documentation
The Helpwise API empowers you to automate and enhance your shared inbox experience. With it, you can programmatically manage emails, SMS, and other communications within your team's shared inboxes. By leveraging the Helpwise API on Pipedream, you can create efficient workflows that respond to inbound messages, synchronize communications with CRM platforms, organize customer interactions, and streamline various support processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helpwise: {
type: "app",
app: "helpwise",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://app.helpwise.io/dev-apis/users/me`,
headers: {
"Accept": `application/json`,
"Accept-Encoding": `gzip, deflate`,
"Authorization": `${this.helpwise.$auth.api_key}:${this.helpwise.$auth.api_secret}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
membado: {
type: "app",
app: "membado",
}
},
async run({steps, $}) {
const data = {
"apikey": `${this.membado.$auth.api_key}`,
"mail": `sergio@pipekit.com`,
}
return await axios($, {
method: "post",
url: `https://www.membado.io/api/${this.membado.$auth.user_identifier}/add-member`,
headers: {
"content-type": `application/x-www-form-urlencoded`,
},
data,
})
},
})