with Invoiced and MailGenius?
Returns daily limit for api token, how many email tests are used in last 24 hours and how many are still remaining for use. See the documentation
Returns generated test email, limit exceeded if daily limit is reached. See the documentation
The Invoiced API empowers users to automate billing and invoicing processes with ease. It facilitates the creation, sending, and management of invoices, along with tracking payments and customer interaction. By harnessing the Invoiced API on Pipedream, you can craft workflows that respond to business events in real-time, sync invoice data with accounting software, or trigger customer engagement actions upon payment statuses.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
invoiced: {
type: "app",
app: "invoiced",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.invoiced.com/invoices`,
auth: {
username: `${this.invoiced.$auth.api_key}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailgenius: {
type: "app",
app: "mailgenius",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mailgenius.com/external/api/audits`,
headers: {
Authorization: `Bearer ${this.mailgenius.$auth.api_token}`,
},
})
},
})