with pretix and AITable.ai?
Returns information on one order, identified by its order code. See the documentation
Create a datasheet in the specified space. See the documentation
Create a new field in the specified datasheet. See the documentation
Delete a field in the specified datasheet. See the documentation
The pretix API enables seamless integration of your event management tasks by automating ticket sales, attendee management, and event analytics. With Pipedream's capabilities, you can build custom workflows that respond to various pretix events, synchronize attendee data with other services, or analyze sales patterns for actionable insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pretix: {
type: "app",
app: "pretix",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://pretix.eu/api/v1/me`,
headers: {
Authorization: `Bearer ${this.pretix.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aitable_ai: {
type: "app",
app: "aitable_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://aitable.ai/fusion/v1/datasheets/${this.aitable_ai.$auth.datasheet_id}/records`,
headers: {
Authorization: `Bearer ${this.aitable_ai.$auth.api_token}`,
},
})
},
})