with Skyvern and Microsoft Azure AI Translator?
Emit new event when a workflow is created or updated in Skyvern.
Create a new task and run it instantly in Skyvern. Useful for one-off automations. See the documentation
Identifies the positioning of sentence boundaries in a piece of text. See the documentation
Retrieve details of runs of a specific Skyvern workflow. Useful for checking the status and result of a run. See the documentation
Identifies the language of a piece of text. See the documentation
Translate text into the specified language. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
skyvern: {
type: "app",
app: "skyvern",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.skyvern.com/api/v1/organizations`,
headers: {
"x-api-key": `${this.skyvern.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_azure_ai_translator: {
type: "app",
app: "microsoft_azure_ai_translator",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.microsoft_azure_ai_translator.$auth.endpoint}/languages`,
headers: {
"Ocp-Apim-Subscription-Key": `${this.microsoft_azure_ai_translator.$auth.api_key}`,
"Ocp-Apim-Subscription-Region": `${this.microsoft_azure_ai_translator.$auth.location}`,
"Content-Type": `application/json`,
},
params: {
"api-version": `3.0`
},
})
},
})