with Chatbotic and DeepL?
The Chatbotic API enables the creation and integration of chatbots with various platforms. With this API, you can automate conversations, craft responses based on user input, and manage bot interactions efficiently. When combined with Pipedream's capabilities, you can set up serverless workflows to trigger actions in other apps based on conversations, analyze chat data, and connect your chatbot with a vast array of services to enhance its functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chatbotic: {
type: "app",
app: "chatbotic",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://chatbotapi.is-for.us/api/getLeadsnew`,
params: {
"api_key ": `${this.chatbotic.$auth.access_token}`,
},
})
},
})
The DeepL API provides a powerful machine translation service, allowing you to translate text between languages with a high degree of accuracy and nuance. Leveraging the DeepL API on Pipedream, you can automate multilingual content creation, streamline communication in different languages, and enrich apps with instant translation features. The integration possibilities are vast, enabling you to weave translation capabilities into various workflows, data processing, and content management systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deepl: {
type: "app",
app: "deepl",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-free.deepl.com/v2/usage`,
headers: {
"Authorization": `DeepL-Auth-Key ${this.deepl.$auth.api_key}`,
},
})
},
})