A CampaignMonitor List backed RSVP app that runs on Node in Heroku.
This app used to be backed by Mailchimp, but Mailchimp don’t want you using their service for weddings so it uses CampaignMonitor now, instead.
Make sure you have the following file, env.sh:
export CREATESEND_KEY=<CM-API-KEY>
export CREATESEND_LIST=<CM-LIST-ID>
export CREATESEND_CLIENT=<CM-CLIENT-ID>
export CREATESEND_EMAIL_LOGIN=<CM-SMARTEMAILID-FOR-LOST-LINKS>
export CREATESEND_EMAIL_NOTIFY=<CM-SMARTEMAILID-FOR-NOTIFICATIONS>
export RSVP_NOTIFY_IGNOREADMIN=false
export RSVP_BASEURL=http://ludnat.wendzich.com$ source env.sh
$ npm install
$ npm startYour app should now be running on localhost:5000.
Setup the above ENV variables on Heroku.
$ git push heroku master
$ heroku open
or
- Create a list with Custom Fields:
TokenText: This can be manually populated, or automatically populated with secure tokens if you visit:/tokenizeRSVPNumber: Status of the RSVP0: Waiting for response,1: Sends regrets,2: Coming.
DietaryText: Will be populated from the invitation page when guests RSVP.CountNumber: How many people are on the invitation.
- Webhooks will automatically be created to send notifications to your Team Members and Admins.
- Manage notifications on
/list?token=<CM-API-KEY> - Admins are automatically included, you can make sure they are excluded by setting the environment variable
RSVP_NOTIFY_IGNOREADMINtotrue.
- Manage notifications on
- You must create 2 Smart Emails:
- Login Email. An email for when people lose their invitation URL and request it to be sent to them from the homepage.
- This can use the custom personalization tags:
[Token]and[email], specifically for the Login URL:/?token=[Token]&email=[email].
- This can use the custom personalization tags:
- Notify Email. A notification email for when people RSVP to be sent to the Team Members (and Admins).
- This can use the custom personalization tags:
[Token],[Name],[email],[Count],[RSVP]and[Dietary].
- This can use the custom personalization tags:
- Login Email. An email for when people lose their invitation URL and request it to be sent to them from the homepage.
- Create your invitation list. Leave the
RSVPandDietaryfields blank, these will be updated by the app. Make sureCountis filled out for each Subscriber. - View RSVPs and manage notification settings at:
/list?token=<CM-API-KEY>. - Send out RSVPs that include a login link to RSVP:
/?token=[Token]&email=[email].
