Skip to content

Conversation

@kobros-tech
Copy link

Send survey participation link via SMS

@kobros-tech kobros-tech force-pushed the 16.0-add-partner_survey_sms branch from bbf8c1b to 6cd781a Compare August 23, 2025 02:00
@kobros-tech
Copy link
Author

image

@kobros-tech
Copy link
Author

@kobros-tech
Copy link
Author

add test cases is intended as long as we agree on the base code.

Comment on lines 6 to 8
<field name="body">
Hello {{ object.display_name }}, {{ ctx['requested_by_user'] }} has requested your participation on the following survey: {{ ctx['link'] }}, {{ ctx['message'] }}
</field>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<field name="body">
Hello {{ object.display_name }}, {{ ctx['requested_by_user'] }} has requested your participation on the following survey: {{ ctx['link'] }}, {{ ctx['message'] }}
</field>
<field name="body">Hello {{ object.display_name }}, {{ ctx['requested_by_user'] }} has requested your participation on the following survey: {{ ctx['link'] }}&#10;{{ ctx['message'] }}</field>

This will improve a few things:

  • avoid new lines (space above)
  • the current link will not include a ",", example: http://127.0.16.1:8072/survey/start/b135640d-14d4-4748-9ef6-344ca256531e?answer_token=61c31e6e-e38d-4129-8517-1f5ef3858e63,
  • the message content will be displayed on a new line
image

@xaviedoanhduy
Copy link

can you also check the following issue?
when i use the link from chapter in Contact menu the link does not work. but with SMS/SMS menu when i copy the raw link it works

Screencast.from.2025-11-18.17-22-28.webm

@xaviedoanhduy
Copy link

can you also check the following issue? when i use the link from chapter in Contact menu the link does not work. but with SMS/SMS menu when i copy the raw link it works

Screencast.from.2025-11-18.17-22-28.webm

I think the main reason for the issue is the presence of a "," in the link.
image

Send survey participation link via SMS
@kobros-tech kobros-tech force-pushed the 16.0-add-partner_survey_sms branch from 6cd781a to a759184 Compare November 20, 2025 21:49
@kobros-tech
Copy link
Author

@pedrobaeza
@xaviedoanhduy

here is a module to send survey in SMS

@kobros-tech
Copy link
Author

@pedrobaeza

hoping to add a similar module in sign project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants