sujan
(Sujan K S)
February 13, 2023, 1:03pm
1
Help!!
hello everyone,
I successfully integrated rasa and WhatsApp using Twilio. But not able to implement whatsapp buttons with rasa. Can you please guide me step by step method to solve this?
I researched many websites nowhere getting these steps please help me.
Thanks all
rasa_learner
(sathishlakshmanan)
February 14, 2023, 3:57pm
2
sujan
(Sujan K S)
February 15, 2023, 12:29am
3
Thanks @rasa_learner but where to add these lines of code? which file? can you please help me?
agokrani
(Agokrani)
February 19, 2023, 6:28pm
4
I am also wondering how to fix this. I saw this post
opened 11:46PM - 23 Sep 20 UTC
closed 12:57AM - 29 Sep 20 UTC
type:enhancement
area:rasa-oss
**Description of Problem**:
<!-- Short overview of the current situation.
Why … is this feature needed? Please link any relevant
[forum](https://forum.rasa.com/t/button-shows-both-payload-and-text/34095) threads here. -->
The response looks clumsy and the payload should not be visible to the end user.
**Overview of the Solution**:
<!-- What would a possible solution look like?
Describe, without going too low into technical details,
what changes need to happen during implementation of this feature. -->
When the Twilio connector sends the response, check if the response contains "(/" and if it does, trim the response from the position where "(/" started till the end. This is safe to do because the payload is always attached at the end of the string after the text.
**Examples** (if relevant):
For instance, if the buttons are Outside and Inside with respective payload, the payload is showed along with the text
Where would you like to dine?
1. Outside (/outside)
2. Inside (/inside)
**Blockers** (if relevant):
<!-- Is this feature blocked by anything or anyone?
Or might there be any potential blockers on the way? -->
User experience
**Definition of Done**:
<!-- What needs to be there to consider this feature as done?
- [ ] Tests are added
- [ ] Feature described the docs
- [ ] Feature mentioned in the changlog
- [ ] ... -->
Writing a code that would remove the payload before sending it to the platform.
However, I am also not sure how to use the custom connector afterwards.
anoopshrma
(Anoop Sharma)
February 20, 2023, 4:14am
5
Hi @agokrani
You can see how to implement custom connector using this