Code to internal apps in minutes. Turn APIs, SQL queries, and scripts into apps for the entire team.
Go to siteThe 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}`,
},
})
},
})
Scheduled Deployment Trigger: Automatically trigger a deployment task in Airplane using Pipedream's scheduled events. This can be set up to deploy nightly builds or after certain conditions are met in your code repository.
Slack Command to Run Airplane Tasks: Set up a Pipedream workflow that starts an Airplane task using a Slash command in Slack. This allows for quick, chat-based interactions to execute operations without leaving the conversation.
Error Logging to Airplane from Another Service: Capture errors from an application monitored by, say, Sentry, and log them to Airplane via Pipedream. This could then trigger a task in Airplane to handle the error or notify the appropriate team.
Execute a runbook and receive a session ID to track the runbook's execution. See the documentation
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
Airplane uses API keys for authentication. When you connect your Airplane account, Pipedream securely stores the keys so you can easily authenticate to Airplane APIs in both code and no-code steps.
Generate and copy your API Key using Airplane CLI.