Intent in button payload


(Yoandy Mesa) #1

Hi, i’m having problems trying to force intent using a button payload.

I have defined the intent “talk_to_human” and as fallback im uttering a msg and presenting a button to user with payload “/talk_to_human”.

In my stories its properly defined that on intent talk_to_human rasa must exec action “handover_to_inbox”.

Once the user clicks de button (facebook messenger) the messenger app says “There was a problem sending the message to your bot”. I’m running the bot in debug mode but no error, and honestly no clue exaclty what’s the error.

The problem its not with custom action “handover_to_inbox” because if i set it directly as fallback action it works fine.

Any hints?

image


(Yoandy Mesa) #2

Just in case someone else hits this problem: It was my fault, the facebook app was not subscribed to webhook “messaging_postbacks”