with VectorShift and Wordpress.com?
Emit new event for each new comment added since the last run. If no new comments, emit nothing.
Emit new event when a knowledge base is created in Vectorshift.
Emit new event for each new follower that subscribes to the site.
Emit new event when a new pipeline is created in VectorShift.
Adds data to a knowledge base in VectorShift. See the documentation
Creates a new post on a WordPress.com site. See the documentation
Creates a new pipeline in VectorShift. See the documentation
Executes a VectorShift pipeline with specified inputs. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vectorshift: {
type: "app",
app: "vectorshift",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vectorshift.ai/v1/pipelines`,
headers: {
Authorization: `Bearer ${this.vectorshift.$auth.api_key}`,
},
})
},
})
The Wordpress.com API empowers developers to extend and integrate their website's capabilities with custom automations and connections to a multitude of apps. Through Pipedream's serverless platform, you have the ability to automate content management tasks such as posting new articles, managing comments, and synchronizing users. This can streamline content workflows, enhance user engagement, and keep your site's data in sync with other services like social media, email marketing platforms, and analytics tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wordpress_com: {
type: "app",
app: "wordpress_com",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.wordpress.com/rest/v1.1/me`,
headers: {
Authorization: `Bearer ${this.wordpress_com.$auth.oauth_access_token}`,
},
})
},
})