I integrated my bot with Twillo’s programmable SMS successfully but custom actions keep failing. (It works without Twillo Integration; when the core_sdk starts the action server)
I’m confused about the role of my action server and what its endpoint should be when integrating with Twilio.
SMS–>Twilo–> Ngrok–> Core (–> Action → Core ) → Ngrok -->Twillo–>Phone
endpoints.yml;
action_endpoint:
url: http://localhost:5055/webhooks/twillo/webhook
core_endpoint:
url: http://localhost:5005
credentials.yml
twillio:
account_sid: "xxxxxxxxxxx"
auth_token: "xxxxxxxxxxx"
twilio_number: "+xxxxxx"
from makefile;
run-core-twillo:
python -m rasa_core.run -d models/dialogue -u models/current/nlu --endpoints endpoints.yml --connector "twilio" --port 5002 --credentials credentials.yml --enable_api
run-actions:
python -m rasa_core_sdk.endpoint --actions actions_custom
Would be very grateful for any help, thanks again