with sevDesk and PostGrid Print & Mail?
Create a new contact in PostGrid. See the documentation
Creates a new letter in PostGrid. See the documentation
Creates a new invoice with optional details like invoice date, due date, discount amount, and invoice items. See the documentation
The sevDesk API allows you to automate tasks around billing, accounting, and inventory management within the sevDesk platform. With it, you can create invoices, manage customers, and handle your accounting processes programmatically. When integrated into Pipedream workflows, you can connect sevDesk with other apps to streamline your financial operations, trigger actions based on events, and sync data across your business stack, enabling a seamless financial workflow automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sevdesk: {
type: "app",
app: "sevdesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://my.sevdesk.de/api/v1/Contact`,
headers: {
"Authorization": `${this.sevdesk.$auth.api_token}`,
"Content-Type": `application/json`,
},
})
},
})
The PostGrid Print & Mail API offers seamless print and mail solutions, enabling the automation of sending personalized letters, postcards, checks, and more. With this API, you can systematize direct mail campaigns, transactional mailings, or on-demand dispatch without managing printing infrastructure. In Pipedream, you can harness this capability to interlace PostGrid with an array of other services and triggers, creating workflows that respond to events such as form submissions, scheduled campaigns, or customer actions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postgrid: {
type: "app",
app: "postgrid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.postgrid.com/print-mail/v1/contacts`,
headers: {
"x-api-key": `${this.postgrid.$auth.api_key}`,
},
})
},
})