The customer marketing platform for retail
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
What can I build with the Ometria API?
The Ometria API provides a comprehensive set of tools to help you create robust
and comprehensive customer segmentation and analytics for your eCommerce store.
With access to Ometria’s full suite of products, you can build the following:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ometria: {
type: "app",
app: "ometria",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ometria.com/v2/orders`,
headers: {
"X-Ometria-Auth": `${this.ometria.$auth.api_key}`,
},
})
},
})
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)
}