 Hello friends, I am Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, we are going to discuss differences between process builder, flow builder, workflow and approvals. So all these four features belongs to process automation. Those are available in Salesforce. So we are going to discuss in detail like what are the features supported by all four things and what we cannot do. So before starting, if you want to watch specific videos related to process builder, flow builder, workflows and approvals. So you can go to description of this video and you can find a link of playlist, individual playlist on these topics in the description of this video. So you can follow them as well. So this is the very first slide for the difference. So here you can see four columns are available. First is for process builder, second is for flow builder, then workflow and then approvals. And then left inside, I have a particular basis on which we are going to compare all four entities. So first one is complexity. So process builder and flow builder, both are complex because we can implement multiple if then statements here. In flow builder, we can also implement loop, right? So it is more complex as compared to process builder. In case of workflow, we can implement a single if then statement and same with approval. So they are little simpler or easy to implement as compared to process builder and flow builder. But we can do lots of things, lots of operations through process builder and flow builder. So these are also equally important. So as per the requirement, we can choose a particular thing that we are going to use then visual designer. So while implementing process through process builder and flow to flow through flow builder. So we have flow. Sorry, we have visual designer like in process builder, you will be having a graphical implementation where you can put your criteria actions and same with the flow. But in workflow and approvals, you will not see any visual designer. So simple Salesforce implementation tools will be available there. But here, Salesforce provided a different builder tool. That's why they are known as process builder and flow builder. So those builders follow the visual designer. For these two, those designers are available, but for workflow and approvals, they are not. Then if you want to create time based actions. So these are supported with process builder flow builder and workflow, but not with approvals. Then supports user interaction. So this is only supported with flow, flow builder. So if you if you create any screen flow. Then only this feature will be supported like you can interact with the user. And in case of process builder workflow and approvals, this feature is not available. Moving forward. When this thing starts. So when suppose you have created a process. So when it will be starting initiating, you have created any flow when it will be initiating similarly workflow and approvals. So first time talking about process builder. So while creating a process through process builder. So it provides three options like process will be triggering when record is changed like record is created or updated. Second is invoked by another process. So you can call one process by another process. So through that way you can call a particular process. Then third option is platform even messages received, right? So these three things are available through which a particular process initiates now coming to flow builder. So you can initiate a flow when user click button or link. Then user accesses lightning pays community pays visual force pays or custom tab, then you can initiate flow. Then third is user accesses item in a utility ball. Then fourth is process starts. So through process that we create through process builder. We can also call a flow that is known as auto launch flow to apex. We can call flow and this is new feature six point record is created or created. So newly created newly available flow is record trigger flow that automatically calls when a record is created or created. So all these things initiates a particular flow. So you need to remember like from where we can initiate flow so that you can choose particular type of flow while building any solution of the problem. Then workflow workflow initiates when record is changed. So record is created or edited or updated. Then approvals. So here three options are available. User clicks button or link. Second process or flow starts then that includes a submit for approval action. So through process or flow through process and flow we can call approvals. And through apex code, we can also call approvals. Right. So this is very important thing that you need to know like from where we can initiate process builder flow builder work plan approvals. Now moving forward. So next is difference based on supported action. So what action is supported by what so that we need to see. So this is also important like what action you can perform through process builder through flow builder through workflow and approval. So you need to know this. So if you want to call apex code so that you can do through process flow. But that cannot be done through workflow and approval. Then if you want to create records so you can create records with process builder with flow builder. But through workflow and approvals, you can create only task records. The task is objects. So for that object, you can create records through work plan approvals and through process and flow you can create any kind of record related to any object. Then invoke processes like you want to call one process through another process so that you can do through only process builder because processes are only related to process builder. Then delete records. So this option is available with flow only. So while creating any flow through flow builder, you can delete a particular record as well. So this feature is not available with process builder workflow and approvals. Next slide launch a flow. So if you want to launch so launch means like if you want to call a flow that is auto launch flow. So you can do that through process builder. You can do that flow builder as well. Like one flow is called by another flow. So that a feature is known as sub flow calling sub flow. So through both you can call flows, but through workflow and approval, you cannot then post to chatter. So if you want to post something on chatter, whenever record is created or updated so that you can do through process and flow builder. But you cannot do that through workflow and approvals then send emails. So you can send email alerts only. So we need to create email alerts separately if we want to send emails to specific users. So you can send email alerts only through process builder workflow and approvals, but through flow builder. You can send email alerts as well as you can create your own alerts inside flow as well. Right. So if you have not created any email alert, then also you can set up that email sending thing into flow builder. Right. So this flow builder has two things implemented. So you can use existing email errors as well as you can create your own as well. Then set, sorry, send outbound messages without code. So that feature is available with workflow and approvals. You cannot do that through process builder and flow builder. Now this is the last slide for comparison. So submit for approval. So you can do this with process builder flow builder, but you cannot do this with workflow and approvals. Then update fields. So through process builder, you can update the record which initiated the process or it's parent or child, like both the current record, then it's parent or it's child, everything you can update. Flow builder, you can update any record, the record which is initiating that flow, you can update that record, then you can query another records as well and then you can update them. So flow builder is free to update any particular record because here we can query the records as well. Then workflow, workflow can update the current record and it's parent and same with approvals. Then if you want to send custom notification, then you can do that through process builder and flow builder. You cannot do that through workflow and approvals. Then quick action, you can call through process and flow builder, but cannot through workflow and approvals. Then quick, you can do with process builder and flow builder, but cannot with workflow and approvals. So these are the differences between flow builder, process builder, workflow and approval. So I think process builder and flow builder provides more functionality as compared to workflow and approvals. But approvals has a specific role like if you want to submit any record for approval so that you can only do through approvals. But if you want to replace your workflow with process builder or flow builder, then you can do. So you need to choose process builder and flow builder wisely. So flow builder is more advanced that is free to do lots of things as compared to flow builder, process builder has certain limitations. So each entity or you can say each builder or flow or approvals has their own advantages or drawbacks. So you need to choose them wisely as per your requirements. So this is all about process builder, flow builder, workflow and approval. So I hope this video will help you to understand the differences between four process automation tools provided by the Salesforce. And if you want to watch their specific videos like various videos related to process builder, various videos related to flow builder workflow. So you can go to description of this video and then you will find links of various playlist. So follow them to learn these things in well arranged manner. Thank you for watching this video.