with Rafflys and Unisender?
Emit new event when all messages have been sent and analysis of the results is completed.
Emit new event when a new campaign is scheduled to be launched.
Emit new event when a email unsubscribes from a list.
This method adds contacts (email address and/or mobile phone numbers) of the contact to one or several lists, and also allows you to add/change values of additional fields and tags. See the docs here
This method unsubscribes the contact email or phone number from one or several lists. See the docs here
Rafflys API provides tools to create and manage online raffles and contests, paving the way for engagement and promotional activities. Within Pipedream, you can leverage this API to build automations that enhance the way you run contests, connect with your audience, and analyze engagement data. By integrating Rafflys with other apps on Pipedream, you can craft workflows that streamline contest operations, notify winners, or even sync data with marketing platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rafflys: {
type: "app",
app: "rafflys",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app-sorteos.com/api/v2/users/me`,
headers: {
"X-API-KEY": `${this.rafflys.$auth.api_key}`,
},
})
},
})
UniSender is a platform that empowers users to execute email and SMS marketing campaigns effectively. With the UniSender API on Pipedream, you can automate the process of managing contacts, designing emails, initiating campaigns, and analyzing the results. Implementing workflows that respond to subscriber actions, synchronize customer data across platforms, or dynamically update marketing lists becomes straightforward, enhancing the efficiency and personalization of your marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
unisender: {
type: "app",
app: "unisender",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.unisender.com/en/api/getUserInfo`,
params: {
format: `json`,
api_key: `${this.unisender.$auth.api_key}`,
},
})
},
})