with Microsoft Graph API (daemon app) and Mailify?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_graph_api_daemon_app: {
type: "app",
app: "microsoft_graph_api_daemon_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/users`,
headers: {
Authorization: `Bearer ${this.microsoft_graph_api_daemon_app.$auth.oauth_access_token}`,
},
})
},
})
Mailify API enables you to harness the power of email marketing by automating your email campaigns, managing contacts, analyzing results, and integrating with other services. With Pipedream, you can create complex workflows connecting Mailify with various apps to respond to events and triggers, thereby streamlining your marketing efforts and saving time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailify: {
type: "app",
app: "mailify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mailifyapis.com/v1/users`,
auth: {
username: `${this.mailify.$auth.account_number}`,
password: `${this.mailify.$auth.api_key}`,
},
})
},
})