Humanitix is the humane choice for tickets. We're the first and only not-for-profit ticketing platform that gives 100% of the profit from booking fees to children's charities to create a fairer and more equitable world.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Humanitix API provides a programmable interface to interact with the Humanitix event platform, enabling you to automate and integrate event management processes with other systems. With this API, you can retrieve event details, manage attendees, and handle bookings programmatically. When used on Pipedream, you can leverage serverless workflows to connect Humanitix with a myriad of other apps and services, streamlining tasks like attendee communication, marketing efforts, and data analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
humanitix: {
type: "app",
app: "humanitix",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.humanitix.com/v1/tags`,
headers: {
"x-api-key": `${this.humanitix.$auth.api_key}`,
"Content-Type": `application/json`,
},
params: {
page: `1`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})