The Bridge application is an orchestrator between the user, for example as a WhatsApp Client, and the One Experience backend services. It is used to translate user messages and perform the specififc actions. To communicate with WhatsApp Clients the bridge is using the MessageBird API. Messages can be received in the Bridge via WebHooks and with the Messagebird API replies can be build and send back to the client. Messages from the user are interpreted with Google Dialogflow. The received message from the user is send to Dialogflow and the response is an intent. Based on this intent the bridge is performing actions and preparing a response for the user.

Bridge flow diagram