with Datagma and Roam Research?
Emit new event for each new or modified linked reference in 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 Datagma API allows for the extraction and analysis of valuable data from emails. By using this API, you can automate the process of parsing emails to retrieve information like signatures, contact details, and other pertinent data. In Pipedream, this functionality becomes a powerful tool for creating workflows that can help to streamline business processes, enhance customer relationship management, or fuel data enrichment strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
datagma: {
type: "app",
app: "datagma",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://gateway.datagma.net/api/ingress/v1/mine`,
params: {
apiId: `${this.datagma.$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,
})
},
})