with Bland AI and TPSCheck?
Analyzes an input call, extracting structured data and providing insights. See the documentation
Validates a provided number against the TPS/CTPS register. 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
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}`,
},
})
},
})
The TPSCheck API provides access to the UK's Telephone Preference Service (TPS) and Corporate Telephone Preference Service (CTPS) databases, enabling businesses to check if a telephone number is registered. This helps in compliance with regulations by avoiding unwanted sales calls to these numbers. In Pipedream, you can use this API to automate the process of verifying numbers directly within your workflows, combining it with various triggers, actions from other apps, and custom logic for streamlined operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tpscheck: {
type: "app",
app: "tpscheck",
}
},
async run({steps, $}) {
const data = {
"phone": `01829 830730`,
}
return await axios($, {
method: "post",
url: `https://www.tpscheck.uk/check`,
headers: {
"Authorization": `Token ${this.tpscheck.$auth.api_key}`,
},
data,
})
},
})