with AcyMailing and MergeMole?
Creates a new user or updates an existing user in AcyMailing. If the user exists, will update the user's data with provided information. See the documentation
Generate a PDF document based on the specified template. See the documentation
Sends an email to a single AcyMailing user. The user must exist in the AcyMailing database. See the documentation
Get all data variables of a specified template. See the documentation
Retrieve a list of all templates under your account. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acymailing: {
type: "app",
app: "acymailing",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.acymailing.$auth.url}/index.php?page=acymailing_front&option=com_acym&ctrl=api&task=getUsers&limit=1&offset=0`,
headers: {
"Api-Key": `${this.acymailing.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mergemole: {
type: "app",
app: "mergemole",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mergemole.com/api/test`,
headers: {
"x-api-token": `${this.mergemole.$auth.api_key}`,
"x-api-secret": `${this.mergemole.$auth.secret_key}`,
},
})
},
})