Under this topic we will see, how we can create variables and use them in lightning flows.
We will also see how to include our Lightning Flows inside records pages in Salesforce.
To incldue a flow on lightning record page of an object, we just have to edit the page with the help of lightning app builder and include flow in it.
We can pass the current record Id as parameter to Flow. We just have to create a variable in flow from resources section and make it available for input, then pass the value from record page itself.
If you want to look into detailed explaination with the help of example, Please check below video:
Let me know in the comments section of video, if you have any doubts related to this topic.