with Beanstalk and PostGrid Print & Mail?
Emit new event when a new changeset is created. See the docs
Emit new event when a new repository is created. See the docs
Emit new event when selected flags trigger the webhook. See the docs
Creates a new code review. This action is essentially the same as clicking the “Request review” button in the app. See the docs
Create a new contact in PostGrid. See the documentation
Creates a new letter in PostGrid. See the documentation
The Beanstalk API allows for streamlined version control and release management within your development workflow. By leveraging the API with Pipedream, you can automate interactions with your repositories, changesets, and deployment environments. You can create workflows that react to code commits, manage deploy environments, and integrate with other services for a more cohesive development lifecycle.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
beanstalkapp: {
type: "app",
app: "beanstalkapp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.beanstalkapp.$auth.domain}.beanstalkapp.com/api/account.json`,
headers: {
"Content-Type": `applicaton/json`,
"User-Agent": `Pipedream (support@pipedream.com)`,
},
auth: {
username: `${this.beanstalkapp.$auth.username}`,
password: `${this.beanstalkapp.$auth.access_token}`,
},
})
},
})
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}`,
},
})
},
})