with Welcome and Unisender?
Emit new event when all messages have been sent and analysis of the results is completed.
Emit new event when a new event is created in Welcome. See the documentation
Emit new event when a new campaign is scheduled to be launched.
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
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
welcome: {
type: "app",
app: "welcome",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.experiencewelcome.com/api/v1/events`,
headers: {
Authorization: `Bearer ${this.welcome.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})