 Hello friends. I'm Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, I'm going to demonstrate how you can create tasks using workflow rules in Salesforce. If you want to watch more Salesforce training videos, you can search my name Sanjay Gupta on YouTube and you can follow my YouTube channel. So now I'm going to create a workflow rule which will tell you how you can create tasks using workflow rules. I'm opening workflow rule clicking on continue. Now from here I can create new rule. So I'm selecting contact object. Then rule name is create tasks for contacts. So I'm selecting evaluation criteria is created. So whenever contact record is created. So I want to create follow up tasks. So from here I'm selecting lead source equals and the value will be back. So if lead source is equals to that and we are going to create a contact, then this will be fired. So I'm now clicking on save and next. Now I have to add this workflow action. So I'm selecting new tasks. So from here I need to fill all these details. So that task is created. So object is contact. Now I need to select a particular user to which I want to assign this task. So I'm clicking on this lookup. And let's say I'm selecting the task as a user to which this task will be assigned here subject new task for web contact unique name, then due date. So due date. So you can select any particular field from here and you can plus or minus number of days. So let's say I'm adding 10 days status in progress or you can select not started or any other value. Let's say I'm selecting not started priority. You can set high normal. So I'm selecting normal. Then you can set the comments or test comments. Or we can say this content is created. So says right. So this is the comment. Now I'm clicking on save. So this way configured the task. Right. So whenever a contact will be created so the task will be created automatically and it will be assigned to the user that you selected while creating the task. Right. Now I'm clicking on done activating this. Now I'm going to open my university app so that we can create contact record. I'm on contact. I'm clicking on new first name, last name, task. Then lead source is web and I'm clicking on save. So record is created. You can see its details. So lead sources and right inside it right inside an activity. You can see new task is automatically created. So this is the label that we provided. New task or web content and its due date is 10 days. We created a rule trigger date and is 10 days. And this is a user who has an upcoming task. Right. And this is active. So if you want to open this, you can click. And the task will be open and all the details that we provided in the fields are available here. Right. So this way. You so how you saw how we created a task using perfume and it is created automatically. Right. So don't remember to add this activity delicately so that you can see your task. So for adding activities, you need to check a checkbox on your object settings so that it will be available and you can see all created tasks here in this. So I hope you understood how we can create new tasks and assign those tasks to particular users automatically whenever we create or add it a particular record on any object. Right. So I hope you understood whatever I demonstrated in this video. If you want to watch more Salesforce training videos, you can search my name Sanjay Gupta on YouTube and you can follow my YouTube channel. Thank you for watching this video.