AppDrag is a serverless development platform made for enterprises.
Executes an API function from a cloud backend. See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The AppDrag API lets you manage cloud functions, databases, and mail sending features within your AppDrag projects. With Pipedream, you can harness these capabilities to automate workflows such as syncing data between different platforms, processing form submissions, or triggering communication sequences. By connecting AppDrag’s API to Pipedream, you gain the ability to create serverless workflows that can respond to various triggers like webhooks, schedules, or even actions from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appdrag: {
type: "app",
app: "appdrag",
}
},
async run({steps, $}) {
const data = {
"APIKey": `${this.appdrag.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://${this.appdrag.$auth.app_id}.appdrag.site/api/testfunc`,
headers: {
"Content-Type": `x-www-form-urlencoded`,
},
data,
})
},
})
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
},
})