with NetHunt CRM and Email?
The NetHunt CRM API provides powerful access to manage customer relationship data programmatically. With this API and Pipedream, you can automate tasks, synchronize customer data across platforms, trigger communications based on customer interactions, and much more. Pipedream's serverless execution model and vast library of app integrations open up a myriad of possibilities for streamlining sales processes and enhancing customer engagement by automating the flow of information between NetHunt CRM and other business tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nethunt_crm: {
type: "app",
app: "nethunt_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://nethunt.com/api/v1/zapier/triggers/readable-folder`,
auth: {
username: `${this.nethunt_crm.$auth.email_address}`,
password: `${this.nethunt_crm.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});