Customer support for modern tools. Fast, flexible and extendable.
Get the backlinks for a domain or URL with details for the referring pages (e.g., anchor and page title).
Get one backlink with the highest ahrefs_rank
per referring domain for a target URL or domain (with details for the referring pages including anchor and page title).
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,
})
},
})
Ahrefs API taps into the vast data reserves of Ahrefs, a robust SEO tool, to programmatically access insights into backlink profiles, keyword rankings, and SEO health. With Pipedream's capabilities, you can automate SEO monitoring, integrate with content management systems, trigger alerts for new or lost backlinks, or gather intelligence for keyword research—all without manual intervention. This unlocks the potential for real-time SEO strategy adjustments and the integration of SEO data into broader business processes or analytics platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ahrefs: {
type: "app",
app: "ahrefs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://apiv2.ahrefs.com`,
params: {
output: `json`,
token: `${this.ahrefs.$auth.oauth_access_token}`,
from: `subscription_info`,
},
})
},
})