with Easy-Peasy.AI and Passcreator?
Emit new event when a pass is marked as voided. See the documentation
Emits a new event when a new app scan has been recorded in Passcreator. See the documentation
Emit new event when a new wallet pass is created. See the documentation
Generates AI transcription for a given audio URL. See the documentation
Generates an AI image based on the given prompt. See the documentation
Generates text outputs for the templates. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easy_peasy_ai: {
type: "app",
app: "easy_peasy_ai",
}
},
async run({steps, $}) {
const data = {
"audio_type": `podcast`,
"language": `English`,
"name": `Interview with John Doe`,
"detect_speakers": `true`,
"enhanced_quality": `true`,
"url": `https://example.com/audiofile.mp3`,
}
return await axios($, {
method: "post",
url: `https://easy-peasy.ai/api/transcriptions`,
headers: {
"accept": `application/json`,
"content-type": `application/json`,
"x-api-key": `${this.easy_peasy_ai.$auth.api_key}`,
},
data,
})
},
})
The Passcreator API lets you automate the creation, management, and distribution of mobile wallet content, such as coupons, membership cards, and event tickets. Within Pipedream, this API becomes a powerful tool to connect with other services, streamlining your marketing and customer engagement efforts. By blending the API's functionality with Pipedream's ability to integrate with countless services, you can create dynamic, personalized wallet items and distribute them based on user behavior, events, or data from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
passcreator: {
type: "app",
app: "passcreator",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.passcreator.com/api/pass-template`,
headers: {
"Authorization": `${this.passcreator.$auth.api_key}`,
},
})
},
})