-
Notifications
You must be signed in to change notification settings - Fork 0
/
CreatePostcardHelp.html
17 lines (15 loc) · 3.42 KB
/
CreatePostcardHelp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<h2 id="automated-postcard-creation">Automated Postcard Creation</h2>
<p>This application is created to take form information from people concerned with the Justice System Reform in Arizona. The information provided is used to create a postcard for Participants that live in Arizona and will be hand delivered to the new legislators when they resume in January 2021. </p>
<p>Creating a postcard is all automated and posts the data taken from the form submitted by the Participants and posts it to a third party company which creates and sends postcards. The postcard are being sent directly to AFSC-AZ office to accumulate before being delivered. </p>
<p>Upon form submission, all the responses are logged onto a Spreadsheet. A confirmation email is sent to Participant confirming their form submission. The Spreadsheet contains extra information showing when the submission to the third party company was made as well as the status code to verify success. If post fails, retry attempts are made every 4 hours up to 3 times. If post still fails, an email is sent to the administator, a staff member at AFSC-AZ, stating which row of data didn't post to Lob correctly. There is also a column in the Spreadsheet that says Yes in Failed Email Sent when that happens. At this point, a manual submission is recommended. </p>
<h2 id="manually-creating-postcard">Manually Creating Postcard</h2>
<p>To <a href="https://afsc-az-project.s3.us-east-2.amazonaws.com/multiSubmit.gif">manually submit</a> a data row to Lob to create a postcard, highlight a single row and select the Create Postcard menu item then selecting Manually Create Postcard to retry posting to Lob. This will only work if there is not already a status code of 200 in the status code column. When a post is successful, there is a date in the Post to Lob column, a 200 in the Status Code column and the Idempotency Key is also filled in. </p>
<img src="https://afsc-az-project.s3.us-east-2.amazonaws.com/multiSubmit.gif" style="width: 950px;" alt="single submit rows gif">
<p>When a Post to Lob fails, the retry attempts are documented in the Retry Count column in the Spreadsheet. The Idempotency Key will automatically keep Lob from accidentally creating more than one Postcard should the information be posted successfully more than once. </p>
<h2 id="manually-creating-postcards-in-batches">Manually Creating Postcards in Batches</h2>
<p>Suggested batch size is 100 due to limitations, (see below). To perform a <a href="https://afsc-az-project.s3.us-east-2.amazonaws.com/multiSubmit.gif">batch posting</a>, select contiguous rows up to 100 and select the Create Postcard menu item then select Manually Create Postcard. You can watch the Spreadsheet while the submissions are updating the information needed to the Spreadsheet. </p>
<img src="https://afsc-az-project.s3.us-east-2.amazonaws.com/multiSubmit.gif" style="width: 950px;" alt="multi submit rows gif">
<h2 id="limitations">Limitations</h2>
<p>This app does not test City to be a valid Arizona city. It is strictly based on the Participants answer to the Form asking, "Do you live in Arizona?". All Yes responses are sent to Create Postcard. </p>
<p>Posts are limited to 150 posts for every five minutes to the third party company creating postcards.</p>
<p>Email confirmations sent are limited to 100 per day. We have added a feature that states QUOTA EXCEEDED when only seventy has been reached so other important emails can still go through if needed.</p>