with ContentGroove and Roam Research?
Adds content as a child block to a daily note page in Roam Research (access to encrypted and non encrypted graphs). See the documentation
Add content as a child block to an existing or new page in Roam Research (access to encrypted and non encrypted graphs). See the documentation
Add content underneath an existing block in your Roam Research graph (access to encrypted and non encrypted graphs). See the documentation
Generic append blocks for Roam Research pages. See the documentation
Get the data for a page or block in Roam Research (access only to non ecrypted graphs). See the documentation
The ContentGroove API offers functionality for managing and automating content-related tasks. Within Pipedream, you can harness this API to create workflows that trigger on various events, process data, and connect to other services. Think about automating content dissemination, analyzing audience engagement, or syncing content across platforms. With Pipedream's serverless architecture, these workflows can run on demand, on a schedule, or in response to specific events, providing a powerful way to streamline your content management processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contentgroove: {
type: "app",
app: "contentgroove",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://api.contentgroove.com/api/v1/clips`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.contentgroove.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
roamresearch: {
type: "app",
app: "roamresearch",
}
},
async run({steps, $}) {
const data = {
"query": `[:find (rand 20 ?block-uid) . :in $ :where [?e :block/uid ?block-uid] [?e :block/page]]`,
}
return await axios($, {
method: "post",
url: `https://api.roamresearch.com/api/graph/${this.roamresearch.$auth.graph_name}/q`,
headers: {
"X-Authorization": `Bearer ${this.roamresearch.$auth.api_token}`,
},
data,
})
},
})