You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/posts/select-people-for-invitation/2025-03-24-routing-ids.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ tags:
10
10
- reference data
11
11
---
12
12
13
-
SPI works with other services to provide a wider end to end service. SPI is used to select which people should be contacted, but it connects with [NHS Notify](https://digital.nhs.uk/services/nhs-notify) to actually send messages to those people.
13
+
SPI works with other services to provide a wider end-to-end service. SPI is used to select which people should be contacted, but it connects with [NHS Notify](https://digital.nhs.uk/services/nhs-notify) to actually send messages to those people.
14
14
15
-
One of the powerful features of SPI is that as well as allowing users to select which people to contact based on various criteria, it also allows users to select which message to send and in what format. For example, we might wish to send under 16s a message addressed to "Parent or guardian", and over 16s a message addressed directly to the person themself. Or we might want to send a translated version of a message if we know the recipient has different language preference.
15
+
One of the powerful features of SPI is that as well as allowing users to select which people to contact based on various criteria, it also allows users to select which message to send and in what format. For example, we might wish to send under 16s a message addressed to "Parent or guardian", and over 16s a message addressed directly to the person themself. Or we might want to send a translated version of a message if we know the recipient has a different language preference.
16
16
17
17
The way that the message content and communication channels are controlled is via "Routing plans" which are set up in NHS Notify.
18
18
@@ -22,9 +22,9 @@ A routing plan might say:
22
22
- If SMS fails, try sending an **email** using **contentTemplateA-email**
23
23
- If email fails, send a **letter** using **contentTemplateA-letter**
24
24
25
-
For complicated campaigns with lots of different content variations (e.g. accessible formats, translations etc.), this can mean a large number of routing plans are required. As an example for the Spring 2025 Covid campaign there will be ~54 routing plans required.
25
+
For complicated campaigns with lots of different content variations (e.g. accessible formats, translations etc.), this can mean a large number of routing plans are required. As an example for the Spring 2025 Covid campaign there will be around 54 routing plans.
26
26
27
-
SPI is where users create the rules which determine which routing plans to use for which people, e.g.
27
+
SPI is where users create the rules which determine which routing plans to use for which people, e.g.:
28
28
29
29
- If person is <16, use **routing plan A**
30
30
- If person has a language preference = DE, use **routing plan B**
@@ -53,32 +53,32 @@ Because routing plans combine content with communication channels, they are uniq
53
53
Therefore when a user is setting up an iteration (our current name for the configuration which defines a group of invitations - we're aware it might not be the most intuitive term and plan to research this further), we don't want them to be able to pick a routing plan which isn't applicable to the campaign they're working on.
54
54
55
55
## Ideal solution
56
-
The ideal solution would be that SPI knows which routing plans are available and which campaigns they relate to, and therefore will only display applicable options in the UI. We would love to have integration with NHS Notify and bring back routing plan IDs via an API for example. At the moment this isn't possible, and Notify have their own roadmap working towards a more selfservice approach to routing plans and content templates so in time SPI will have to evolve to integrate with NHS Notify as it itself evolves.
56
+
The ideal solution would be that SPI knows which routing plans are available and which campaigns they relate to, and therefore will only display applicable options in the UI. We would love to have integration with NHS Notify and bring back routing plan IDs via an API for example. At the moment this isn't possible, and Notify have their own roadmap working towards a more self-service approach to routing plans and content templates so in time SPI will have to evolve to integrate with NHS Notify as it itself evolves.
57
57
58
58
## Pragmatic interim solution
59
59
We're not yet able to have a fully integrated solution with NHS Notify, indeed we don't yet know exactly how their service will evolve and how we could integrate in the future. Therefore we designed a pragmatic solution which works for the here and now, and which we can iterate over time.
60
60
61
-
NHS Notify currently send the users a spreadsheet with the routing plan IDs for a campaign. Often this is sent quite close to the campaign go live date, so baking the routing plan IDs into the SPI user interface isn't straightforward (it would require a release and there might not be time for the associated processes such as testing and clinical assurance).
61
+
NHS Notify currently send the users a spreadsheet with the routing plan IDs for a campaign. Often this is sent quite close to the campaign go live date, so baking the routing plan IDs into the SPI user interface isn't straightforward (it would require a release and there might not be time for the associated processes such as testing and clinical assurance):
62
62
63
63

64
64
65
-
We came up with a design which allows the users to copy the whole column and paste it into SPI, at campaign level.
65
+
We came up with a design which allows the users to copy the whole column and paste it into SPI, at campaign level:
66
66
67
67

68
68
69
69

70
70
71
-
This then makes the routing plans available for selection (via dropdowns) later in the process when they are creating routing rules within an iteration in that campaign.
71
+
This then makes the routing plans available for selection (via dropdowns) later in the process when they are creating routing rules within an iteration in that campaign:
72
72
73
73

74
74
75
75
This approach has a number of benefits over adding routing plan IDs manually at a rule level:
76
76
77
77
- It ensures that only Covid routing plans are available in Covid campaigns and only MMR routing plans are available in MMR campaigns etc.
78
-
- It reduces the need for manually retyping or copying and pasting - the routing plan IDs are added once and then available for use thereafter
78
+
- It reduces the need for manually retyping or copying and pasting – the routing plan IDs are added once and then available for use thereafter
79
79
80
80
## User feedback
81
-
When we tested this design with users it was very well recieved.
81
+
When we tested this design with users it was very well received:
82
82
- Users were happy to add the routing plan IDs to the campaign so they could then select them from dropdowns when setting up rules
83
83
- They were delighted that they could copy and paste the whole column of routing IDs in 1 operation (there can be a lot of routing plans per campaign), this was considered to be a real value add
0 commit comments