with Campaign Monitor and Documenso?
Creates a new subscriber on a specific list. See the documentation
Add a recipient to an existing Documenso document. [See the documentation](See the documentation)
Create a new document in Documenso from a pre-existing template. See the documentation
Sends an intelligent transactional email to a specified recipient. See the documentation
Removes a subscriber from a mailing list given their email address. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
campaign_monitor: {
type: "app",
app: "campaign_monitor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.createsend.com/api/v3.3/primarycontact.json`,
headers: {
Authorization: `Bearer ${this.campaign_monitor.$auth.oauth_access_token}`,
"Content-Type": `application/json; charset=utf-8`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
documenso: {
type: "app",
app: "documenso",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.documenso.$auth.url}/api/v1/documents`,
headers: {
"Authorization": `${this.documenso.$auth.api_token}`,
},
})
},
})