Warning: At this time we do not recommend relying on integration with Evernote from Drafts, or any other third party app. Evernote has removed (without notice), several of the key methods of integration with new app updates (AppleScript, URL schemes), and no longer supports their integration SDKs. Although some of these methods do still work, we are not sure how long they will continue to work.
Evernote is a popular note platform. Drafts can capture text to Evernote in a number of ways.
Evernote Action step (iOS Only)
Note: The Evernote action step relies on the Evernote SDK, which Evernote no longer supports. We are maintaining our own version of this SDK to keep it working for now, but are not sure about the future of these features, and there are a few “gotchas”, including the fact that if you login to Evernote using a Google account, you cannot use these features. This is not something we can fix or workaround, it would require a fix from Evernote.
Drafts offers native integration with Evernote using the Evernote action step. Actions using this step can create, replace, append or prepend to notes in any notebook, assign tags, etc…even convert Markdown to Evernote rich text. Some ready to use samples from the directory:
- Save to Evernote: Saves draft to Evernote in a timestamped note, converting Markdown to Evernote’s native ENML rich-text format.
- Append to Evernote Journal: Append draft to rolling monthly journal notes in Evernote.
- Evernote with Todos: Saves to Evernote converting Drafts’ [ ] task marks to Evernote checkboxes.
- Save to Evernote (Text): Same as save action above, but treats text as plain text converting line breaks, but not applying any Markdown formatting.
Formatting: see the formatting footnote below to better understand how text is converted to Evernote.
Mac Note: Evernote does not provide a standard REST API, so these actions rely on a custom SDK from Evernote. Evernote does not offer a similar SDK for Mac at this time, so these features are not enabled.
Share Extension (iOS Only)
Evernote offers an iOS Share extension for creating tasks which can be used with the Drafts’ Share action. This requires no special setup or configuration, just that both apps be installed on the device. Just tap the “Share” action, and use select Evernote. The share extension offers great flexibility in assigning Evernote tags and destination notebooks.
Mac Note: Note that Evernote does have a share extension in their Mac application, but it does not accept text for some reason, so does not appear as an option when sharing from Drafts. This is something Evernote would have to change at their end to function with Drafts.
URL-Based Actions (iOS Only) DEPRECATED!!!
As of September, 2020, the Evernote iOS app was updated and no longer supports the URL schemes it has in the past. This method is no longer available!
Evernote supports URL schemes, including x-callback-url.
- New Note in Evernote: Sends the current draft to Evernote as a new note, with the first line of the draft as the title and remaining text as the content of the note.
Mac Note: Evernote’s Mac app does not implement support for the same URL schemes as their iOS app. They do register the same
Evernote: URL scheme, but the action do not work, so generally if you run a URL-based Evernote action on the Mac, the Evernote app will launch, but nothing will happen.
Emailing into Evernote
Evernote offers the ability to email notes. Details about how to email to Evernote are available in their documentation. Once you determine your unique Evernote email address, you can configure a Drafts’ Mail action step with that “To” email address and “Send in Background” enabled for a quick, single tap method to send a note to Evernote.
This is generally the best option for integrating with Evernote on the Mac.
AppleScript (macOS Only) DEPRECATED!!!
As of October, 2020, the Evernote Mac app was updated and no longer supports the AppleScript. This method is no longer available!
It is also possible to do advanced creation and modification of notes in Evernote via AppleScript integration. We have posted a sample action demonstrating how to create cross-platform Evernote actions with AppleScript.
Formatting Text for Evernote
Evernote stores notes using it’s own ENML markup, which is very much like HTML. When displayed in Evernote’s apps, the ENML is rendered much like HTML is in a web-browser to appear as rich-text…but, ultimately, under the hood, it is stored in this HTML-like markup.
Drafts edits plain text notes. When sending text from Drafts to Evernote using their APIs, the text has to be converted to ENML. Drafts offers several strategies to do this, as controlled by the template output format of the Evernote action step. The two common options are:
- Text: Using this option, Drafts assumes you want your output treated as plain text. It will encode HTML entities, add line break tags where you have them, etc., when sending to Evernote. It will not, however, result in any rich-text formatting in Evernote. If you do not use Markdown, this is probably the option you want.
- Markdown:: Using this option, Draft will run the output through your preferred Markdown parser to convert it to HTML before sending to Evernote. Since ENML is very close to HTML, this generally works to get nice rich-text formatting of bold, italics, lists, links and other common markup in the resulting Evernote document.