with Revamp CRM and Workflow Max?
The Revamp CRM API provides a suite of tools for managing customer relationships and sales processes. Integrating Revamp CRM with Pipedream allows users to automate actions based on CRM events, sync data between multiple platforms, and create custom workflows to streamline business operations. With Pipedream's serverless platform, you can trigger workflows from Revamp CRM events, perform operations on your CRM data, and connect Revamp CRM with other apps to power up your sales and marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
revamp_crm: {
type: "app",
app: "revamp_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.revampcrm.com/api/1.0/User/WhoAmI`,
auth: {
username: `${this.revamp_crm.$auth.email}`,
password: `${this.revamp_crm.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workflow_max: {
type: "app",
app: "workflow_max",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.workflowmax2.com/me`,
headers: {
Authorization: `Bearer ${this.workflow_max.$auth.oauth_access_token}`,
"accept": `application/json`,
"account_id": `${this.workflow_max.$auth.account_id}`,
},
})
},
})