@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, input_channel=self.name()
)
Hope that helps .
@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?
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