with Plain and Podio?
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 Podio API opens a world of possibilities for managing tasks, projects, and team collaboration with ease. By harnessing the API through Pipedream, you can automate routine operations, synchronize data across different platforms, and craft custom workflows that facilitate real-time project management and enhance productivity. Whether it's updating leads in a CRM, managing a content calendar, or automating project status reports, the Podio API paired with Pipedream's serverless execution model allows for seamless integration with a vast array of services to streamline your work processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
podio: {
type: "app",
app: "podio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.podio.com/user`,
headers: {
Authorization: `Bearer ${this.podio.$auth.oauth_access_token}`,
},
})
},
})