Airplane

Code to internal apps in minutes. Turn APIs, SQL queries, and scripts into apps for the entire team.

Integrate the Airplane API with the Python API

Setup the Airplane API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Airplane and Python remarkably fast. Free for developers.

Execute Runbook with the Airplane API

Execute a runbook and receive a session ID to track the runbook's execution. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Execute Task with the Airplane API

Execute a task with a set of parameter values and receive a run ID to track the task's execution. See the documentation

 
Try it
Submit Prompt with the Airplane API

Submit a prompt with a set of parameter values. See the documentation

 
Try it

Overview of Airplane

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.

Connect Airplane

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}