Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Welcome Message for the endpoint with form id #12

Closed
dedenbangkit opened this issue May 22, 2023 · 1 comment
Closed

Remove Welcome Message for the endpoint with form id #12

dedenbangkit opened this issue May 22, 2023 · 1 comment
Assignees

Comments

@dedenbangkit
Copy link
Member

dedenbangkit commented May 22, 2023

Hi @ifirmawan when we know the form_id, user should not see welcome message anymore. It should ask first question directly.

22:51:09
λ curl -X POST "localhost:8000/api/gateway/twilio/1/" -H "Content-Type: application/x-www-form-urlencoded" -d 'From=whatsapp:085743333004' -d 'Body=Hi'

"Welcome to Akvo Survey\n\n.*Please select the form below:*\n- #1 | Form Complaint\nby replying to this message with the following format to start a new survey\n*READY#FORM_ID* (e.g *READY#1*)" 

22:51:13
λ curl -X POST "localhost:8000/api/gateway/twilio/" -H "Content-Type: application/x-www-form-urlencoded" -d 'From=whatsapp:085743333004' -d 'Body=Hi'

"Welcome to Akvo Survey\n\n.*Please select the form below:*\n- #1 | Form Complaint\nby replying to this message with the following format to start a new survey\n*READY#FORM_ID* (e.g *READY#1*)"  
@dedenbangkit
Copy link
Member Author

The intro still exist when for second submission

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

No branches or pull requests

2 participants