From d4c506b7a7ddb96e5a69ab140cf807f58e375582 Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Mon, 3 Nov 2025 14:45:11 +0000 Subject: [PATCH 1/2] Add engineers countries to allowed countries for region restricted staging webchat accounts --- twilio-iac/helplines/as/production.hcl | 2 +- twilio-iac/helplines/mt/staging.hcl | 2 +- twilio-iac/helplines/nz/staging.hcl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/twilio-iac/helplines/as/production.hcl b/twilio-iac/helplines/as/production.hcl index c61d2ba35b..af9d2f1408 100644 --- a/twilio-iac/helplines/as/production.hcl +++ b/twilio-iac/helplines/as/production.hcl @@ -27,7 +27,7 @@ locals { contact_identity = "" templatefile = "/app/twilio-iac/helplines/as/templates/studio-flows/messaging-blocking-lambda-location-block-sd.tftpl" channel_flow_vars = { - allowed_shortcode_locations = "US,CL,ZA" + allowed_shortcode_locations = "US,CL,ZA,IE,AR" } chatbot_unique_names = [] }, diff --git a/twilio-iac/helplines/mt/staging.hcl b/twilio-iac/helplines/mt/staging.hcl index 3e31664f7c..3d4f59a927 100644 --- a/twilio-iac/helplines/mt/staging.hcl +++ b/twilio-iac/helplines/mt/staging.hcl @@ -29,7 +29,7 @@ locals { contact_identity = "" templatefile = "/app/twilio-iac/helplines/mt/templates/studio-flows/messaging-lex-web-location-block.tftpl" channel_flow_vars = { - allowed_shortcode_locations = "MT,US,CL,ZA" + allowed_shortcode_locations = "MT,US,CL,ZA,IE,AR" } chatbot_unique_names = [] }, diff --git a/twilio-iac/helplines/nz/staging.hcl b/twilio-iac/helplines/nz/staging.hcl index 0e8031e386..46941b415d 100644 --- a/twilio-iac/helplines/nz/staging.hcl +++ b/twilio-iac/helplines/nz/staging.hcl @@ -34,7 +34,7 @@ locals { channel_flow_vars = { chat_greeting_message = "Kia ora, we'll connect you with someone soon. Your conversation is confidential, but if we feel that you or someone else is at serious risk of harm, we may have to link in with other services. We'll let you know if that becomes necessary." widget_from = "Youthline" - allowed_shortcode_locations = "NZ,US,CL,ZA" + allowed_shortcode_locations = "NZ,US,CL,ZA,IE,AR" } chatbot_unique_names = [] }, From e3bab76978692b37fdaa8b7f58504a042d16c369 Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Thu, 6 Nov 2025 09:11:57 +0000 Subject: [PATCH 2/2] Add helpline code and account sid to page vars --- plugin-hrm-form/src/fullStory/setUp.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin-hrm-form/src/fullStory/setUp.ts b/plugin-hrm-form/src/fullStory/setUp.ts index c05eb67cfd..af8aa6dc4b 100644 --- a/plugin-hrm-form/src/fullStory/setUp.ts +++ b/plugin-hrm-form/src/fullStory/setUp.ts @@ -55,6 +55,7 @@ function helplineIdentifierFullStory( /https:\/\/assets-(?\w+)\.tl\.techmatters\.org\/plugins\/hrm-form\/\w+\/(?[\w.-]+)\/plugin-hrm-form\.js/, )?.groups ?? {}; pageVars.pluginVersion = pluginVersion; + pageVars.environment = environment; userVars.displayName = `${fullName || contactUri || 'Unknown'} (${helplineCode} - ${environment})`; userVars.environment = environment; }