with Planday and Rosette Text Analytics?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
planday: {
type: "app",
app: "planday",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openapi.planday.com/hr/v1/Departments`,
headers: {
Authorization: `Bearer ${this.planday.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
The Rosette Text Analytics API brings advanced language processing to the table, allowing you to extract entities, relationships, and sentiment from text. With Pipedream, you can integrate this powerful text analysis into your workflows, triggering actions based on the insights extracted from documents, social media posts, customer feedback, and more. You can use it to enrich CRM data, automate content moderation, or even drive market research by sentiment analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rosette_text_analytics: {
type: "app",
app: "rosette_text_analytics",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rosette.com/rest/v1/ping`,
headers: {
"X-RosetteAPI-Key": `${this.rosette_text_analytics.$auth.api_key}`,
},
})
},
})