What do you want to automate

with The Bookie and Llama AI?

Prompt, edit and deploy AI agents that connect to The Bookie, Llama AI and 2,500+ 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 Contact Created from The Bookie API
The Bookie + Llama AI
 
Try it
Create Chat with Llama AI API on New Invoice Created from The Bookie API
The Bookie + Llama AI
 
Try it
Create Chat with Llama AI API on New Invoice Paid from The Bookie API
The Bookie + Llama AI
 
Try it
New Contact Created from the The Bookie API

Emit new event when a contact is created.

 
Try it
New Invoice Created from the The Bookie API

Emit new event when a new invoice is created.

 
Try it
New Invoice Paid from the The Bookie API

Emit new event when the state of an invoice is changed to 'paid'.

 
Try it
Create Contact with the The Bookie API

Instantly creates a new contact in the address book. See the documentation

 
Try it
Create Chat with the Llama AI API

Creates a new chat. See the documentation

 
Try it
Create Sales Invoice with the The Bookie API

Creates a new sales invoice. See the documentation

 
Try it
Find Contacts with the The Bookie API

Find a contact from the address book. See the documentation

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

Connect The Bookie

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    the_bookie: {
      type: "app",
      app: "the_bookie",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.thebookie.nl/nl/api/e1/contacts/`,
      headers: {
        Authorization: `Bearer ${this.the_bookie.$auth.oauth_access_token}`,
      },
      params: {
        admin_id: `${this.the_bookie.$auth.admin_id}`,
      },
    })
  },
})

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,
    })
  },
})

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