with ProProfs Knowledge Base and SugarCRM?
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 SugarCRM API unlocks the potential to streamline customer relationship management by automating interactions and data flow between SugarCRM and other platforms. With Pipedream, you can harness this API to create serverless workflows that react to CRM events, synchronize data, or trigger actions based on predefined conditions. Pipedream's no-code platform simplifies connecting SugarCRM to hundreds of other apps, enabling non-technical users to build complex integrations with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sugarcrm_: {
type: "app",
app: "sugarcrm_",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.sugarcrm_.$auth.domain}/rest/v11_20/me`,
headers: {
Authorization: `Bearer ${this.sugarcrm_.$auth.oauth_access_token}`,
},
})
},
})