with Heyy and Yespo?
Emit new event when a business gets a new incoming message. See the documentation
Emit new event when a contact is added to a specific segment in Yespo.
Adds a new contact or updates an existing one. See the documentation
Updates the details of a contact under your business. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
heyy: {
type: "app",
app: "heyy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hey-y.io/api/v2.0/business`,
headers: {
Authorization: `Bearer ${this.heyy.$auth.api_token}`,
},
})
},
})
The Yespo API offers a platform for personalized customer engagement through multichannel marketing automation. By integrating Yespo with Pipedream, you can create custom workflows that trigger based on customer interactions or data changes. This allows for dynamic campaign management, customer segmentation, and real-time analytics, enabling you to automate and scale personalized marketing efforts efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yespo: {
type: "app",
app: "yespo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://yespo.io/api/v1/account/info`,
headers: {
"Accept": `application/json; charset=UTF-8`,
},
auth: {
username: `x`,
password: `${this.yespo.$auth.api_key}`,
},
})
},
})