Multiple bots

@saurabh-m523 If I can capture the value of customData it would be enough because I can send that value

Perfect, then you can extract the value with something like this in your custom connector:

custom_data = data['customData']   # This is the custom dictionary from Frontend.

message = UserMessage(
                data["message"] + custom_data.get("tramite"), output_channel, sender_id,

Hope that helps :slightly_smiling_face:.

@saurabh-m523, It worked excellent thank you very much for your help

To know how to do it from the api, should it be something similar to this call?

r = requests.get (‘http: // localhost: 5005 / conversations / default / tracker’)

1 Like

Hey @fmelossi, I’m glad I could help. Could you please accept it as a solution? :sweat_smile::sweat_smile:

And yes you are correct, that’s how you should do it from the API. Since I haven’t tested it myself so I’m not sure, but it should work. Maybe you could try it and find out.

1 Like

Excellent!!! Thanks a lot

1 Like