with Wordpress.org and Sendy?
Adds a new subscriber or updates existing subscriber's details for a specific list. See the documentation
Creates a new draft campaign ready to be filled in with details. See the documentation
The WordPress.org API offers a wide range of capabilities for content management, theme and plugin information, and community engagement. With Pipedream, you can harness this API to create automated workflows that react to events in WordPress, sync content across platforms, or even manage your site's appearance and functionality programmatically. Whether you're looking to streamline your publishing process, enhance user interaction, or keep everything in sync, the WordPress.org API on Pipedream offers a powerful toolset to craft custom solutions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wordpress_org: {
type: "app",
app: "wordpress_org",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.wordpress_org.$auth.url}/wp-json/wp/v2/users`,
auth: {
username: `${this.wordpress_org.$auth.username}`,
password: `${this.wordpress_org.$auth.application_password}`,
},
})
},
})
The Sendy API allows you to programmatically manage email campaigns, subscribers, and lists. With Pipedream's capabilities, you can leverage Sendy API to create custom workflows that respond to events, synchronize data across platforms, and automate email marketing tasks. Pipedream provides a serverless platform where you can connect Sendy with hundreds of other apps without writing complex code, harnessing the power of Sendy's features with event-driven programming and API integration.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendy: {
type: "app",
app: "sendy",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.sendy.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://sendy.email/dev2/api/brands/get-brands.php`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
},
data,
})
},
})