Skip to content
Open
Original file line number Diff line number Diff line change
@@ -1,12 +1,37 @@
[
{
"insightsObject": "conversations",
"attributeName": "conversation_measure_6",
"questions": ["was_helpful"]
"attributeName": "conversation_attribute_1",
"questions": ["specialist_knowledge_satisfaction"]
},
{
"insightsObject": "conversations",
"attributeName": "conversation_measure_7",
"attributeName": "conversation_attribute_2",
"questions": ["will_follow_advice"]
},
{
"insightsObject": "conversations",
"attributeName": "conversation_attribute_3",
"questions": ["would_recommend"]
},
{
"insightsObject": "conversations",
"attributeName": "conversation_attribute_4",
"questions": ["overall_satisfaction"]
},
{
"insightsObject": "conversations",
"attributeName": "conversation_attribute_5",
"questions": ["self_or_other"]
},
{
"insightsObject": "conversations",
"attributeName": "conversation_attribute_6",
"questions": ["victim_service_profesional"]
},
{
"insightsObject": "conversations",
"attributeName": "conversation_attribute_7",
"questions": ["was_first_time"]
}
]
]
2 changes: 1 addition & 1 deletion twilio-iac/helplines/usvc/common.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ locals {
},
survey : {
friendly_name = "Survey Workflow"
templatefile = "/app/twilio-iac/helplines/templates/workflows/lex.tftpl"
templatefile = "/app/twilio-iac/helplines/templates/workflows/survey.tftpl"
}
}
task_queues = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@
"enable_hang_up_by_hrm_saving": true,
"enable_custom_links" : true
},
"postStudioFlows": {
"${task_queues.vc}": {
"flowTrigger": "inProgressCall",
"studioFlowSid": "${studio_flow_sids.post_call_survey_en}"
},
"${task_queues.dcvh}": {
"flowTrigger": "inProgressCall",
"studioFlowSid": "${studio_flow_sids.post_call_survey_en}"
},
"${task_queues.vc_sp}": {
"flowTrigger": "inProgressCall",
"studioFlowSid": "${studio_flow_sids.post_call_survey_es}"
},
"${task_queues.dcvh_sp}": {
"flowTrigger": "inProgressCall",
"studioFlowSid": "${studio_flow_sids.post_call_survey_es}"
}
},
"definitionVersion": "usvc-v1",
"external_recordings_enabled": false,
"helplineLanguage": "en-USVC",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,36 @@
{
"attributes": {
"system_down" : false,
"form_definitions_base_url": "https://assets-staging.tl.techmatters.org/form-definitions/",
"resources_base_url": "",
"logo_url" : "https://aselo-logo.s3.amazonaws.com/200+transparent+background+no+TM+staging.png",
"feature_flags": {
"use_twilio_lambda_adjust_capacity": false,
"use_twilio_lambda_janitor": false,
"use_twilio_lambda_to_transition_participants": false,
"use_twilio_lambda_transfers": false
}
"attributes": {
"system_down": false,
"form_definitions_base_url": "https://assets-staging.tl.techmatters.org/form-definitions/",
"resources_base_url": "",
"logo_url": "https://aselo-logo.s3.amazonaws.com/200+transparent+background+no+TM+staging.png",
"feature_flags": {
"use_twilio_lambda_adjust_capacity": false,
"use_twilio_lambda_janitor": false,
"use_twilio_lambda_to_transition_participants": false,
"use_twilio_lambda_transfers": false
},
"postStudioFlows": {
"${task_queues.vc}": {
"flowTrigger": "inProgressCall",
"studioFlowSid": "${studio_flow_sids.post_call_survey_en}"
},
"${task_queues.dcvh}": {
"flowTrigger": "inProgressCall",
"studioFlowSid": "${studio_flow_sids.post_call_survey_en}"
},
"${task_queues.dc_dispatch}": {
"flowTrigger": "inProgressCall",
"studioFlowSid": "${studio_flow_sids.post_call_survey_en}"
},
"${task_queues.vc_sp}": {
"flowTrigger": "inProgressCall",
"studioFlowSid": "${studio_flow_sids.post_call_survey_es}"
},
"${task_queues.dcvh_sp}": {
"flowTrigger": "inProgressCall",
"studioFlowSid": "${studio_flow_sids.post_call_survey_es}"
}
}
}
}
17 changes: 17 additions & 0 deletions twilio-iac/helplines/usvc/production.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,23 @@ locals {



}
#Post call survey (triggered in-call, wired through postStudioFlows in service-configuration)
studio_flows = {
post_call_survey_en : {
templatefile = "/app/twilio-iac/helplines/usvc/templates/studio-flows/post-call-survey.tftpl"
flow_vars = {
post_survey_assets_url = "https://recordings.tl.techmatters.org/usvc/production/post_call_survey_en"
gather_language = "en-US"
}
},
post_call_survey_es : {
templatefile = "/app/twilio-iac/helplines/usvc/templates/studio-flows/post-call-survey.tftpl"
flow_vars = {
post_survey_assets_url = "https://recordings.tl.techmatters.org/usvc/production/post_call_survey_es"
gather_language = "es-US"
}
}
}
//Serverless -- to allow enabling the operating hours check on this staging account.
ui_editable = true
Expand Down
17 changes: 17 additions & 0 deletions twilio-iac/helplines/usvc/staging.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,23 @@ locals {



}
#Post call survey (triggered in-call, wired through postStudioFlows in service-configuration)
studio_flows = {
post_call_survey_en : {
templatefile = "/app/twilio-iac/helplines/usvc/templates/studio-flows/post-call-survey.tftpl"
flow_vars = {
post_survey_assets_url = "https://recordings.tl.techmatters.org/usvc/staging/post_call_survey_en"
gather_language = "en-US"
}
},
post_call_survey_es : {
templatefile = "/app/twilio-iac/helplines/usvc/templates/studio-flows/post-call-survey.tftpl"
flow_vars = {
post_survey_assets_url = "https://recordings.tl.techmatters.org/usvc/staging/post_call_survey_es"
gather_language = "es-US"
}
}
}
//Serverless -- to allow enabling the operating hours check on this staging account.
ui_editable = true
Expand Down
Loading
Loading