with Specific and DNSFilter?
Emit new event whenever a new contact is created.
Emit new event when a new policy is created. See the documentation
Emit new event whenever a new conversation is initiated.
Emit new event when a user's DNS query is blocked by a policy. See the documentation
Assigns a pre-existing policy to a specific site within your DNSFilter account. See the documentation
Blocks a selected category from a policy applied to your DNSFilter account's sites or roaming clients. See the documentation
Modify an existing contact's details or create a new one if the specified contact does not exist. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
specific: {
type: "app",
app: "specific",
}
},
async run({steps, $}) {
const data = {"query": "query { companies { id name } }"}
return await axios($, {
method: "post",
url: `https://public-api.specific.app/graphql`,
headers: {
"Authorization": `${this.specific.$auth.api_key}`,
},
data,
})
},
})
The DNSFilter API enables you to automate interactions with your DNSFilter account, offering capabilities like managing filtered domains, accessing reports, updating settings, and more. Within Pipedream, you can wield this API for seamless and serverless integrations, crafting workflows that trigger on specified conditions, process DNSFilter data, and interact with other apps and services, all without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dnsfilter: {
type: "app",
app: "dnsfilter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dnsfilter.com/v1/users`,
headers: {
"Authorization": `Token ${this.dnsfilter.$auth.oauth_access_token}`,
},
})
},
})