 Let's understand our first scenario that is related to screen flow. So I'm going to create the screen flow, which will be creating a related contact on account record. And I will be debugging the flow. So jumping to the flow builder. So I'm just going to delete these elements which are already available. So I'm going to create net new resources, elements, everything from the beginning, right? So let me just close this as well so that I can launch net new flow. So from here, you just search for flows. So this list will be available. You can just click on new flow. From this list, you will be selecting screen flow and then create. So first of all, I'm going to create a variable named as record ID because I will be creating a contact record and I need to link that contact record to particular account. So I need to have the account record ID. So I'm just going to create a resource as a variable. API name is record ID. You need to remember like in this record ID, I will be capital and everything will be in small then data type is text. And you need to enable this checkbox that is available for input and click on done. So this record ID variable is created here. Now I'm going to add a screen where I can receive some input from the user. So here you can see on the screen. I need to provide the label. So I'm providing the label as contact information. API name is populated automatically contact underscore information. This header and footer you can configure as per the requirement. So if you want to show header show help text so you can enable if you want to configure the footer. So these options are available. These are related to these buttons. If you want to hide particular button you can if you want to change the label of the button. So that is also possible. Right. So I'm not touching this part as of now. Now here I'm going to have some components. So I'm placing text as first component because I want to receive first name so that I can store it into contact record. So it's label is first name API is first underscore name. I'm making it required from here. If you want to set default value you can if you want to set the component visibility so you can set that as well. Right. So here you can provide the condition. So right now I'm not touching this part because I just need to show you like how you can create your complete screen flow. So I'm just dragging and dropping it here again. And this time it's label is last name. And it is also required. Right. So these two text components are available on the screen. And now I'm going to click on done. So this way this contact information will be received from the screen. Now after this screen I just need to have one more element that is related to data. So I'm selecting create records element or maybe create contact only. So here I need to create only one record so I'm selecting one. Then I will be providing the values from separate resources and literal values. So I'm selecting the second option from here I'm choosing the object as contact. Then field as first name. So this is the field that is available on contact object. And now here I need to search for the screen component that is also having API as first underscore name. Then I'm adding one more field. So this time I need to have last name. And here also I need to provide last name. Then if I want to relate this contact with the account. So I need to populate the account ID lookup with the account record ID. So I already created this variable in the beginning. So this record ID variable will be having the account ID that I am passing into this account ID lookup that is available on the contact object. If you want to make sure so what you can do. You can just go to object manager. And here you can search for contact object inside contact object in the fields and relationships, you will find this lookup to account. So if you populate this with account record ID so your contact will be automatically related to that account. So that is what we did here. Right. And after creation of this contact record if you want to show the record ID or if you want to store the record ID into a variable. So you can just enable this checkbox and you can store the newly created contact ID into variable. So I will be using this option later in another scenario. So I'm just clicking on done. So this way this flow is implemented. Now I'm just going to save it. So I'm labeling it as create related contact on account and clicking on save. Now, so the first part is completed like I just created the screen flow. Now second part is I just need to debug it so that I can verify whether account is having a related contact created or not. So I'm just clicking on debug. So here you can see I just need to pass a record ID. So I am moving here. Okay, I just need to open. Okay, it is already opened here. So here I'm going to open one account record and I'm selecting this one. And here you can see related contact is zero. So I am copying this record ID. And I'm pasting it here. So I'm just clicking on run. So you can see it is asking for first name and last name. So I'm providing my first name and last name and clicking on next. So now you can see this, this is the screen debug. So I provided first name as Sanjay last name as Gupta. So these are available in this screen component. Here this create record element work, which is having account ID, which I passed in the record ID variable. Then first name is equals to Sanjay last name is equals to Gupta and you can see in the result or record is ready to be created. When the next screen pause or local action is executed, or when the interview finishes. So this record is created. So this flow interview is finished and this ID is available. So through this ID, you can verify your record is created or not. Otherwise what you can do just go to your account record and do a refresh. And you will see your related record as contact. So you can see here, if you want to open this so you will be. Now you can copy this ID. This is for contact record and here you can see this contact record is having this account ID lookup is populated. If I go here and if I control F and paste so you can see it is matching. So this way I created a screen flow and I showed you how you can debug your screen flow so that you can verify whether it is working fine or not. So before activating your screen flow, you just first need to debug so that you make sure the flow which you implemented is working fine or not.