Dream up your own intranet site or internal wiki with simple drag & drop. Easily share and collect information, files, discussions, online forms and much more -- work better together with colleagues and clients.
The Papyrs API facilitates the creation and manipulation of rich text documents in your Papyrs intranet. With it, you can automate the handling of text-documents, forms, and pages within your organization's Papyrs account. When combined with Pipedream's capacity to connect to various APIs, the Papyrs API can be a powerful tool for document-driven workflow automation. You can trigger actions in Papyrs based on events from other apps, process Papyrs data for insights, or synchronize Papyrs content with external systems, databases, or file storage solutions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
papyrs: {
type: "app",
app: "papyrs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.papyrs.$auth.site_name}.papyrs.com/api/v1/people/all/`,
headers: {
"X-Auth-Token": `${this.papyrs.$auth.api_token}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})