with SpiritMe and CleverTap?
Emit new event when an avatar video completes rendering.
Generates a new video using specific voice and avatar props. See the documentation
Get the report for a completed campaign. See the documentation
Get a list of campaigns within a specified date range. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
spiritme: {
type: "app",
app: "spiritme",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.spiritme.tech/api/users/current/`,
headers: {
"Authorization": `Token ${this.spiritme.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
CleverTap offers a powerful suite of tools for user engagement and analytics that can help you track user activities, segment users, and run targeted campaigns. Integrating Clevertap with Pipedream allows you to automate interactions with users, synchronize data across platforms, and create personalized marketing strategies. You can trigger workflows with real-time events, analyze user behavior, and leverage Pipedream's ability to connect to hundreds of other apps to enrich and act on your CleverTap data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clevertap: {
type: "app",
app: "clevertap",
}
},
async run({steps, $}) {
const data = {
"event_name": `App Launched`,
"from": 20171201,
"to": 20231225,
}
return await axios($, {
method: "post",
url: `https://${this.clevertap.$auth.region}.clevertap.com/1/profiles.json`,
headers: {
"X-CleverTap-Account-Id": `${this.clevertap.$auth.project_id}`,
"X-CleverTap-Passcode": `${this.clevertap.$auth.pass_code}`,
"Content-Type": `application/json`,
},
data,
})
},
})