Contribute/Inquiry Workflow

From MozillaWiki
Jump to navigation Jump to search

Diagram of EN and non-EN workflows on Get Involved page:

Workflows.png

Here is a the detailed workflow:

1. User submits fills our form on Get Involved page.

2. Application sends email to contribute at mozilla dot org

2.1 If in the CCs list [1] there is an entry with the area of interest of the user, include in CC list the email with label as the user's locale (e.g. 'pt-BR'), or if that does not exist, the default email with label 'all'.

3. Check if there is an autoresponse email. Order of preference: Local Email (e.g. under emails/pt-BR/qa.txt), Generic Email (under emails/qa.txt). List with autoresponses here [2].

3.1 In the autoresponse email add a Reply-To header with an email address from this list [3]. As in 2.1 if there is a email address with label as the user's locale, we use this, otherwise we use the generic email with label 'all'.

For the system to work localized we need: 1. Emails per locale and Interest Group to be CCed with the user's email 2. Emails per locale and Interest Group to be Reply-To to the autoresponse 3. Localized autoresponses

[1] https://github.com/mozilla/bedrock/blob/dev/apps/mozorg/views.py#L109

[2] https://github.com/mozilla/bedrock/blob/dev/apps/mozorg/views.py#L175

[3] https://github.com/mozilla/bedrock/blob/dev/apps/mozorg/views.py#L157