with Plain and Zamzar?
Emit new event when a conversion job has completed. See the documentation
Emit new event when a file has been converted successfully. See the documentation
Creates a file from the provided content. See the documentation
Finds the file that has been processed under the specified job id. 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 Zamzar API on Pipedream provides powerful file conversion capabilities, allowing you to easily automate the process of converting files between different formats. With Pipedream's serverless platform, you can set up workflows that trigger conversions, handle the completed files, and integrate with other services for a seamless automation experience. From document conversion for data analysis to prepping media files for different platforms, Zamzar's API coupled with Pipedream's robust functionality opens up a world of possibilities for streamlining tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zamzar: {
type: "app",
app: "zamzar",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.zamzar.com/v1/account`,
auth: {
username: `${this.zamzar.$auth.api_key}`,
password: ``,
},
})
},
})