with Vonage and EspoCRM?
Emit new event upon the creation, update, deletion, or changes of any field in an entity type. See the documentation
This component creates a new task in Espo CRM. See the documentation
import { Vonage } from '@vonage/server-sdk';
export default defineComponent({
props: {
vonage: {
type: "app",
app: "vonage",
}
},
async run({ steps, $ }) {
const vonage = new Vonage({
apiKey: this.vonage.$auth.api_key,
apiSecret: this.vonage.$auth.api_secret
});
const from = "Vonage APIs"
const to = this.vonage.$auth.phone_number
const text = 'A text message sent using the Vonage SMS API'
return await vonage.sms.send({ to, from, text });
},
})
The EspoCRM API allows for robust interaction with your CRM data, enabling the automation of tasks, syncing data across platforms, and the enhancement of customer relationship management through customized workflows. By leveraging this API within Pipedream, you can design serverless workflows that react to CRM events, integrate with other services, and manipulate data to fit your business processes. Pipedream's no-code platform makes it straightforward to create, execute, and maintain these workflows, allowing you to focus on innovation rather than infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
espocrm: {
type: "app",
app: "espocrm",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.espocrm.$auth.url}/api/v1/CurrencyRate`,
headers: {
"X-Api-Key": `${this.espocrm.$auth.api_key}`,
},
})
},
})