Check in real-time if a phone number is registered with the TPS/CTPS. Also get insights on validity, location, type, and provider of the number.
Emit new event when a new message is posted in a channel
Emit new event when a new message is received in a chat
Emit new event when a new team is joined by the authenticated user
Validates a provided number against the TPS/CTPS register. See the documentation
Create a new channel in Microsoft Teams. See the docs here
Get the list of shift instances for a team. See the documentation
Send a message to a team's channel. See the docs here
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,
})
},
})
The Microsoft Teams API on Pipedream allows you to automate tasks, streamline communication, and integrate with other services to enhance the functionality of Teams as a collaboration hub. With this API, you can send messages to channels, orchestrate complex workflows based on Teams events, and manage Teams' settings programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_teams: {
type: "app",
app: "microsoft_teams",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_teams.$auth.oauth_access_token}`,
},
})
},
})