with AppsFlyer and Elastic Email?
Emit new event when a new contact is added to a mailing list. See the documentation
Emit new event when an in-app event is recorded, such as a purchase or level completion. See docs here
Emit new event when a recipient clicks a link in an email. See the documentation
Emit new event when a user installs an app tracked by AppsFlyer. See docs here
Emit new event when a recipient opens an email. See the documentation
Returns a list of the available event types for the specified endpoint type. See the documentation
Adds a new contact to a mailing list. See the documentation
Returns a list of the available message fields for each platform. See the documentation
Sends an email to one or more recipients. See the documentation
Unsubscribes a contact from future emails. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appsflyer: {
type: "app",
app: "appsflyer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://hq1.appsflyer.com/api/pushapi/v1.0/fields/windowsphone`,
headers: {
Authorization: `Bearer ${this.appsflyer.$auth.api_token}`,
"accept": `application/json`,
},
})
},
})
The Elastic Email API allows you to integrate a robust email sending platform into your Pipedream workflows. Use it to send emails, manage contacts, and track campaign statistics. With this API, you can automate email notifications, synchronize subscriber lists, or trigger marketing campaigns based on user actions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
elastic_email: {
type: "app",
app: "elastic_email",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.elasticemail.com/v2/account/profileoverview`,
headers: {
"X-ElasticEmail-ApiKey": `${this.elastic_email.$auth.api_key}`,
},
})
},
})