Add to Readwise

Posted by @th1nkful, Last update over 2 years ago

Add the content of your Draft as to your Readwise account in the Quotes book


  • script

    // See online documentation for examples
    const credential = Credential.create("Readwise", "Insert access token generated on Readwise at:");
    credential.addTextField("apptoken", "Access Token");
    const appToken = credential.getValue("apptoken");
    const http = HTTP.create();
    const response = http.request({
      "url": "",
      "method": "POST",
      "encoding": "json",
      "data": {
        "highlights": [
            "text": draft.content
      "headers": {
        "Authorization": "Token " + appToken
    if (response.error) {;


  • After Success Default , Tags: readwise
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.