with Clientify and TPSCheck?
Validates a provided number against the TPS/CTPS register. See the documentation
The Clientify API enables automation and integration of Clientify's CRM functions within Pipedream. This API allows you to manage contacts, accounts, deals, and tasks, streamlining your customer relationship management. With Pipedream, you can harness these capabilities to create custom workflows that trigger actions within Clientify, respond to events, or connect with other apps to enhance productivity and data utilization.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clientify: {
type: "app",
app: "clientify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.clientify.net/v1/users/`,
headers: {
"Authorization": `Token ${this.clientify.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
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,
})
},
})