Readwise makes it easy to revisit and learn from your ebook & article highlights.
Continue workflow execution only if a condition is met
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
The Readwise API is an amazing resource for building powerful applications that
use Readwise's unique data and insights. Using the Readwise API, you can build
applications that:
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}`,
},
})
},
})
The Filter API is a great way to build powerful workflows that can manipulate
and transform data. Here are some examples of what you can build using the
Filter API:
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})