with Insighto.ai and Weglot?
Emit new event when a new contact is created in Insighto AI. See the documentation
Adds a text blob into an existing data source. See the documentation
Creates a new contact within the system. See the documentation
Insighto.ai offers a powerful API for tapping into advanced analytics and AI capabilities. With Insighto.ai, you can enrich your business data with AI-driven insights, perform sentiment analysis, and automate responses based on customer interaction patterns. Leveraging this API on Pipedream allows you to integrate these capabilities seamlessly with other apps to create dynamic, data-driven workflows that can automate processes, enhance customer interactions, and drive decision-making with real-time analytics.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
insighto_ai: {
type: "app",
app: "insighto_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.insighto.ai/api/v1/user`,
headers: {
"accept": `application/json`,
},
params: {
api_key: `${this.insighto_ai.$auth.api_key}`,
},
})
},
})
The Weglot API allows for real-time translation of website content, simplifying the process of making a website multilingual. On Pipedream, you can use the Weglot API to craft workflows that automate translation tasks, manage language databases, or even synchronize content across different platforms. This API could be a game changer for businesses looking to globalize their online presence without the manual overhead.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
weglot: {
type: "app",
app: "weglot",
}
},
async run({steps, $}) {
const data = {
"l_from": `en`,
"l_to": `fr`,
"words": [
{"w":"This is a blue car", "t": 1},
{"w":"This is a black car", "t": 1}
],
"request_url": `https://www.test.com`,
}
return await axios($, {
method: "post",
url: `https://api.weglot.com/translate`,
headers: {
"Content-Type": `application/json`,
},
params: {
api_key: `${this.weglot.$auth.api_key}`,
},
data,
})
},
})