AcyMailing is the most complete emailing solution for WordPress and Joomla! Design newsletter or marketing campaigns easily with all our tools.
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
Sends an email to a single AcyMailing user. The user must exist in the AcyMailing database. 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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})