Sales & Marketing Automation CRM for small business
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})