with Sonix and If/Else?
Emit new event any time the media status of an item changes to completed.
Creates a new translation for a selected media file. See the documentation
Gets the text transcript of a selected media file. See the documentation
The Sonix API enables automated transcription of audio and video files into text, offering functions like uploading media, managing files, and retrieving transcripts. Leveraging Pipedream’s capabilities, you can integrate the Sonix API with various services to streamline media processing workflows, making transcription tasks more efficient. By automating interactions with Sonix, you can trigger actions based on the transcription status, analyze content, and connect transcribed text with other apps for further processing or analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sonix: {
type: "app",
app: "sonix",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sonix.ai/v1/media`,
headers: {
Authorization: `Bearer ${this.sonix.$auth.api_key}`,
},
})
},
})
/*
If/Else is single path branching operator.
Create non-linear workflows with multiple
execution branches and Pipedream will execute
the first branch that matches the configured
rules. The order in which rules are defined
will affect the path of execution.
The code for this operator is not currently
public. Please select the *If/Else* operator
from the *Add Step* menu.
Check out the docs to learn more:
https://pipedream.com/docs/workflows/control-flow/ifelse
*/