 Hello everyone. I'm Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. Let's understand the requirement that I'm going to demonstrate in this video. So I'm going to demo you how you can redirect to newly created record and screen flow. So one of my viewer asked me like he got a requirement and he want implementation for the same requirement. So as per the request, I'm creating this video. So first we need to create a contact through screen flow. So I will be creating a flow that will be creating a contact. Then flow should be able to redirect on newly created record and we need to place the flow on the homepage. So if I take you to the org, so here I'm going to search for the flow. So I already created a flow for another demonstration, which is already available on the homepage. So I'm going to search for it and I will be modifying this flow for you. So this is the screen flow, which is like here you can see receiving contact information and creating the contact record. So if I double click on it, so this is off type text. So text you can search here and click. It will be available. You can provide first name, sorry, label as first name and API will be available. Then similarly you can create a last name of type text fill the label API. Then phone is off type phone. Sorry, phone is also type of type text and label is phone API is phone. Email is also off type text. And here, label, email, email is available. Then this is account name. It is a lookup. So here you can search for lookup click on it. It will be available. And this way you can fill the details. API is ACG field API account ID, label account name, object API contact. So this account ID is the lookup field that is available on the contact object so that I'm using here. So basically we are creating a contact. So that is why that lookup will be available on the screen and we will be able to select an account. So this way this is a screen. Now here you can see create contact element is available. Here I selected one then you separate resources and literal values then object as contact. Then account ID I linked with ACC and dot record ID, which we created as a lookup on the screen. Then email, first name, home phone, last name are linked similarly. Now here I need to create one more variable where I will be storing the newly created contact ID. So I'm creating a variable then if a name is contact ID type is text and done. So this contact ID I will be using so that I can redirect to the newly created report. So just click on plus screen then here redirect to new record. So here I'm just searching for display text, click on it. So display text will be available here. So this will be the text and click here to open contact. So I'm selecting it and clicking on this. So it will be creating a link. So here I need to write slash then curly base exclamation. And here I'm writing the API name of the variable that I created, which will be storing the newly created contact ID, right? So before slash this URL like your org URL. So in my org, this is the domain. So tech Sanjay Gupta hyphen dash hyphen ed dot lightning dot force dot com. So it will be available automatically. And after that, this slash and that contact ID will pop. So I just need to place it again. So this way, this is a link which is created now and I'm clicking on done, clicking on save as save, activate, right? So this redirect to new record screen is available and it will work as well. So I'm moving here and doing a refresh. So from here, I'm going to create one contact. So I am entering dummy phone number. I'm entering, let's say my email ID Sanjay Gupta dot tech school entry gmail dot com. I'm selecting one account and clicking on next. So it is showing some error. So I think there should be an email. So whenever your flow fails, so you will receive an email. So that we can verify why that is failing. So here you can see our field custom validation exception alert, duplicate record found. Okay. So actually in my org, I have a duplicate rule. So I just need to modify that. So I created a contact duplicate rule. Okay, but it is deactivated. Let me see. Duplicate rule is already deactivated by it is failing. Okay, so maybe what I can do instead of providing that email ID, I'm going to provide another email ID so that we can just verify. So I'm providing test at the rate test.com and I'm clicking on next. So here you can see, you will find a link click here to open report. So if you click on this link, so your newly created record will be opened in the new tab. So you can see contact tab is opened and the newly created contact. John Davidson is available here if I go to details. So I will be able to view all the details. So just skip that error part because it was because of some duplicate rule. So in your case, it won't be breaking because you won't be having any duplicate rule implemented. So this is the way like in your flow, if you create this kind of screen, having this hyperlink along with this variable. So you will be able to redirect to the newly created record. So I hope this way, like if any of the project, if you find same requirements, so you will be able to resolve that now. Thank you.