1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-28 14:56:16 +01:00
site/docs/forms.md

1.5 KiB

Forms

We have multiple forms collecting and processing data throughout the whole site doing the following:

Form Actions
/newsletter send data to MailChimp and subscribe to newsletter list (double opt-in)
/contact send data to CC emails, Slack message
/services send data to CC emails, Slack message, add new row to Google Sheets
/cla 2 different forms, send data to CC emails

Initial form sending, except for newsletter, is handled via formspree.io with a Gold account. As form submissions arrive there, Formspree sends out the received data to the email addresses setup as CC in our site config.

Submissions are processed further like so:

Formspree -> Zapier Email Parser -> Zapier -> Slack & Google Sheets

The Zapier email parser is a special mailbox provided by Zapier which receives form submissions from Formspree, parses the content of those emails and extracts data fields out of it. The parser as a source then provides the structured data to our Zapier tasks.

The Slack message never contains personally identifiable information. Name and email are not transmitted.

Newsletter

Newsletter submissions are sent directly to MailChimp via their undocumented jsonp functionality, NOT the MailChimp API. We use a local copy of ajaxChimp to send the data. Library is old and jQuery but it just works across a wide range of browsers, even older ones.