Handle response for long action results Facebook infinit loop


I’m building a conversational agent using the rasa infrastructure, and I encountered 2 issues integrating with the Facebook channel.

  1. when facebook sends a post with the data it requires that the response will be 200 after X time. when my custom action is a long one, Facebook starts to resend the same msg and enter into an infinity loop. is there a way to send 200 and then commit the action?
  2. I tried to identify the current channel in the “session_start” custom action, but when I try to extract it from the tracker I get None (tracker.get_latest_input_channel()) any ideas on how I can get that?