 Hello, friends. I am Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. So in this video, I'm going to demonstrate how you can post to chatter through lightning screen view. Before starting, if you want to follow Salesforce training videos, you can search my name Sanjay Gupta on YouTube. And you can follow my YouTube channel. On my YouTube channel, you can find various playlists related to Salesforce and other programming languages. So now I'm going to demonstrate how you can post to chatter through screen view. So here you can see a basic screen flow is implemented. So it is for creating opportunity. So this first screen is having opportunity name and stays as two screen components. Then second screen will be having closed date. Then this create record element will be creating opportunity. So here I'm filling four fields through record ID, closed date, opportunity name and stage. So all these four fields will be filled. And this record ID variable, I just created to receive the account record ID so that I can associate this opportunity record with that account. Then after creation of opportunity, I'm going to store its ID into this variable OWP ID so that I can use this ID to post chatters. So I'm clicking on them. So I already demonstrated how we can implement these kinds of screen flows in my playlist. So you can watch those videos on my YouTube channel. So now I just I'm just going to add an action that will be related to post to chatter. So here, let's say label is chatter post, then I have to set the input values. So target ID is the opportunity ID on which I want to put this chatter. And here I need to create a message. So I'm creating new resource. I'm selecting text template. And here, let's say its API is chatter message and inside body from here, select plain text. And then input opportunity name and pick opportunity name screen component. Then next will be stage. You can pick stage screen component. And then third will be closed date. So you can also pick closed date from screen component. So all these three values will be automatically posted to post it to chatter just after creation of opportunity. So I clicked on done. Now this chatter message available here. We have other optional values as well. So right now these are not required. We just need the ID of the record on which we want to post the chatter. And this way I created the chatter message with the help of text template. Now I'm clicking on done. Connecting this. Clicking on save us so that new version will be created if you are creating it for the first time. So you just need to put the name of the flow and click on save. Then click on activate so that we can use it on lightning record page or protection or lightning component. So now I'm going to edit this page. So this is a counter called page. I'm just going to put this lightning. Sorry. I'm just going to put this flow on this account record page so that we can create opportunity. So on left hand side you can see this flow component is available. Just dragging and dropping it here. So here it is now from this list you can select the required flow. So I need to select create opportunity record. Then you've then if you scroll down you can see here optionally enter values for these flow variables. Only variables that allow input access are supported. So we have one variable for input. So here you can see I created this variable to receive account ID. So here it is and it is available for input. So here I need to select this checkbox so that record ID will be passed to this variable and the opportunity will be automatically associated with the account. Now I'm clicking on save, clicking on back. So you will see the account record will be having this flow to create opportunity records. So here it is now I am filling name as test opportunity and if I scroll it down you can see this record is having only one opportunity. So after executing this flow you will see second opportunity will be created automatically. So I'm clicking on next selecting a particular date and clicking on next. So this flow is completed and here you can see one opportunity is created. I'm opening it in new tab so that we can see whether chatter post is happened or not. So here you can see these are the details of the opportunity and if you click on this tab which is having chatter. So if you scroll it down so you will see opportunity name, stage and close date all three details are available here. So with the help of this action just post to chatter we are able to post masses on chatter through lightning screen flow. So I hope this video will be beneficial to learn how we can post to chatter through lightning screen flow. So if you want to watch more Salesforce training videos you can search my name Sunderbukta on YouTube and you can find various playlists related to Salesforce and other programming languages. So I hope you understood whatever I demonstrated in this video. Thank you for watching this video.