with Dixa and Roam Research?
Emit new event when a conversation is created in Dixa. See the documentation
Emit new events when the status of a conversation changes (e.g., open, closed, or abandoned). See the documentation
Emit new event when a customer submits a satisfaction rating for a conversation. See the documentation
Emit new event for each new or modified linked reference in Roam Research.
Emit new event when a new message is added to a conversation. See the documentation
Adds a message to an existing conversation. See the documentation
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
Creates a new email or contact form-based conversation. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dixa: {
type: "app",
app: "dixa",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dev.dixa.io/v1/agents`,
headers: {
"authorization": `${this.dixa.$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,
})
},
})