A Github repo to save all the code related to the newsletter automation.
TLDR: See this whole (Youtube demo for a detailed presentation).
For every newsletter:
- During the week I am bookmarking interesting articles via the Pocket Chrome extension
Then at the end of the week:
-
I will sort these links and mark the ones to keep as "favorites"
-
For every favorite, I will then visit the associated link's page and use the dedicate Chrome extension I made (hosted in the /extension folder of this repo)
-
While doing so, all the relevant data are pushed to an Airtable spreadsheet.
-
Then I will:
- Run locally the script
scripts/getData.js
, which gets me all the data from Airtable - Fill the missing content in
scripts/output/data.json
(for example, the intro text) - Run the script
scripts/generateNewsletter.js
. This will generate the html content for the email.
- Run locally the script
Last actions:
- Make a backup of this HTML file in the
newsletters
folder - Upload the HTML content to sendinblue. Plan the newsletter and create the preview with the hastags from Airtable.
- Update the Notion with Links and hastags.
- Plan post on social media with Buffer