with Splunk and Bland AI?
Emit new event when a new alert is triggered in Splunk. See the documentation
Emit new event when a new search event is created. See the documentation
Emit new events when a search returns results in Splunk. See the documentation
Sends a new event to a specified Splunk index. See the documentation
Analyzes an input call, extracting structured data and providing insights. See the documentation
Retrieve the status of a previously executed Splunk search job. See the documentation
Terminates a currently ongoing call using Bland AI. See the documentation
Retrieves the transcript of a specified call post-completion. See the documentation
import { axios } from "@pipedream/platform";
import https from "https";
export default defineComponent({
props: {
splunk: {
type: "app",
app: "splunk",
}
},
async run({steps, $}) {
const selfSigned = this.splunk.$auth.self_signed;
const agent = new https.Agent({
rejectUnauthorized: !selfSigned
});
return await axios($, {
url: `${this.splunk.$auth.api_url}:${this.splunk.$auth.api_port}/services/authentication/current-context`,
httpsAgent: agent,
headers: {
"content-type": `application/json`,
"authorization": `Splunk ${this.splunk.$auth.api_token}`,
},
params: {
output_mode: `json`,
},
})
},
})
The Bland AI API offers a suite of artificial intelligence services, which, when integrated with Pipedream, can automate tasks, analyze data, and enhance applications with machine learning capabilities. Through Pipedream's serverless platform, you can connect Bland AI with various apps to create custom workflows, process data, and respond to events in real time without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bland_ai: {
type: "app",
app: "bland_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bland.ai/v1/calls`,
headers: {
"Authorization": `${this.bland_ai.$auth.api_key}`,
},
})
},
})