Hi @dgandhi17
Dgraph is not a process orchestration engine, so if the sync process between salesforce and dgraph has several steps + error handling, you should consider a middleware or at least some kind of microservice.
However, Dgraph can support orchestration needs elegantly. I have posted this video where a series of process steps are executed in a master data management context. This might be a helpful design pattern, hence sharing this.