 Hello everyone, I'm Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, I'm going to demonstrate a scenario related to screen flow. Let's understand the scenario which I'm going to demonstrate in this video. So the requirement says we need to create a look of field and screen flow. Right. So I want to create a contact and that contact I want to create from home base and that should be through screen flow. And after creation of contact, I want to link that contact with particular account and that account I want to select through a lookup. So through this demonstration, you will learn how you can place a lookup field on screen so that you can pick a particular record and a newly created record will be linked to that record. So here I'm just clicking on new flow so that I can create a screen flow. If I click on create, then here I'm going to create a screen. So this screen will be receiving contact information. So first of all, text. So here label will be first name API name is first name, then one more text. It is for last name. I'm going to receive phone. So again, I'm having text. So this will be storing phone and one more time text. It will be storing the email. Now I'm going to select a lookup. So this lookup. So basically here you need to provide the API name. So let's say I'm providing API as ACC. Then field API name so field API like on object manager if you search for contact so contact is basically a child object for account. So on contact we already have lookup to account. So basically this account ID this API name you need to use in the flow so that that lookup will be available on the screen as well. So here. Label will be accounting because here you can see label is accounting so I'm using same and object API so object is account. So let's see the API name of the source object. So source object name is account so I am populating that. Okay, I think here we need to put contact. Yes. So here we need to put the context so the API name the name of the source object means the source object for which you are going to create a record. Okay, so object is contact. And on that contact we have a account ID field that we are going to use it and the selected accounts ID will be available in this ACC. Right, so I'm clicking on done. And now I'm going to use get record. Sorry, create record element so that we can create a contact. So I'm using this use separate resources and literal values. And here I'm going to select contact. Then first I'm going to map first name, then last name, then phone so phone I'm setting with home phone. So here you can see various phone fields are available so you can pick anyone home phone mobile phone other phone business phone so whatever you want. So if we selected home phone then for email this and we need to populate account ID that we selected so here I'm selecting ACC and then dot ID. So the selected account records ID will be stored in this account ID. Now I'm clicking on done clicking on save. So create contact through homepage, and I'm clicking on save. Now I'm going to activate it. So now I'm on sales applications homepage. So I'm going to edit this page so that I can place the created flow on the homepage, and so that we can test it. So I'm going to click and drag and drop it here. So from the available flows I need to select. So we need to select create contact through homepage, right, and I'm clicking on save. So changes are safe. So if you are placing this flow for the first time so it may ask for activation. So you can activate this space for the particular application you can make it default for that particular application, then go back. So you can see on homepage this flow is available which will be creating the contact. So first name I am writing as Sanjay Gupta, then I'm writing phone number so this is a dummy phone number. Then I'm writing the email ID. And here if I click so you can see the available account records are showing similar to a lookup. So you can just select particular account record and then click on next. So we selected account 101. So if I go to accounts and select account 101. So in the related list you will see a contact. So here it is. So with the help of lookup that that we are using on the screen, we can select a particular objects, records, and we can link the newly created record with those records that we are going to select. So this way I hope you understood like how we can use lookup field in the screen flow and how we can select values from that lookup that is looking up to particular object.