with Plain and AnonyFlow?
Encrypts sensitive data using AnonyFlow encryption service with a unique private key managed by AnonyFlow. See the documentation
Decrypts protected data using AnonyFlow decryption service with a unique private key, managed by AnonyFlow. See the documentation
The Plain API provides functionality for automating customer support tasks, such as managing conversations, customers, and team inboxes. Within Pipedream, you can leverage these features to create custom workflows that respond to events from your app or external services, triggering actions in Plain. By integrating the Plain API with Pipedream, you can enhance customer support efficiency, streamline communication, and keep customer data synchronized across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plain: {
type: "app",
app: "plain",
}
},
async run({steps, $}) {
const data = {
"query": `query Workspace {
workspace(workspaceId: "${this.plain.$auth.workspace_id}") {
id
publicName
}
}`,
}
return await axios($, {
method: "post",
url: `https://core-api.uk.plain.com/graphql/v1`,
headers: {
Authorization: `Bearer ${this.plain.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
The AnonyFlow API provides a way to manage and automate data privacy operations. Use it on Pipedream to orchestrate data anonymization workflows for compliance with privacy regulations like GDPR. This API can handle personal data extraction, anonymization, and deletion requests programmatically. With Pipedream's serverless platform, you can integrate these privacy functions into your existing systems, triggering actions based on webhooks, schedules, or other apps' events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
anonyflow: {
type: "app",
app: "anonyflow",
}
},
async run({steps, $}) {
const data = {
"data": `YOUR_DATA`,
}
return await axios($, {
method: "post",
url: `https://api.anonyflow.com/anony-value`,
headers: {
"x-api-key": `${this.anonyflow.$auth.api_key}`,
"accept": `application/json`,
},
data,
})
},
})