Simple NodeJS cron job script to send email reminders to users that have signed up but not yet completed the registration process on CariClub Platform.
- Run Cron job every day at 12:00 PM.
- Send Reminder Dynamic Email Setup in Sendgrid
- Log cron job
In order to get up and running using this repository you'll need the following:
.env
: database configdoc
installedsendgrid/mail
installedmysql
installed
With the above dependencies installed run the following to get up and running:
- Run the script using
node app.js
command
For running the Client app on local machine, follow these steps:
- Add ReferralID to get the name of the person that referred the user. This can be used to add more personalization in the SendGrid Dynamic Template email campaign.
- Use OrgID and LastLogin to construct the email, and send follow-up emails after a few days.