Python

Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.

Go to site

Integrate the Python API with the Go API

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

Connect Python

from pipedream.script_helpers import (steps, export)

# Reference data from previous steps
print(steps["trigger"]["context"]["id"])

# Return data for use in future steps
export("foo", {"test":True})

Connect Go

package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}