This script opens an omnichannel room and sends a message, perfect for mass testing omnichannel behaviors and bot integrations.
Change the url_rc, department and count variables at main file.
Have at least one omnichannel online agent.
External libraries: requests and faker.
Rocket.Chat APIs used:
PS: The department information must be in the visitor's payload, otherwise the room will not be allocated to any department.