What do you want to automate

with OpenRouter and Readwise?

Prompt, edit and deploy AI agents that connect to OpenRouter, Readwise 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
Retrieve Available Models with OpenRouter API on New Documents from Readwise API
Readwise + OpenRouter
 
Try it
Retrieve Available Models with OpenRouter API on New Highlights from Readwise API
Readwise + OpenRouter
 
Try it
Send Chat Completion Request with OpenRouter API on New Documents from Readwise API
Readwise + OpenRouter
 
Try it
Send Chat Completion Request with OpenRouter API on New Highlights from Readwise API
Readwise + OpenRouter
 
Try it
Send Completion Request with OpenRouter API on New Documents from Readwise API
Readwise + OpenRouter
 
Try it
New Documents from the Readwise API

Emit new document See the documentation

 
Try it
New Highlights from the Readwise API

Emit new Highlight

 
Try it
Retrieve Available Models with the OpenRouter API

Returns a list of models available through the API. See the documentation

 
Try it
Get Highlight Details with the Readwise API

Get Highlight´s Details See the docs here

 
Try it
Send Chat Completion Request with the OpenRouter API

Send a chat completion request to a selected model. See the documentation

 
Try it
List Highlights with the Readwise API

A list of highlights with a pagination metadata. The rate limit of this endpoint is restricted to 20 requests per minute. Each request returns 1000 items. See the docs here

 
Try it
Send Completion Request with the OpenRouter API

Send a completion request to a selected model (text-only format) See the documentation

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

Connect OpenRouter

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: {
    openrouter: {
      type: "app",
      app: "openrouter",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://openrouter.ai/api/v1/parameters/openai/o1`,
      headers: {
        Authorization: `Bearer ${this.openrouter.$auth.api_key}`,
      },
      params: {
        provider: `OpenAI`,
      },
    })
  },
})

Overview of Readwise

The Readwise API allows you to access and manipulate your Readwise data, which includes highlights, notes, and books from your reading list. With this API, you can automate the retrieval of your reading highlights, synchronize them across various platforms, or trigger custom actions based on new highlights added. Pipedream, as a serverless integration and compute platform, enables you to create workflows that leverage the Readwise API to build powerful automations, connecting your reading insights to countless other apps and services to enrich productivity and data management.

Connect Readwise

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    readwise: {
      type: "app",
      app: "readwise",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://readwise.io/api/v2/books/`,
      headers: {
        "Authorization": `Token ${this.readwise.$auth.access_token}`,
      },
    })
  },
})

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