1SaaS brings you the tool platform for all your projects when working with low-code, no-code, APIs and automation. #BreakLimits
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Using the 1SaaS API, you can build a wide range of cloud applications for
automating various types of activities. The API can be used for developing
programs and applications to increase efficiency and productivity in areas such
as accounting, customer relationship management, stock management, invoice
management and more.
The API is specifically designed to enable developers to easily integrate their
systems with the 1SaaS platform, allowing them to connect and communicate with
their customers as well as with other companies. The API has been developed
with an emphasis on flexibilty, scalability, and security, giving developers
the ability to build highly customized solutions for businesses of all sizes.
Here are some examples of what you can build with the 1SaaS API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onesaas: {
type: "app",
app: "onesaas",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://v2.1saas.co/1saas/auth`,
headers: {
"auth": `${this.onesaas.$auth.api_key}`,
},
})
},
})
// 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
},
})