What do you want to automate

with Llama AI and Roam Research?

Prompt, edit and deploy AI agents that connect to Llama AI, Roam Research and 2,800+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Chat with Llama AI API on New Modified Linked Reference from Roam Research API
Roam Research + Llama AI
 
Try it
New Modified Linked Reference from the Roam Research API

Emit new event for each new or modified linked reference in Roam Research.

 
Try it
Create Chat with the Llama AI API

Creates a new chat. See the documentation

 
Try it
Add Content To Daily Note Page with the Roam Research API

Adds content as a child block to a daily note page in Roam Research (access to encrypted and non encrypted graphs). See the documentation

 
Try it
Add Content To Page with the Roam Research API

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

 
Try it
Add Content Underneath Block with the Roam Research API

Add content underneath an existing block in your Roam Research graph (access to encrypted and non encrypted graphs). See the documentation

 
Try it
Append Blocks with the Roam Research API

Generic append blocks for Roam Research pages. See the documentation

 
Try it
Integrate the Llama AI API with the Roam Research API
Setup the Llama AI API trigger to run a workflow which integrates with the Roam Research API. Pipedream's integration platform allows you to integrate Llama AI and Roam Research remarkably fast. Free for developers.

Overview of Llama AI

The Llama AI API provides powerful machine learning capabilities, enabling users to harness advanced AI for image recognition, natural language processing, and predictive modeling. By leveraging this API on Pipedream, you can automate complex workflows that require AI-driven insights, enhancing data analysis and decision-making processes across various business applications.

Connect Llama AI

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    llama_ai: {
      type: "app",
      app: "llama_ai",
    }
  },
  async run({steps, $}) {
    const data = {
        "messages": [
            {"role": "user", "content": "What is the weather like in Boston?"},
        ],
        "functions": [
            {
                "name": "get_current_weather",
                "description": "Get the current weather in a given location",
                "parameters": {
                    "type": "object",
                    "properties": {
                        "location": {
                            "type": "string",
                            "description": "The city and state, e.g. San Francisco, CA",
                        },
                        "days": {
                            "type": "number",
                            "description": "for how many days ahead you wants the forecast",
                        },
                        "unit": {"type": "string", "enum": ["celsius", "fahrenheit"]},
                    },
                },
                "required": ["location", "days"],
            }
        ],
        "stream": "false",
        "function_call": "get_current_weather",
    }
    return await axios($, {
      method: "post",
      url: `https://api.llama-api.com/chat/completions`,
      headers: {
        Authorization: `Bearer ${this.llama_ai.$auth.api_token}`,
      },
      data,
    })
  },
})

Connect Roam Research

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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,
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo