Skip to content

Commit 91a1115

Browse files
authored
Merge pull request #250 from govuk-forms/hannahkc-weekly-batches
Hannahkc weekly batches
2 parents f2682e0 + 171ecea commit 91a1115

5 files changed

Lines changed: 171 additions & 2 deletions

File tree

design/features/getting-completed-form-submissions/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ We need to make several changes to the task list to properly represent the S3 op
4242

4343
So in January 2026, we added a details component to the page where form creators set the email address for completed forms. This tells them S3 buckets is an option, and links to the [processing completed form submissions](https://www.forms.service.gov.uk/processing-completed-form-submissions) guidance on the product site which has more information and tells them to contact us to set it up.
4444

45+
### [Daily batches of form submissions in CSV](version-4-daily-batch-submissions.md)
4546

47+
Added an option to be sent a daily email with a CSV of data from all submissions to a form from the previous day.
4648

49+
### [Weekly batches of form submissions in CSV](version-5-weekly-batch-submissions.md)
4750

48-
49-
51+
Added an option to be sent a weekly email with a CSV of data from all submissions to a form from the previous week.
Loading
Loading
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder contains screenshots for the weekly form submission CSVs feature.
Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
# Weekly batch of submissions
2+
3+
- Date released: 30 March 2026
4+
- [Epic Trello card](https://trello.com/c/KsrXbLgd/156-collating-submissions-into-one-file)
5+
- [Daily and weekly collated submissions CSV - Mural](https://app.mural.co/t/gaap0347/m/gaap0347/1770127108440/d7a891c1cc0123b6ccbb35e593bb7b00ce38d083?sender=u12d19b597a88e8b64fc22126)
6+
- [Daily and weekly CSV of form submissions - content notes](https://docs.google.com/document/d/1aHnUZ6RWI2aj9yi-MciAy-NexJzWtynNV2NEGZyioAc/edit?pli=1&tab=t.udaypy8b13up#heading=h.6iwzmd16d9b8)
7+
---
8+
9+
## Contents
10+
11+
- [What is this iteration](#what-is-this-iteration)
12+
- [Design and content](#design-and-content)
13+
14+
---
15+
## What is this iteration?
16+
17+
This added the option for form owners to get a weekly email with an attached CSV file containing all submissions to a single form from the previous week. The email does not contain any uploaded files for file upload questions, so individual submissions continue as normal.
18+
19+
### As-is
20+
21+
Form creators get answers from each completed form sent to them by email or through an S3 bucket (which is less common). They can also get a daily batch of submissions to a form as a CSV file attached to an email.
22+
23+
### To-be
24+
25+
People can also opt to receive a weekly batch of submissions in a CSV file, with all the submissions to a form from the previous week. The CSV is sent on a Monday morning to the email address that is set for completed forms.
26+
27+
### Why?
28+
29+
We know many of our users currently collect individual submission data into a single spreadsheet file for various reasons - such as for processing, record keeping and analysing response data in bulk.
30+
31+
We provided daily batches as a first iteration to help people to do this more easily. We are expanding this to a weekly batch to, hopefully, make further efficiency improvements.
32+
33+
---
34+
## Design and content
35+
36+
The designs and content changed for this iteration were:
37+
38+
### Task list
39+
<img alt="screenshot is described in the following content" src="version-5-weekly-batch-submissions-screenshots/001-task-list-weekly-csv-task.png" width="400">
40+
41+
In section 2 of the task list, pictured above, we changed the name of the existing optional weekly batch task from:
42+
43+
> Get a daily CSV of the previous day’s completed forms
44+
45+
To:
46+
47+
> Get a daily or weekly batch of completed forms
48+
49+
This introduced the terminology of ‘batches’ for the first time. This was needed to avoid having to say “all of the completed forms from the previous day or week”.
50+
51+
### Task page: Get a daily or weekly batch of completed forms
52+
53+
The task page has a new heading and content - including an additional checkbox - to explain the options of daily and weekly batches of form submissions, and allow the form creator to select if they want either of them.
54+
55+
<img alt="screenshot is described in the following content" src="version-5-weekly-batch-submissions-screenshots/002-Get-a-daily-or-weekly-batch-of-completed-forms.png" width="400">
56+
57+
The new H1 heading is:
58+
59+
> Get a daily or weekly batch of completed forms
60+
61+
Then there is some guidance:
62+
63+
> You can get a daily or weekly CSV file of all the submissions to this form from the previous day or week.
64+
>
65+
> The CSVs will be sent:
66+
> - to the email address you’ve set for completed forms
67+
> - shortly after 2am each day for a daily CSV
68+
> - shortly after 2am on Monday mornings for a weekly CSV
69+
>
70+
> The CSVs will include each submission’s answers in plain text separated by commas - plus the date and time of submission.
71+
>
72+
> If you make changes to the form such as adding, moving or deleting a question, the structure of the CSV will change. Forms completed before and after the change will be split into separate CSV files.
73+
>
74+
> You’ll continue to receive individual completed form submissions in the usual way. If your form has any file upload questions, the uploaded files will only be attached to the individual submissions.
75+
76+
Then a question:
77+
78+
> Do you want to get a daily or weekly CSV of submissions to this form?
79+
80+
Followed by 2 checkbox options:
81+
82+
> - Get a daily CSV of submissions
83+
> - Get a weekly CSV of submissions
84+
85+
Then a green ‘Save and continue’ button.
86+
87+
#### Success banner notifications
88+
89+
If the form creator changes the current settings on the task page and saves them, they are returned to the task list page and the relevant success banner will be displayed. There are 4 versions:
90+
91+
- You’ll get a daily batch of form submissions
92+
- You’ll get a weekly batch of form submissions
93+
- You’ll get daily and weekly batches of form submissions
94+
- You will not get a daily or weekly batch of form submissions
95+
96+
If the form creator makes no changes, no success banner is displayed when they return to the task list page.
97+
98+
### Live and archived form’s details page
99+
100+
On the live or archived form’s read-only details page we display the form’s current settings for daily and weekly batches.
101+
102+
In the “How you get completed forms” section, we show an H3:
103+
104+
> Daily and weekly CSVs
105+
106+
Beneath this, we show the relevant line of the 4 possibilities:
107+
- You are getting a daily batch of completed forms.
108+
- You are getting a weekly batch of completed forms.
109+
- You are getting daily and weekly batches of completed forms.
110+
- You have not opted to get a daily or weekly batch of completed forms.
111+
112+
### Weekly batch emails
113+
114+
The weekly batch email will:
115+
- be sent on Mondays shortly after 2am at a similar time to the daily batch emails
116+
- include CSVs for the previous week’s submission to the form
117+
- not include any file uploads from file upload questions - these will only be sent with the individual submissions
118+
119+
We’ve adapted the daily batch email template for weekly batches.
120+
121+
The subject for the email is:
122+
123+
> Weekly form submissions: ‘[Form name]’ - xx month year to xx month year
124+
125+
The body content is:
126+
127+
> Form name: “[form name]
128+
>
129+
> All submissions to this form from xx month year to xx month year are attached to this email in [a CSV file named | CSV files named]:
130+
> - govuk_forms_form_name_2026-02-13--2026-02-19_1
131+
> - govuk_forms_form_name_2026-02-13--2026-02-19_2
132+
> - govuk_forms_form_name_2026-02-13--2026-02-19_3
133+
>
134+
> > Check that these answers look safe before you use them
135+
>
136+
> Submissions are split into separate CSV files if the form’s been changed in a way that affects the structure of the CSV.
137+
>
138+
> For forms with file upload questions, the uploaded files will only be attached to the individual completed form submissions.
139+
>
140+
> > **You cannot reply to this email**
141+
> >
142+
> > If you’re experiencing a technical issue with this form, contact the GOV.UK Forms team (linked) with details of the issue and the form it relates to.
143+
144+
#### Preview version of the email
145+
146+
Any submission to a preview of the form will be sent in a separate CSV in a separate email. They’ll be clearly marked as test submissions. This allows people to test this functionality, without getting them confused as real submissions.
147+
148+
The email template is largely the same with the following difference.
149+
150+
The email subject line reads:
151+
152+
> TEST WEEKLY FORM SUBMISSIONS: [Form name] - xx month year to xx month year
153+
154+
We include a line at the start of the body of the email to say:
155+
156+
> These are test submissions to a preview of [a draft | a live | an archived] form.
157+
158+
We have also added “test_” to the start of each attached CSV filename to differentiate these files even if they are downloaded to a user’s computer.
159+
160+
<br>
161+
162+
___
163+
164+
<br>
165+
166+
[Back to the top](#weekly-batch-of-submissions)

0 commit comments

Comments
 (0)