Code to internal apps in minutes. Turn APIs, SQL queries, and scripts into apps for the entire team.
Execute a runbook and receive a session ID to track the runbook's execution. 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.
Execute a task with a set of parameter values and receive a run ID to track the task's execution. See the documentation
Submit a prompt with a set of parameter values. See the documentation
The Airplane API facilitates the creation and management of tasks and runs within the Airplane toolkit, which is geared towards automating developer operations and internal tools. In Pipedream, you can leverage this API to automate workflows, integrate with various services, and handle background tasks. By connecting Airplane to other apps on Pipedream, you can streamline processes like deploying code, managing feature flags, or orchestrating complex workflows that interact with other APIs and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airplane: {
type: "app",
app: "airplane",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airplane.dev/v0/runs/list`,
headers: {
"X-Airplane-API-Key": `${this.airplane.$auth.api_key}`,
},
})
},
})
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
},
})