with n8n.io and Blogger?
Creates and publishes a new post or creates a new post as a draft. See the docs here
Permanently removes a post (the deleted post cannot be restored anymore) See the docs here
Revert a published or scheduled post to draft state.See the docs here
The n8n.io API provides a platform for automating workflows in a node-based structure that allows for integrations across various services and apps. Leveraging this API within Pipedream enables you to orchestrate complex operations, connect disparate systems, and trigger actions conditionally, transforming and passing data between services without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
n8n_io: {
type: "app",
app: "n8n_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.n8n_io.$auth.domain}.app.n8n.cloud/api/v1/workflows`,
headers: {
"Accept": `application/json`,
"X-N8N-API-KEY": `${this.n8n_io.$auth.api_key}`,
},
})
},
})
The Blogger API grants the power to manage your blog's content, comments, and settings programmatically. With Pipedream, you can automate content creation, streamline publishing workflows, and integrate your blog with a multitude of other services to expand its capabilities. Think real-time content updates from social media inputs, analytics-driven publishing, or automated content syndication. Harness the Blogger API on Pipedream to craft dynamic blogging ecosystems that respond to your audience's engagement and your creative inputs, keeping your content fresh and your operations efficient.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
blogger: {
type: "app",
app: "blogger",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/blogger/v3/users/self`,
headers: {
Authorization: `Bearer ${this.blogger.$auth.oauth_access_token}`,
},
})
},
})