with Discord and Palatine Speech?
Downloads the transcription results in a specified file format (SRT, VTT, TXT, CSV, or XLSX). The task must be completed before downloading. See the documentation
Retrieves the status and results of a transcription task. Use this to poll for completion after starting a transcription job. See the documentation
Marks a transcription task as completed and removes it from the list of active tasks. Use this to clean up resources after retrieving results. See the documentation
Starts an asynchronous transcription job for an audio or video file. Optionally wait for completion by enabling the 'Wait for Completion' option. See the documentation
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform";
export default defineComponent({
props: {
palatine_speech: {
type: "app",
app: "palatine_speech",
}
},
async run({steps, $}) {
const data = "<your text to summarize here>";
return await axios($, {
method: "post",
url: `https://api.palatine.ru/api/v1/ai_service/summarize_text`,
headers: {
Authorization: `Bearer ${this.palatine_speech.$auth.api_key}`,
"content-type": `text/plain`,
},
params: {
task: `meeting_summary`,
},
data,
})
},
})