Open Source Productivity Automation with Joplin + Node-RED

Introduction

Install and configure Joplin

Clicking “Enable Web Clipper Service” will allow Joplin to communicate with the Web Clipper but also with Node-Red once we install it.

Install and Configure Node-Red

When you first install and run node-red it will look a little like this
node-red-contrib-joplin provides nodes for interacting with the Joplin API
Once you install the new packages, nodes for joplin and email will show up in the palette.

Receiving emails in Node-RED

Configuring the email node allows it to periodically check our emails and import them to joplin.
Gmail’s “create label” prompt allows us to create a new folder for Node-Red to listen to.
Wiring together nodes allows them to pass messages to each other
Example output from the email we put in the Joplin folder — congrats if you can see this!

Before we continue: Node-RED in 30 seconds

Examples of input and output nodes (email) and a function node (delay). Debug is also a (kind of special) output node

Saving emails to Joplin

Pro-tip: If you look in the documentation tab of the sidebar (the one with the book) you can usually see help text describing the different properties that each node expects and produces which can help you wire things together properly.
We want to move the email properties around so that msg.payload.body=msg.payload and msg.payload.title=topic.
Success! The fields are in the right place!
You can connect multiple nodes to output ports — the same message will be passed to all of them.
A Joplin REST API configuration.
The email showing up in Joplin once the Flow is complete

Closing Thoughts on Joplin + Node-RED

--

--

--

Ml and NLP Geek, Saxophonist, foodie and explorer. I was born in Bermuda and I Live in the UK, PHD Student at Warwick and CTO at Filament.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Tips & Tricks: VP Engineering Frank Orozco on the Five Best Practices for Building a Data Warehouse

Short brief about Kubernetes for fast on-boarding of developers(Part1:PODS)

How a best-in-class OTT platform streams live sporting events

Add drivers to a boot image in Windows Deployment Services (WDS)

ShardingSphere 4.x User Manual-Sharding-JDBC

Streaming Data with KSQL

How we rolled out our Kubernetes platform in Adevinta Spain

2nd Story — The Eternal Conflict of Python or R (or JavaScript or Julia)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
James Ravenscroft

James Ravenscroft

Ml and NLP Geek, Saxophonist, foodie and explorer. I was born in Bermuda and I Live in the UK, PHD Student at Warwick and CTO at Filament.

More from Medium

Office Ribbon Development Resources

Hi I am Brad (The Founder of Emtrey)

How I optimized meetings at work

What is an Internal Developer Platform (IDP)? Why Do They Matter?