We build tech that lets you send mail from your computer in just a few clicks. Yes, you can call us the #MailNerds.
Creates a new document in your account from an uploaded file or a URL. See the documentation for file. See the documentation for URL
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Click2Mail API enables automated mailing solutions, letting you integrate direct mail processes within your digital workflows. On Pipedream, you can harness this API to craft serverless workflows that interact with other apps and services. Create, manage, and send postal mail without leaving your digital ecosystem. Automate mail for marketing, invoicing, or any correspondence that requires a physical mail presence.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
click2mail2: {
type: "app",
app: "click2mail2",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.click2mail2.$auth.subdomain}.click2mail.com/molpro/credit`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.click2mail2.$auth.username}`,
password: `${this.click2mail2.$auth.password}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})