We are into the lead business. We capture leads and pass it on to the clients based on some rules. integration to each client very in nature like nature of the API and in some cases, data mapping is also required. We perform the following steps in order to route leads to the client.
- Select the client
- Check if any client-specific mapping(master data) is required.
- Send Lead to nearest available dealer(optional step)
- Call client api to send lead
- Update push status of the lead to database
Note that some of the steps can be optional.
Which design pattern would be suitable to solve this problem. The motive is to simplify integration to each client.
Aucun commentaire:
Enregistrer un commentaire