Facebook integration assigns chats from the Facebook page to Freshchat group mapped during the integration. Intelliassign should be enabled for that group for the chats to get assigned automatically.