Adapters
Last updated
Last updated
Adapters convert information provided by channels (SMS, Whatsapp) for each specific provider to xMessages and vise versa. Adapters are gateway to the external services and resposible to recieving user response and sending response to users. Thus the two major functions of Adapters are
Convert API/webhook data from channel (and provider) to xMessages
Convert xMessages back to API/webhook data format for the specific channel(and provider)
A simplified diagram of what adapters do is shown below.
The adapter and the inbound service are linked together as shown in the figure below.
Similarly, the adapter and the outbound service are linked in the following fashion.
Gupshup-Whatsapp
Netcore-Whatsapp
UCI Web Channel
Firebase Adapter
Click here to see how to create your own adapter.