with Tisane Labs and Delay?
Analyze text for language, entities, sentiment, and other insights. See the documentation
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
Detects languages used in the specified text fragment. See the documentation
Finds and returns a URL of an image (Creative Commons) best describing the text. See the documentation
Translate text between supported languages. See the documentation
The Tisane Labs API offers advanced text analysis capabilities, focusing on abusive content detection and linguistic insights. With it, you can automate content moderation, extract entities, detect the sentiment, and identify the language of the text. In Pipedream, Tisane Labs API can be integrated into workflows to process text from various sources such as user comments, support tickets, or social media posts. By leveraging Pipedream's serverless platform, you can create real-time, event-driven applications that respond to text analyses, connect with other services, and perform actions based on the insights gained from the Tisane Labs API.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tisane_labs: {
type: "app",
app: "tisane_labs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tisane.ai/languages`,
headers: {
"Ocp-Apim-Subscription-Key": `${this.tisane_labs.$auth.api_key}`,
},
})
},
})
The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})