Ck newsletter Docs

Guide to setup the ck newsletter

Ck newsletter - A newsletter service

This service aims to aid small and mid-sized bloggers to automate the process of delivering newsletters to subscribers. Blogger needs to hook two requests to their blog code and focus on writing amazing blogs. Subscribers are going to receive the newsletter when you publish a new article.

Table of contents:

How to create an account?

  1. 1. Open the

    cknewsletter.netlify.com
  2. 2. Sign up with your email account.

How to create a project?

  1. 1. Sign In with your account credentials.

  2. 2. Click on new to create a new project.

  3. 3. Fill details about your project.

    Optionally, you can create and put your custom ( HTML ) newsletter template.

  4. 4. Submit it

How to activate newsletter service?

These email credentials will be used to send newsletters to your subscribers.
  1. 1. You need to go to the profile page.

  2. 2. Put your email and password credential to the relative input fields.

  3. 3. Select your email service.

  4. 4. Save it

Your email & password is confidential and kept secret to everyone.

Altough, we are planing to integrate own email service and also taking direct permission from your email service provider instead of credentials.

Note: Please grant permission to your email account to be used behalf of you.

You can find helpful resources on the internet as per your service or contact us for help.

PRO TIP:: you can also use cknewsletter_hook node package
. It requires low-code/no code.

Set-up the subscribe!

  1. 1. Create a fetch request with PATCH method.

  2. 2. Need to put two properties into the payload ( body ).

    "subscriber": "ch*****@gmail.com", "apiKey": "15870449476249g9uo*****"

    The subscriber should be dynamic. This should be your subscriber's email.

    The apiKey should be your project's API Key.

  3. 3. Now you can make a patch request with these data on this endpoint: `https://cknewsletter.herokuapp.com/api/v1/projects/subscribe`

  4. 4. Your subscribers will be stored in your project on this platform.

  5. 5. Place this code in your blog's code where it will be invoked whenever your user submit the subscribe form.

Note: shoot an email if you need more help with this

Set-up the push newsletters!

  1. 1. Create a fetch request with PATCH method.

  2. 2. Need to put two properties into the payload ( body ).

    "slug": "vue", "apiKey": "15870449476249g9uo\*\*\*\*"

    Replace the apiKey with your project's API key.

    Slugshould be dynamic. Your article slug or id should be the value of slug key.

  3. 3. Notice that your slug will be used to create the link to your article. For Ex: "https://myblog.com/blog/vue"

  4. 4. Now you can make a patch request with these data on this endpoint: https://cknewsletter.herokuapp.com/api/v1/projects/slug

  5. 5. Place this patch request code to your blog code where it makes this request every time whenever you publish a new article.

  6. 6. It will push the newsletter to your subscribers of particular project.

Voila, You are done now. Now write the best and keep your subscribers in sync with your latest articles.

Support

Feel free to reach out to me on

cknewsletterservice@gmail.com

with any and all questions and/or feedback.