Skip to content

Commit

Permalink
Adding conversationSid param
Browse files Browse the repository at this point in the history
  • Loading branch information
janorivera committed Nov 28, 2024
1 parent 66cae6f commit 331bb44
Show file tree
Hide file tree
Showing 22 changed files with 276 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "No momento não há atendentes disponíveis. Nosso canal de ajuda está aberto Segunda, Quarta e Sexta, das 14h às 18h, Terça e Quinta, das 9h às 13h. Você pode nos enviar um email: https://new.safernet.org.br/contato",
"key": "message"
Expand Down Expand Up @@ -280,6 +284,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Nosso canal de ajuda está aberto em feriados não oficiais: Segunda, Quarta e Sexta, das 14h às 18h, Terça e Quinta, das 9h às 13h. Você pode nos enviar um email: https://new.safernet.org.br/contato#",
"key": "message"
Expand Down Expand Up @@ -518,6 +526,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_contact_reason",
"key": "message"
Expand Down Expand Up @@ -586,6 +598,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_pre_survey",
"key": "message"
Expand Down Expand Up @@ -650,6 +666,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Você pode denunciar um crime contra direitos humanos na Internet anonimamente aqui: denuncie.org.br",
"key": "message"
Expand Down Expand Up @@ -686,6 +706,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Por favor envie sua mensagem através do nosso formulário de contato https://new.safernet.org.br/contato#",
"key": "message"
Expand Down Expand Up @@ -722,6 +746,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Por favor envie sua mensagem",
"key": "message"
Expand Down
28 changes: 28 additions & 0 deletions twilio-iac/helplines/br/templates/studio-flows/messaging.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "No momento não há atendentes disponíveis. Nosso canal de ajuda está aberto Segunda, Quarta e Sexta, das 14h às 18h, Terça e Quinta, das 9h às 13h. Você pode nos enviar um email: https://new.safernet.org.br/contato",
"key": "message"
Expand Down Expand Up @@ -280,6 +284,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Nosso canal de ajuda está aberto em feriados não oficiais: Segunda, Quarta e Sexta, das 14h às 18h, Terça e Quinta, das 9h às 13h. Você pode nos enviar um email: https://new.safernet.org.br/contato#",
"key": "message"
Expand Down Expand Up @@ -518,6 +526,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_contact_reason",
"key": "message"
Expand Down Expand Up @@ -586,6 +598,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_pre_survey",
"key": "message"
Expand Down Expand Up @@ -650,6 +666,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Você pode denunciar um crime contra direitos humanos na Internet anonimamente aqui: denuncie.org.br",
"key": "message"
Expand Down Expand Up @@ -686,6 +706,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Por favor envie sua mensagem através do nosso formulário de contato https://new.safernet.org.br/contato#",
"key": "message"
Expand Down Expand Up @@ -722,6 +746,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Por favor envie sua mensagem",
"key": "message"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_pre_survey",
"key": "message"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": flow_vars["chat_blocked_message"],
"key": "message"
Expand Down Expand Up @@ -201,6 +205,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_language_selector",
"key": "message"
Expand Down Expand Up @@ -301,6 +309,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_pre_survey",
"key": "message"
Expand Down Expand Up @@ -397,6 +409,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_permissions",
"key": "message"
Expand Down Expand Up @@ -587,6 +603,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_permissions",
"key": "message"
Expand Down Expand Up @@ -687,6 +707,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_pre_survey",
"key": "message"
Expand Down Expand Up @@ -937,6 +961,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "I'm sorry, if you don't accept our terms and conditions we can't provide counselling to you.",
"key": "message"
Expand Down Expand Up @@ -973,6 +1001,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Jiddispjaċini, ma fhimtx eżatt. Jekk jogħġbok wieġeb b'numru wieħed biss.",
"key": "message"
Expand Down Expand Up @@ -1009,6 +1041,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "На жаль, якщо ви не приймете наші умови, ми не зможемо надати вам підтримку.",
"key": "message"
Expand Down Expand Up @@ -1101,6 +1137,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Apologies, were were unable to receive your messages. Please try contacting us again.",
"key": "message"
Expand Down
40 changes: 40 additions & 0 deletions twilio-iac/helplines/mt/templates/studio-flows/messaging-lex.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": flow_vars["chat_blocked_message"],
"key": "message"
Expand Down Expand Up @@ -201,6 +205,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_language_selector",
"key": "message"
Expand Down Expand Up @@ -301,6 +309,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_pre_survey",
"key": "message"
Expand Down Expand Up @@ -397,6 +409,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_permissions",
"key": "message"
Expand Down Expand Up @@ -587,6 +603,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_permissions",
"key": "message"
Expand Down Expand Up @@ -687,6 +707,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "trigger_pre_survey",
"key": "message"
Expand Down Expand Up @@ -937,6 +961,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "I'm sorry, if you don't accept our terms and conditions we can't provide counselling to you.",
"key": "message"
Expand Down Expand Up @@ -973,6 +1001,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Jiddispjaċini, ma fhimtx eżatt. Jekk jogħġbok wieġeb b'numru wieħed biss.",
"key": "message"
Expand Down Expand Up @@ -1009,6 +1041,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "На жаль, якщо ви не приймете наші умови, ми не зможемо надати вам підтримку.",
"key": "message"
Expand Down Expand Up @@ -1101,6 +1137,10 @@ ${
"value": "{{flow.channel.address}}",
"key": "channelSid"
},
{
"value": "{{flow.channel.address}}",
"key": "conversationSid"
},
{
"value": "Apologies, were were unable to receive your messages. Please try contacting us again.",
"key": "message"
Expand Down
Loading

0 comments on commit 331bb44

Please sign in to comment.