with Lamini and Yespo?
Emit new event when a contact is added to a specific segment in Yespo.
Emit new events with the status of a training job. See the documentation
Create a fine-tuning job with a dataset. See the documentation
Adds a new contact or updates an existing one. See the documentation
Generate completions using a Lamini model. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lamini: {
type: "app",
app: "lamini",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lamini.ai/v2/classifier/projects`,
headers: {
Authorization: `Bearer ${this.lamini.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})