with n8n.io and Unity Cloud Build?
The n8n.io API provides a platform for automating workflows in a node-based structure that allows for integrations across various services and apps. Leveraging this API within Pipedream enables you to orchestrate complex operations, connect disparate systems, and trigger actions conditionally, transforming and passing data between services without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
n8n_io: {
type: "app",
app: "n8n_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.n8n_io.$auth.domain}.app.n8n.cloud/api/v1/workflows`,
headers: {
"Accept": `application/json`,
"X-N8N-API-KEY": `${this.n8n_io.$auth.api_key}`,
},
})
},
})
The Unity Cloud Build API lets you automate the process of setting up and distributing game builds. It's a powerful suite of tools allowing developers to personalize and streamline build tasks. With Pipedream, you can harness this API to integrate build processes with your existing tools, notify teams, deploy builds to platforms, and react to events in Unity Cloud Build in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
unity_cloud_build: {
type: "app",
app: "unity_cloud_build",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://build-api.cloud.unity3d.com/api/v1/users/me`,
auth: {
username: `${this.unity_cloud_build.$auth.api_key}`,
password: ``,
},
})
},
})