with Defastra and Anthropic (Claude)?
Performs a risk analysis on a given email address and provides a risk score indicating if the email is disposable, risky, or safe. See the documentation
Conducts a risk assessment and digital lookup for a provided phone number. Returns a risk score indicating if the number is disposable, risky, or safe, along with carrier details, location, and potential social profiles. See the documentation
The Defastra API is a tool designed for automating and integrating your cybersecurity efforts. It offers features such as vulnerability scans, monitoring of dark web activities, and risk assessments. When combined with Pipedream’s capabilities, you can create powerful, automated workflows to enhance your security posture. You can trigger events in real-time, process data, and connect to numerous other services, all of which help in proactively managing cybersecurity threats.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
defastra: {
type: "app",
app: "defastra",
}
},
async run({steps, $}) {
const data = {
"email": `sergio@pipekit.pro`,
}
return await axios($, {
method: "post",
url: `https://api.defastra.com/deep_email_check`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
"X-API-KEY": `${this.defastra.$auth.api_key}`,
},
data,
})
},
})
The Anthropic (Claude) API offers a conversational AI that can be leveraged for a variety of applications, ranging from answering questions to generating content or providing customer support. In Pipedream, you can create powerful workflows that utilize the capabilities of Claude to automate responses, analyze text, or enhance data with AI-generated insights. Pipedream's serverless platform simplifies integrating Claude into your processes with other apps and services for seamless automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
anthropic: {
type: "app",
app: "anthropic",
}
},
async run({steps, $}) {
const data = {
"model": "claude-3-haiku-20240307",
"max_tokens": 300,
"messages": [
{"role": "user", "content": "Write me a haiku about Pipedream workflows."}
]
}
return await axios($, {
method: "post",
url: `https://api.anthropic.com/v1/messages`,
headers: {
"x-api-key": `${this.anthropic.$auth.api_key}`,
"anthropic-version": `2023-06-01`,
},
data,
})
},
})