with IP2WHOIS and Braze?
Helps users to obtain domain information, WHOIS record, by using a domain name. Please refer to the documentation for the details of the fields returned.
The IP2WHOIS API is a lookup tool that can fetch WHOIS information for a given IP address or domain. This data includes registration details, contact information, and sometimes even personal or organization-related data of the domain owner. Leveraging this API on Pipedream allows you to create automated workflows that can enrich IP data, monitor domain registration changes, or integrate WHOIS information into security analysis. By tapping into Pipedream's capabilities, you can trigger actions based on this data across various apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ip2whois: {
type: "app",
app: "ip2whois",
},
domain: {
type: "string",
default: "greendot.com"
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ip2whois.com/v2?key={your_license_key}&domain={domain_name}`,
params: {
key: `${this.ip2whois.$auth.api_key}`,
domain: `${this.domain}`,
},
})
},
})
The Braze API allows you to automate your customer relationship management by engaging with users through various channels like email, push notifications, and in-app messages. By leveraging the Braze API on Pipedream, you can create customized, scalable workflows to streamline your marketing campaigns, user segmentation, and event tracking. With real-time data processing and the ability to connect with multiple services, Pipedream enhances the power of Braze, allowing for more dynamic and responsive user engagement strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
braze: {
type: "app",
app: "braze",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.braze.$auth.intance_domain}.braze.${this.braze.$auth.region}/catalogs`,
headers: {
Authorization: `Bearer ${this.braze.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})